diff options
author | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2021-04-15 13:10:33 +0300 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2021-06-10 17:08:18 +0300 |
commit | 4bf4abe19089245b7b12f35e5cafb5477b3e2c48 (patch) | |
tree | de247249bcf5d4e6008afdf632b0d0690df32f5b /arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi | |
parent | 9b8a9b389d8464e1ca5a4e92c6a4422844ad4ef3 (diff) | |
download | linux-4bf4abe19089245b7b12f35e5cafb5477b3e2c48.tar.xz |
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: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi b/arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi index b5601d270c8f..2d9461006810 100644 --- a/arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi +++ b/arch/arm/boot/dts/stm32mp157c-odyssey-som.dtsi @@ -173,8 +173,6 @@ vdd_usb: ldo4 { regulator-name = "vdd_usb"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; interrupts = <IT_CURLIM_LDO4 0>; }; @@ -197,7 +195,6 @@ vref_ddr: vref_ddr { regulator-name = "vref_ddr"; regulator-always-on; - regulator-over-current-protection; }; bst_out: boost { @@ -213,7 +210,7 @@ vbus_sw: pwr_sw2 { regulator-name = "vbus_sw"; interrupts = <IT_OCP_SWOUT 0>; - regulator-active-discharge; + regulator-active-discharge = <1>; }; }; |