Re: [PATCH 1/2] ARM: dts: imx7d-remarkable2: Remove unnecessary #address-cells/#size-cells

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 29 Mar 2023, at 4:51 AM, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@xxxxxxx>
> 
> 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@xxxxxxx>

Reviewed-by: Alistair Francis <alistair@xxxxxxxxxxxxx>

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
> 
> 



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux