linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: stm32: Do clean up in stmpic nodes
@ 2020-02-28 12:52 Benjamin Gaignard
  2020-02-28 12:52 ` [PATCH] ARM: dts: stm32: Rename stmfx node names Benjamin Gaignard
  2020-03-13 13:13 ` [PATCH] ARM: dts: stm32: Do clean up in stmpic nodes Alexandre Torgue
  0 siblings, 2 replies; 4+ messages in thread
From: Benjamin Gaignard @ 2020-02-28 12:52 UTC (permalink / raw)
  To: mcoquelin.stm32, alexandre.torgue, robh+dt
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Benjamin Gaignard

Remove unused properties from stpmic node.
The issues have been detected by running dtbs_check.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 arch/arm/boot/dts/stm32mp157a-avenger96.dts | 8 --------
 arch/arm/boot/dts/stm32mp157c-ed1.dts       | 3 ---
 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi      | 3 ---
 3 files changed, 14 deletions(-)

diff --git a/arch/arm/boot/dts/stm32mp157a-avenger96.dts b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
index cbfa4075907e..1583be1966eb 100644
--- a/arch/arm/boot/dts/stm32mp157a-avenger96.dts
+++ b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
@@ -135,10 +135,6 @@
 		#interrupt-cells = <2>;
 		status = "okay";
 
-		st,main-control-register = <0x04>;
-		st,vin-control-register = <0xc0>;
-		st,usb-control-register = <0x30>;
-
 		regulators {
 			compatible = "st,stpmic1-regulators";
 
@@ -173,7 +169,6 @@
 				regulator-min-microvolt = <3300000>;
 				regulator-max-microvolt = <3300000>;
 				regulator-always-on;
-				st,mask_reset;
 				regulator-initial-mode = <0>;
 				regulator-over-current-protection;
 			};
@@ -213,8 +208,6 @@
 
 			vdd_usb: ldo4 {
 				regulator-name = "vdd_usb";
-				regulator-min-microvolt = <3300000>;
-				regulator-max-microvolt = <3300000>;
 				interrupts = <IT_CURLIM_LDO4 0>;
 				interrupt-parent = <&pmic>;
 			};
@@ -240,7 +233,6 @@
 			vref_ddr: vref_ddr {
 				regulator-name = "vref_ddr";
 				regulator-always-on;
-				regulator-over-current-protection;
 			};
 
 			bst_out: boost {
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 1fc43251d697..0c304a024e51 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -218,8 +218,6 @@
 
 			vdd_usb: ldo4 {
 				regulator-name = "vdd_usb";
-				regulator-min-microvolt = <3300000>;
-				regulator-max-microvolt = <3300000>;
 				interrupts = <IT_CURLIM_LDO4 0>;
 			};
 
@@ -241,7 +239,6 @@
 			vref_ddr: vref_ddr {
 				regulator-name = "vref_ddr";
 				regulator-always-on;
-				regulator-over-current-protection;
 			};
 
 			bst_out: boost {
diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
index f6672e87aef3..e50ae7faa0ec 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
@@ -304,8 +304,6 @@
 
 			vdd_usb: ldo4 {
 				regulator-name = "vdd_usb";
-				regulator-min-microvolt = <3300000>;
-				regulator-max-microvolt = <3300000>;
 				interrupts = <IT_CURLIM_LDO4 0>;
 			};
 
@@ -328,7 +326,6 @@
 			vref_ddr: vref_ddr {
 				regulator-name = "vref_ddr";
 				regulator-always-on;
-				regulator-over-current-protection;
 			};
 
 			 bst_out: boost {
-- 
2.15.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ARM: dts: stm32: Rename stmfx node names
  2020-02-28 12:52 [PATCH] ARM: dts: stm32: Do clean up in stmpic nodes Benjamin Gaignard
@ 2020-02-28 12:52 ` Benjamin Gaignard
  2020-03-13 13:14   ` Alexandre Torgue
  2020-03-13 13:13 ` [PATCH] ARM: dts: stm32: Do clean up in stmpic nodes Alexandre Torgue
  1 sibling, 1 reply; 4+ messages in thread
From: Benjamin Gaignard @ 2020-02-28 12:52 UTC (permalink / raw)
  To: mcoquelin.stm32, alexandre.torgue, robh+dt
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel,
	Benjamin Gaignard

Rename stmfx node names according to yaml description.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 arch/arm/boot/dts/stm32746g-eval.dts  | 2 +-
 arch/arm/boot/dts/stm32mp157c-ev1.dts | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
index fcc804e3c158..4ea3f98dd275 100644
--- a/arch/arm/boot/dts/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/stm32746g-eval.dts
@@ -165,7 +165,7 @@
 		interrupts = <8 IRQ_TYPE_EDGE_RISING>;
 		interrupt-parent = <&gpioi>;
 
-		stmfx_pinctrl: stmfx-pin-controller {
+		stmfx_pinctrl: pinctrl {
 			compatible = "st,stmfx-0300-pinctrl";
 			gpio-controller;
 			#gpio-cells = <2>;
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
index 228e35e16884..3f4668a43afe 100644
--- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
@@ -210,7 +210,7 @@
 		interrupt-parent = <&gpioi>;
 		vdd-supply = <&v3v3>;
 
-		stmfx_pinctrl: stmfx-pin-controller {
+		stmfx_pinctrl: pinctrl {
 			compatible = "st,stmfx-0300-pinctrl";
 			gpio-controller;
 			#gpio-cells = <2>;
@@ -218,7 +218,7 @@
 			#interrupt-cells = <2>;
 			gpio-ranges = <&stmfx_pinctrl 0 0 24>;
 
-			joystick_pins: joystick {
+			joystick_pins: joystick-pins {
 				pins = "gpio0", "gpio1", "gpio2", "gpio3", "gpio4";
 				bias-pull-down;
 			};
-- 
2.15.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: stm32: Do clean up in stmpic nodes
  2020-02-28 12:52 [PATCH] ARM: dts: stm32: Do clean up in stmpic nodes Benjamin Gaignard
  2020-02-28 12:52 ` [PATCH] ARM: dts: stm32: Rename stmfx node names Benjamin Gaignard
@ 2020-03-13 13:13 ` Alexandre Torgue
  1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2020-03-13 13:13 UTC (permalink / raw)
  To: Benjamin Gaignard, mcoquelin.stm32, robh+dt
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel

Hi Benjamin

On 2/28/20 1:52 PM, Benjamin Gaignard wrote:
> Remove unused properties from stpmic node.
> The issues have been detected by running dtbs_check.
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>

Applied on stm32-next with commit title updated.

Thanks.
Alex


> ---
>   arch/arm/boot/dts/stm32mp157a-avenger96.dts | 8 --------
>   arch/arm/boot/dts/stm32mp157c-ed1.dts       | 3 ---
>   arch/arm/boot/dts/stm32mp15xx-dkx.dtsi      | 3 ---
>   3 files changed, 14 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/stm32mp157a-avenger96.dts b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
> index cbfa4075907e..1583be1966eb 100644
> --- a/arch/arm/boot/dts/stm32mp157a-avenger96.dts
> +++ b/arch/arm/boot/dts/stm32mp157a-avenger96.dts
> @@ -135,10 +135,6 @@
>   		#interrupt-cells = <2>;
>   		status = "okay";
>   
> -		st,main-control-register = <0x04>;
> -		st,vin-control-register = <0xc0>;
> -		st,usb-control-register = <0x30>;
> -
>   		regulators {
>   			compatible = "st,stpmic1-regulators";
>   
> @@ -173,7 +169,6 @@
>   				regulator-min-microvolt = <3300000>;
>   				regulator-max-microvolt = <3300000>;
>   				regulator-always-on;
> -				st,mask_reset;
>   				regulator-initial-mode = <0>;
>   				regulator-over-current-protection;
>   			};
> @@ -213,8 +208,6 @@
>   
>   			vdd_usb: ldo4 {
>   				regulator-name = "vdd_usb";
> -				regulator-min-microvolt = <3300000>;
> -				regulator-max-microvolt = <3300000>;
>   				interrupts = <IT_CURLIM_LDO4 0>;
>   				interrupt-parent = <&pmic>;
>   			};
> @@ -240,7 +233,6 @@
>   			vref_ddr: vref_ddr {
>   				regulator-name = "vref_ddr";
>   				regulator-always-on;
> -				regulator-over-current-protection;
>   			};
>   
>   			bst_out: boost {
> diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
> index 1fc43251d697..0c304a024e51 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
> @@ -218,8 +218,6 @@
>   
>   			vdd_usb: ldo4 {
>   				regulator-name = "vdd_usb";
> -				regulator-min-microvolt = <3300000>;
> -				regulator-max-microvolt = <3300000>;
>   				interrupts = <IT_CURLIM_LDO4 0>;
>   			};
>   
> @@ -241,7 +239,6 @@
>   			vref_ddr: vref_ddr {
>   				regulator-name = "vref_ddr";
>   				regulator-always-on;
> -				regulator-over-current-protection;
>   			};
>   
>   			bst_out: boost {
> diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
> index f6672e87aef3..e50ae7faa0ec 100644
> --- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
> @@ -304,8 +304,6 @@
>   
>   			vdd_usb: ldo4 {
>   				regulator-name = "vdd_usb";
> -				regulator-min-microvolt = <3300000>;
> -				regulator-max-microvolt = <3300000>;
>   				interrupts = <IT_CURLIM_LDO4 0>;
>   			};
>   
> @@ -328,7 +326,6 @@
>   			vref_ddr: vref_ddr {
>   				regulator-name = "vref_ddr";
>   				regulator-always-on;
> -				regulator-over-current-protection;
>   			};
>   
>   			 bst_out: boost {
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: stm32: Rename stmfx node names
  2020-02-28 12:52 ` [PATCH] ARM: dts: stm32: Rename stmfx node names Benjamin Gaignard
@ 2020-03-13 13:14   ` Alexandre Torgue
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2020-03-13 13:14 UTC (permalink / raw)
  To: Benjamin Gaignard, mcoquelin.stm32, robh+dt
  Cc: linux-stm32, linux-arm-kernel, devicetree, linux-kernel

Hi Benjamin

On 2/28/20 1:52 PM, Benjamin Gaignard wrote:
> Rename stmfx node names according to yaml description.
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
> ---

Applied on stm32-next with commit title updated.

Thanks.
Alex

>   arch/arm/boot/dts/stm32746g-eval.dts  | 2 +-
>   arch/arm/boot/dts/stm32mp157c-ev1.dts | 4 ++--
>   2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
> index fcc804e3c158..4ea3f98dd275 100644
> --- a/arch/arm/boot/dts/stm32746g-eval.dts
> +++ b/arch/arm/boot/dts/stm32746g-eval.dts
> @@ -165,7 +165,7 @@
>   		interrupts = <8 IRQ_TYPE_EDGE_RISING>;
>   		interrupt-parent = <&gpioi>;
>   
> -		stmfx_pinctrl: stmfx-pin-controller {
> +		stmfx_pinctrl: pinctrl {
>   			compatible = "st,stmfx-0300-pinctrl";
>   			gpio-controller;
>   			#gpio-cells = <2>;
> diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> index 228e35e16884..3f4668a43afe 100644
> --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts
> +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts
> @@ -210,7 +210,7 @@
>   		interrupt-parent = <&gpioi>;
>   		vdd-supply = <&v3v3>;
>   
> -		stmfx_pinctrl: stmfx-pin-controller {
> +		stmfx_pinctrl: pinctrl {
>   			compatible = "st,stmfx-0300-pinctrl";
>   			gpio-controller;
>   			#gpio-cells = <2>;
> @@ -218,7 +218,7 @@
>   			#interrupt-cells = <2>;
>   			gpio-ranges = <&stmfx_pinctrl 0 0 24>;
>   
> -			joystick_pins: joystick {
> +			joystick_pins: joystick-pins {
>   				pins = "gpio0", "gpio1", "gpio2", "gpio3", "gpio4";
>   				bias-pull-down;
>   			};
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-13 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-28 12:52 [PATCH] ARM: dts: stm32: Do clean up in stmpic nodes Benjamin Gaignard
2020-02-28 12:52 ` [PATCH] ARM: dts: stm32: Rename stmfx node names Benjamin Gaignard
2020-03-13 13:14   ` Alexandre Torgue
2020-03-13 13:13 ` [PATCH] ARM: dts: stm32: Do clean up in stmpic nodes Alexandre Torgue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).