Re: [PATCH] arm64: dts: google: lga: fixup #size-cells DT warning

From: Doug Anderson

Date: Tue Sep 29 2026 - 11:50:15 EST


Hi,

On Tue, Sep 29, 2026 at 4:11 AM Peter Griffin <peter.griffin@xxxxxxxxxx> wrote:
>
> Fix newly introduced DT warnings:
> Warning (avoid_unnecessary_addr_size): /soc@0/interrupt-controller@5880000:
> unnecessary #address-cells/#size-cells without "ranges", "dma-ranges" or
> child "reg" or "ranges" property
>
> Fixes: 80f23487d554c7 ("arm64: dts: google: Add initial dts for frankel/blazer/mustang")

Is the above git hash correct? In linuxnext, I see:

54edd8698bb1 arm64: dts: google: Add initial dts for frankel/blazer/mustang

Other than that, this looks fine to me.

Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>

> Signed-off-by: Peter Griffin <peter.griffin@xxxxxxxxxx>
> ---
> arch/arm64/boot/dts/google/lga.dtsi | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/google/lga.dtsi b/arch/arm64/boot/dts/google/lga.dtsi
> index 26a14b3a1b190a..919ee6619d9ee8 100644
> --- a/arch/arm64/boot/dts/google/lga.dtsi
> +++ b/arch/arm64/boot/dts/google/lga.dtsi
> @@ -370,8 +370,7 @@ gic: interrupt-controller@5880000 {
> reg = <0x0 0x05880000 0x0 0x10000>,
> <0x0 0x05900000 0x0 0x200000>;
>
> - #address-cells = <2>;
> - #size-cells = <2>;
> + #address-cells = <0>;
>
> #interrupt-cells = <4>;
> interrupt-controller;

nit: Leaving "#address-cells = <0>;" alone in a section, with blank
lines before and after, looks a little weird, but it's not a major
issue...

-Doug