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

ARM: dts: ls1021a: remove regulators simple-bus

There is no regulator bus in hardware. So move the regulator nodes out
and remove the regulators simple-bus. This also make the dts align with
the simple-bus schema.

Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Li Yang and committed by
Shawn Guo
86110832 61761d3e

+12 -26
+6 -13
arch/arm/boot/dts/ls1021a-qds.dts
··· 25 25 clock-frequency = <24576000>; 26 26 }; 27 27 28 - regulators { 29 - compatible = "simple-bus"; 30 - #address-cells = <1>; 31 - #size-cells = <0>; 32 - 33 - reg_3p3v: regulator@0 { 34 - compatible = "regulator-fixed"; 35 - reg = <0>; 36 - regulator-name = "3P3V"; 37 - regulator-min-microvolt = <3300000>; 38 - regulator-max-microvolt = <3300000>; 39 - regulator-always-on; 40 - }; 28 + reg_3p3v: regulator { 29 + compatible = "regulator-fixed"; 30 + regulator-name = "3P3V"; 31 + regulator-min-microvolt = <3300000>; 32 + regulator-max-microvolt = <3300000>; 33 + regulator-always-on; 41 34 }; 42 35 43 36 sound {
+6 -13
arch/arm/boot/dts/ls1021a-twr.dts
··· 23 23 clock-frequency = <24576000>; 24 24 }; 25 25 26 - regulators { 27 - compatible = "simple-bus"; 28 - #address-cells = <1>; 29 - #size-cells = <0>; 30 - 31 - reg_3p3v: regulator@0 { 32 - compatible = "regulator-fixed"; 33 - reg = <0>; 34 - regulator-name = "3P3V"; 35 - regulator-min-microvolt = <3300000>; 36 - regulator-max-microvolt = <3300000>; 37 - regulator-always-on; 38 - }; 26 + reg_3p3v: regulator { 27 + compatible = "regulator-fixed"; 28 + regulator-name = "3P3V"; 29 + regulator-min-microvolt = <3300000>; 30 + regulator-max-microvolt = <3300000>; 31 + regulator-always-on; 39 32 }; 40 33 41 34 sound {