Commit 4bf4abe1 authored by Alexandre Torgue's avatar Alexandre Torgue
Browse files

ARM: dts: stm32: fix stpmic node for stm32mp1 boards



On some STM32 MP15 boards, stpmic node is not correct which generates
warnings running "make dtbs_check W=1" command. Issues are:

-"regulator-active-discharge" is not a boolean but an uint32.
-"regulator-over-current-protection" is not a valid entry for vref_ddr.
-LDO4 has a fixed voltage (3v3) so min/max entries are not allowed.

Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@foss.st.com>
parent 9b8a9b38
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -184,8 +184,6 @@ vtt_ddr: ldo3 {

			vdd_usb: ldo4 {
				regulator-name = "vdd_usb";
				regulator-min-microvolt = <3300000>;
				regulator-max-microvolt = <3300000>;
				interrupts = <IT_CURLIM_LDO4 0>;
			};

@@ -208,7 +206,6 @@ v1v8: ldo6 {
			vref_ddr: vref_ddr {
				regulator-name = "vref_ddr";
				regulator-always-on;
				regulator-over-current-protection;
			};

			bst_out: boost {
@@ -219,13 +216,13 @@ bst_out: boost {
			vbus_otg: pwr_sw1 {
				regulator-name = "vbus_otg";
				interrupts = <IT_OCP_OTG 0>;
				regulator-active-discharge;
				regulator-active-discharge = <1>;
			};

			vbus_sw: pwr_sw2 {
				regulator-name = "vbus_sw";
				interrupts = <IT_OCP_SWOUT 0>;
				regulator-active-discharge;
				regulator-active-discharge = <1>;
			};
		};

+1 −4
Original line number Diff line number Diff line
@@ -173,8 +173,6 @@ vtt_ddr: ldo3 {

			vdd_usb: ldo4 {
				regulator-name = "vdd_usb";
				regulator-min-microvolt = <3300000>;
				regulator-max-microvolt = <3300000>;
				interrupts = <IT_CURLIM_LDO4 0>;
			};

@@ -197,7 +195,6 @@ v1v2_hdmi: ldo6 {
			vref_ddr: vref_ddr {
				regulator-name = "vref_ddr";
				regulator-always-on;
				regulator-over-current-protection;
			};

			 bst_out: boost {
@@ -213,7 +210,7 @@ vbus_otg: pwr_sw1 {
			 vbus_sw: pwr_sw2 {
				regulator-name = "vbus_sw";
				interrupts = <IT_OCP_SWOUT 0>;
				regulator-active-discharge;
				regulator-active-discharge = <1>;
			 };
		};

+1 −4
Original line number Diff line number Diff line
@@ -333,8 +333,6 @@ vtt_ddr: ldo3 {

			vdd_usb: ldo4 {
				regulator-name = "vdd_usb";
				regulator-min-microvolt = <3300000>;
				regulator-max-microvolt = <3300000>;
				interrupts = <IT_CURLIM_LDO4 0>;
			};

@@ -356,7 +354,6 @@ v1v8: ldo6 {
			vref_ddr: vref_ddr {
				regulator-name = "vref_ddr";
				regulator-always-on;
				regulator-over-current-protection;
			};

			bst_out: boost {
@@ -372,7 +369,7 @@ vbus_otg: pwr_sw1 {
			vbus_sw: pwr_sw2 {
				regulator-name = "vbus_sw";
				interrupts = <IT_OCP_SWOUT 0>;
				regulator-active-discharge;
				regulator-active-discharge = <1>;
			};
		};

+2 −5
Original line number Diff line number Diff line
@@ -146,8 +146,6 @@ vtt_ddr: ldo3 {

			vdd_usb: ldo4 {
				regulator-name = "vdd_usb";
				regulator-min-microvolt = <3300000>;
				regulator-max-microvolt = <3300000>;
				interrupts = <IT_CURLIM_LDO4 0>;
			};

@@ -171,7 +169,6 @@ v1v2_hdmi: ldo6 {
			vref_ddr: vref_ddr {
				regulator-name = "vref_ddr";
				regulator-always-on;
				regulator-over-current-protection;
			};

			bst_out: boost {
@@ -182,13 +179,13 @@ bst_out: boost {
			vbus_otg: pwr_sw1 {
				regulator-name = "vbus_otg";
				interrupts = <IT_OCP_OTG 0>;
				regulator-active-discharge;
				regulator-active-discharge = <1>;
			};

			vbus_sw: pwr_sw2 {
				regulator-name = "vbus_sw";
				interrupts = <IT_OCP_SWOUT 0>;
				regulator-active-discharge;
				regulator-active-discharge = <1>;
			};
		};