diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-12-04 10:20:16 -0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2017-12-26 16:15:44 +0800 |
commit | ed0af4e522fc5e38f83ee57fd71df68704258b5f (patch) | |
tree | 723fa1443f1f6104d1b4e1a3cad33cdf3452a594 /arch/arm/boot/dts/imx6ul-14x14-evk.dts | |
parent | d03cd580a3e97c072c5a2fec479ea9062e178e4b (diff) | |
download | blackbird-op-linux-ed0af4e522fc5e38f83ee57fd71df68704258b5f.tar.gz blackbird-op-linux-ed0af4e522fc5e38f83ee57fd71df68704258b5f.zip |
ARM: dts: imx6ul-14x14-evk: Move regulators out of simple-bus
It is not recommended to place regulator nodes inside simple-bus, so
move them out in order to fix the following build warnings with W=1:
arch/arm/boot/dts/imx6ul-14x14-evk.dtb: Warning (simple_bus_reg): Node /regulators/sd1_regulator missing or empty reg/ranges property
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-14x14-evk.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6ul-14x14-evk.dts | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-evk.dts index e5d3ef88be60..18fdb088ba1e 100644 --- a/arch/arm/boot/dts/imx6ul-14x14-evk.dts +++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dts @@ -30,19 +30,14 @@ status = "okay"; }; - regulators { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; - reg_sd1_vmmc: sd1_regulator { - compatible = "regulator-fixed"; - regulator-name = "VSD_3V3"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; + reg_sd1_vmmc: regulator-sd1-vmmc { + compatible = "regulator-fixed"; + regulator-name = "VSD_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio1 9 GPIO_ACTIVE_HIGH>; + enable-active-high; }; sound { |