arm: dts: imx8qxp: fix build warining
Subsystems (2)
PATCH 1/1 arm: dts: imx8qxp: fix build warining
Fix below build warning.
arch/arm/dts/fsl-imx8qxp-mek.dtb: Warning (avoid_unnecessary_addr_size):
/regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/dts/fsl-imx8qxp-mek.dts | 2 -- 1 file changed, 2 deletions(-)
arch/arm/dts/fsl-imx8qxp-mek.dts +0 -2
@@ -18,8 +18,6 @@ regulators { compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>; reg_usdhc2_vmmc: usdhc2-vmmc { compatible = "regulator-fixed";
Signature · 1 line
2.14.1
Fabio Estevam
reviewerPATCH 1/1 arm: dts: imx8qxp: fix build warining
Hi Peng,
Quoted 17 lines · Peng Fan
Fix below build warning.
arch/arm/dts/fsl-imx8qxp-mek.dtb: Warning (avoid_unnecessary_addr_size):
/regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" propertySigned-off-by Peng Fan <[email protected]>--- arch/arm/dts/fsl-imx8qxp-mek.dts | 2 -- 1 file changed, 2 deletions(-)arch/arm/dts/fsl-imx8qxp-mek.dts +0
-0
arch/arm/dts/fsl-imx8qxp-mek.dts line 22
Quoted 5 lines
arch/arm/dts/fsl-imx8qxp-mek.dts +0
-2@@ -18,8 +18,6 @@ regulators { compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>;
The correct fix would be to move the regulators outside simple-bus.
I will send a follow up patch.
PATCH 1/1 arm: dts: imx8qxp: fix build warining
Quoted 31 lines
-----Original Message-----
From: Fabio Estevam [mailto:festevam at gmail.com]
Sent: 2018年10月26日 8:41
To: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>; U-Boot-Denx <[email protected]>
Subject: Re: [U-Boot] [PATCH] arm: dts: imx8qxp: fix build wariningHi Peng,
Quoted 7 lines · Peng Fan
Fix below build warning.
arch/arm/dts/fsl-imx8qxp-mek.dtb: Warning (avoid_unnecessary_addr_size):
/regulators: unnecessary #address-cells/#size-cells without "ranges" or child "reg" propertyReview
Quoted 6 lines
Signed-off-by Peng Fan <[email protected]>--- arch/arm/dts/fsl-imx8qxp-mek.dts | 2 -- 1 file changed, 2 deletions(-)(quoted diff) +0
-0
b/arch/arm/dts/fsl-imx8qxp-mek.dtsQuoted 5 lines
index
09ea3b4a3a..c14e1845a1100644arch/arm/dts/fsl-imx8qxp-mek.dts +0
-0@@ -18,8 +18,6 @@
Quoted 8 lines
arch/arm/dts/fsl-imx8qxp-mek.dts line 22
Quoted 4 lines
arch/arm/dts/fsl-imx8qxp-mek.dts +0
-2regulators { compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <0>;The correct fix would be to move the regulators outside simple-bus.
I will send a follow up patch.
Thanks, please go ahead submit a patch fix.
Thanks,
Peng.