Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'stm32-dt-for-v5.10-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32 into arm/fixes

STM32 DT fixes for v5.10, round 1

Highlights:
-----------

-On STM32MP157 DK & ED boards: Add Vin supply description to avoid
random kernel crash due to vref_ddr regulator issue.

* tag 'stm32-dt-for-v5.10-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32:
ARM: dts: stm32: Describe Vin power supply on stm32mp157c-edx board
ARM: dts: stm32: Describe Vin power supply on stm32mp15xx-dkx board

Link: https://lore.kernel.org/r/4ac236b3-b980-f653-f644-53e586570724@st.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+32
+15
arch/arm/boot/dts/stm32mp157c-ed1.dts
··· 89 89 states = <1800000 0x1>, 90 90 <2900000 0x0>; 91 91 }; 92 + 93 + vin: vin { 94 + compatible = "regulator-fixed"; 95 + regulator-name = "vin"; 96 + regulator-min-microvolt = <5000000>; 97 + regulator-max-microvolt = <5000000>; 98 + regulator-always-on; 99 + }; 92 100 }; 93 101 94 102 &adc { ··· 158 150 159 151 regulators { 160 152 compatible = "st,stpmic1-regulators"; 153 + buck1-supply = <&vin>; 154 + buck2-supply = <&vin>; 155 + buck3-supply = <&vin>; 156 + buck4-supply = <&vin>; 161 157 ldo1-supply = <&v3v3>; 162 158 ldo2-supply = <&v3v3>; 163 159 ldo3-supply = <&vdd_ddr>; 160 + ldo4-supply = <&vin>; 164 161 ldo5-supply = <&v3v3>; 165 162 ldo6-supply = <&v3v3>; 163 + vref_ddr-supply = <&vin>; 164 + boost-supply = <&vin>; 166 165 pwr_sw1-supply = <&bst_out>; 167 166 pwr_sw2-supply = <&bst_out>; 168 167
+17
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
··· 80 80 dais = <&sai2a_port &sai2b_port &i2s2_port>; 81 81 status = "okay"; 82 82 }; 83 + 84 + vin: vin { 85 + compatible = "regulator-fixed"; 86 + regulator-name = "vin"; 87 + regulator-min-microvolt = <5000000>; 88 + regulator-max-microvolt = <5000000>; 89 + regulator-always-on; 90 + }; 83 91 }; 84 92 85 93 &adc { ··· 248 240 249 241 regulators { 250 242 compatible = "st,stpmic1-regulators"; 243 + buck1-supply = <&vin>; 244 + buck2-supply = <&vin>; 245 + buck3-supply = <&vin>; 246 + buck4-supply = <&vin>; 251 247 ldo1-supply = <&v3v3>; 248 + ldo2-supply = <&vin>; 252 249 ldo3-supply = <&vdd_ddr>; 250 + ldo4-supply = <&vin>; 251 + ldo5-supply = <&vin>; 253 252 ldo6-supply = <&v3v3>; 253 + vref_ddr-supply = <&vin>; 254 + boost-supply = <&vin>; 254 255 pwr_sw1-supply = <&bst_out>; 255 256 pwr_sw2-supply = <&bst_out>; 256 257