Message ID | 20230328185147.529718-1-festevam@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] ARM: dts: imx7d-remarkable2: Remove unnecessary #address-cells/#size-cells | expand |
On Wed, 29 Mar 2023, at 4:51 AM, Fabio Estevam wrote: > From: Fabio Estevam <festevam@denx.de> > > Building with W=1 leads to the following dtc warning: > > arch/arm/boot/dts/imx7d-remarkable2.dts:319.19-335.4: Warning (avoid_unnecessary_addr_size): /soc/bus@30800000/i2c@30a50000/pmic@62: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property > > Remove unnecessary #address-cells/#size-cells to fix it. > > Fixes: 9076cbaa7757 ("ARM: dts: imx7d-remarkable2: Enable silergy,sy7636a") > Signed-off-by: Fabio Estevam <festevam@denx.de> Reviewed-by: Alistair Francis <alistair@alistair23.me> Alistair > --- > arch/arm/boot/dts/imx7d-remarkable2.dts | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts > index dc954e4f63e0..92cb45dacda6 100644 > --- a/arch/arm/boot/dts/imx7d-remarkable2.dts > +++ b/arch/arm/boot/dts/imx7d-remarkable2.dts > @@ -321,8 +321,6 @@ sy7636a: pmic@62 { > reg = <0x62>; > pinctrl-names = "default"; > pinctrl-0 = <&pinctrl_epdpmic>; > - #address-cells = <1>; > - #size-cells = <0>; > #thermal-sensor-cells = <0>; > epd-pwr-good-gpios = <&gpio6 21 GPIO_ACTIVE_HIGH>; > > -- > 2.34.1 > >
On Tue, Mar 28, 2023 at 03:51:46PM -0300, Fabio Estevam wrote: > From: Fabio Estevam <festevam@denx.de> > > Building with W=1 leads to the following dtc warning: > > arch/arm/boot/dts/imx7d-remarkable2.dts:319.19-335.4: Warning (avoid_unnecessary_addr_size): /soc/bus@30800000/i2c@30a50000/pmic@62: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property > > Remove unnecessary #address-cells/#size-cells to fix it. > > Fixes: 9076cbaa7757 ("ARM: dts: imx7d-remarkable2: Enable silergy,sy7636a") > Signed-off-by: Fabio Estevam <festevam@denx.de> Applied both, thanks!
diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index dc954e4f63e0..92cb45dacda6 100644 --- a/arch/arm/boot/dts/imx7d-remarkable2.dts +++ b/arch/arm/boot/dts/imx7d-remarkable2.dts @@ -321,8 +321,6 @@ sy7636a: pmic@62 { reg = <0x62>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_epdpmic>; - #address-cells = <1>; - #size-cells = <0>; #thermal-sensor-cells = <0>; epd-pwr-good-gpios = <&gpio6 21 GPIO_ACTIVE_HIGH>;