]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: fsl-imx8qxp-mek: Move regulator outside "simple-bus"
authorFabio Estevam <festevam@gmail.com>
Fri, 26 Oct 2018 00:49:31 +0000 (21:49 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 6 Nov 2018 10:25:55 +0000 (11:25 +0100)
Commit 3c28576bb0f0 ("arm: dts: imx8qxp: fix build warining")
fixed the dts warning by removing the unnecessary
#address-cells/#size-cells, but the recommendation for regulators is not
to place them under "simple-bus", so move the reg_usdhc2_vmmc regulator
accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
arch/arm/dts/fsl-imx8qxp-mek.dts

index c14e1845a1d3bd7fe272c06bd7057c31bbaf8603..adab494cdfa4d0a7d19fc3db8095f09dcefb1019 100644 (file)
                stdout-path = &lpuart0;
        };
 
-       regulators {
-               compatible = "simple-bus";
-
-               reg_usdhc2_vmmc: usdhc2-vmmc {
-                       compatible = "regulator-fixed";
-                       regulator-name = "SD1_SPWR";
-                       regulator-min-microvolt = <3000000>;
-                       regulator-max-microvolt = <3000000>;
-                       gpio = <&gpio4 19 GPIO_ACTIVE_HIGH>;
-                       off-on-delay = <3480>;
-                       enable-active-high;
-               };
+       reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
+               compatible = "regulator-fixed";
+               regulator-name = "SD1_SPWR";
+               regulator-min-microvolt = <3000000>;
+               regulator-max-microvolt = <3000000>;
+               gpio = <&gpio4 19 GPIO_ACTIVE_HIGH>;
+               off-on-delay = <3480>;
+               enable-active-high;
        };
 };