* [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
@ 2026-03-03 10:20 Herve Codina (Schneider Electric)
2026-03-10 22:06 ` Wolfram Sang
2026-03-11 8:32 ` Wolfram Sang
0 siblings, 2 replies; 10+ messages in thread
From: Herve Codina (Schneider Electric) @ 2026-03-03 10:20 UTC (permalink / raw)
To: Wolfram Sang, Geert Uytterhoeven, Magnus Damm, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-renesas-soc, devicetree, linux-kernel, Pascal Eberhard,
Miquel Raynal, Thomas Petazzoni,
Herve Codina (Schneider Electric)
When checking dts involving the r9a06g032.dtsi file, the following kind
of warnings are reported:
Missing property '#address-cells' in node xxx, using 0 as fallback
Indeed, #address-cells is not present in the GIC interrupt controller
node.
Fix it adding the missing property.
No functional change.
Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
---
arch/arm/boot/dts/renesas/r9a06g032.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/renesas/r9a06g032.dtsi b/arch/arm/boot/dts/renesas/r9a06g032.dtsi
index f4f760aff28b..6acf524174c7 100644
--- a/arch/arm/boot/dts/renesas/r9a06g032.dtsi
+++ b/arch/arm/boot/dts/renesas/r9a06g032.dtsi
@@ -507,6 +507,7 @@ gic: interrupt-controller@44101000 {
compatible = "arm,gic-400", "arm,cortex-a7-gic";
interrupt-controller;
#interrupt-cells = <3>;
+ #address-cells = <0>;
reg = <0x44101000 0x1000>, /* Distributer */
<0x44102000 0x2000>, /* CPU interface */
<0x44104000 0x2000>, /* Virt interface control */
--
2.53.0
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
2026-03-03 10:20 [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node Herve Codina (Schneider Electric)
@ 2026-03-10 22:06 ` Wolfram Sang
2026-03-11 7:30 ` Herve Codina
2026-03-11 7:35 ` Krzysztof Kozlowski
2026-03-11 8:32 ` Wolfram Sang
1 sibling, 2 replies; 10+ messages in thread
From: Wolfram Sang @ 2026-03-10 22:06 UTC (permalink / raw)
To: Herve Codina (Schneider Electric)
Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-renesas-soc, devicetree, linux-kernel,
Pascal Eberhard, Miquel Raynal, Thomas Petazzoni
[-- Attachment #1: Type: text/plain, Size: 644 bytes --]
On Tue, Mar 03, 2026 at 11:20:29AM +0100, Herve Codina (Schneider Electric) wrote:
> When checking dts involving the r9a06g032.dtsi file, the following kind
> of warnings are reported:
> Missing property '#address-cells' in node xxx, using 0 as fallback
>
> Indeed, #address-cells is not present in the GIC interrupt controller
> node.
>
> Fix it adding the missing property.
>
> No functional change.
>
> Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
How did you trigger this? It doesn't show up with the upstream DTs for
N1D. Can you share the snippet which causes the problem for you?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
2026-03-10 22:06 ` Wolfram Sang
@ 2026-03-11 7:30 ` Herve Codina
2026-03-11 8:29 ` Wolfram Sang
2026-03-11 7:35 ` Krzysztof Kozlowski
1 sibling, 1 reply; 10+ messages in thread
From: Herve Codina @ 2026-03-11 7:30 UTC (permalink / raw)
To: Wolfram Sang
Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-renesas-soc, devicetree, linux-kernel,
Pascal Eberhard, Miquel Raynal, Thomas Petazzoni
Hi Wolfram,
On Tue, 10 Mar 2026 23:06:57 +0100
Wolfram Sang <wsa+renesas@sang-engineering.com> wrote:
> On Tue, Mar 03, 2026 at 11:20:29AM +0100, Herve Codina (Schneider Electric) wrote:
> > When checking dts involving the r9a06g032.dtsi file, the following kind
> > of warnings are reported:
> > Missing property '#address-cells' in node xxx, using 0 as fallback
> >
> > Indeed, #address-cells is not present in the GIC interrupt controller
> > node.
> >
> > Fix it adding the missing property.
> >
> > No functional change.
> >
> > Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
>
> How did you trigger this? It doesn't show up with the upstream DTs for
> N1D. Can you share the snippet which causes the problem for you?
>
I compiled the dtb with W=1 and CHECK_DTBS=1
$ touch arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dts
$ make ARCH=arm CROSS_COMPILE=... W=1 CHECK_DTBS=1 renesas/r9a06g032-rzn1d400-eb.dtb
DTC [C] arch/arm/boot/dts/renesas/r9a06g032-rzn1d400-eb.dtb
arch/arm/boot/dts/renesas/r9a06g032.dtsi:156.4-158.33: Warning (interrupt_map): /soc/pci@40030000:interrupt-map: Missing property '#address-cells' in node /soc/interrupt-controller@44101000, using 0 as fallback
arch/arm/boot/dts/renesas/r9a06g032.dtsi:156.4-158.33: Warning (interrupt_map): /soc/pci@40030000:interrupt-map: Missing property '#address-cells' in node /soc/interrupt-controller@44101000, using 0 as fallback
arch/arm/boot/dts/renesas/r9a06g032.dtsi:156.4-158.33: Warning (interrupt_map): /soc/pci@40030000:interrupt-map: Missing property '#address-cells' in node /soc/interrupt-controller@44101000, using 0 as fallback
arch/arm/boot/dts/renesas/r9a06g032.dtsi:672.4-37: Warning (interrupt_map): /soc/interrupt-controller@51000480:interrupt-map: Missing property '#address-cells' in node /soc/interrupt-controller@44101000, using 0 as fallback
$
Best regards,
Hervé
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
2026-03-11 7:30 ` Herve Codina
@ 2026-03-11 8:29 ` Wolfram Sang
0 siblings, 0 replies; 10+ messages in thread
From: Wolfram Sang @ 2026-03-11 8:29 UTC (permalink / raw)
To: Herve Codina
Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-renesas-soc, devicetree, linux-kernel,
Pascal Eberhard, Miquel Raynal, Thomas Petazzoni
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
> I compiled the dtb with W=1 and CHECK_DTBS=1
W=1 adds extra warnings? I am surprised I didn't know this yet. Updated
my build scripts, thanks! Confirming the issue.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
2026-03-10 22:06 ` Wolfram Sang
2026-03-11 7:30 ` Herve Codina
@ 2026-03-11 7:35 ` Krzysztof Kozlowski
1 sibling, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-11 7:35 UTC (permalink / raw)
To: Wolfram Sang, Herve Codina (Schneider Electric)
Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-renesas-soc, devicetree, linux-kernel,
Pascal Eberhard, Miquel Raynal, Thomas Petazzoni
On 10/03/2026 23:06, Wolfram Sang wrote:
> On Tue, Mar 03, 2026 at 11:20:29AM +0100, Herve Codina (Schneider Electric) wrote:
>> When checking dts involving the r9a06g032.dtsi file, the following kind
>> of warnings are reported:
>> Missing property '#address-cells' in node xxx, using 0 as fallback
>>
>> Indeed, #address-cells is not present in the GIC interrupt controller
>> node.
>>
>> Fix it adding the missing property.
>>
>> No functional change.
>>
>> Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
>
> How did you trigger this? It doesn't show up with the upstream DTs for
> N1D. Can you share the snippet which causes the problem for you?
That's just standard DTC warning. I was fixing most of the arm64
platforms already:
https://lore.kernel.org/all/?q=f%3Akrzysztof+%22Add+default+GIC+address+cells%22
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
2026-03-03 10:20 [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node Herve Codina (Schneider Electric)
2026-03-10 22:06 ` Wolfram Sang
@ 2026-03-11 8:32 ` Wolfram Sang
2026-03-11 8:39 ` Geert Uytterhoeven
2026-03-24 9:17 ` Herve Codina
1 sibling, 2 replies; 10+ messages in thread
From: Wolfram Sang @ 2026-03-11 8:32 UTC (permalink / raw)
To: Herve Codina (Schneider Electric)
Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-renesas-soc, devicetree, linux-kernel,
Pascal Eberhard, Miquel Raynal, Thomas Petazzoni
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
On Tue, Mar 03, 2026 at 11:20:29AM +0100, Herve Codina (Schneider Electric) wrote:
> When checking dts involving the r9a06g032.dtsi file, the following kind
> of warnings are reported:
> Missing property '#address-cells' in node xxx, using 0 as fallback
>
> Indeed, #address-cells is not present in the GIC interrupt controller
> node.
>
> Fix it adding the missing property.
>
> No functional change.
>
> Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
I like Krzysztof's explanation "Value '0' is correct because GIC
interrupt controller does not have children." Maybe it can be added to
the commit message?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
2026-03-11 8:32 ` Wolfram Sang
@ 2026-03-11 8:39 ` Geert Uytterhoeven
2026-03-11 10:21 ` Herve Codina
2026-03-24 9:17 ` Herve Codina
1 sibling, 1 reply; 10+ messages in thread
From: Geert Uytterhoeven @ 2026-03-11 8:39 UTC (permalink / raw)
To: Wolfram Sang
Cc: Herve Codina (Schneider Electric), Magnus Damm, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, linux-renesas-soc, devicetree,
linux-kernel, Pascal Eberhard, Miquel Raynal, Thomas Petazzoni
Hi Wolfram,
On Wed, 11 Mar 2026 at 09:32, Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> On Tue, Mar 03, 2026 at 11:20:29AM +0100, Herve Codina (Schneider Electric) wrote:
> > When checking dts involving the r9a06g032.dtsi file, the following kind
> > of warnings are reported:
> > Missing property '#address-cells' in node xxx, using 0 as fallback
> >
> > Indeed, #address-cells is not present in the GIC interrupt controller
> > node.
> >
> > Fix it adding the missing property.
> >
> > No functional change.
> >
> > Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
>
> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> I like Krzysztof's explanation "Value '0' is correct because GIC
> interrupt controller does not have children." Maybe it can be added to
> the commit message?
Some of the examples in the GIC DT bindings, do?
But #address-cells is not a required property in the GIC DT bindings,
so why should it be added at all?
BTW, I never understood why an interrupt-controller should have
#address-cells (according to dtc)?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
2026-03-11 8:39 ` Geert Uytterhoeven
@ 2026-03-11 10:21 ` Herve Codina
0 siblings, 0 replies; 10+ messages in thread
From: Herve Codina @ 2026-03-11 10:21 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Wolfram Sang, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-renesas-soc, devicetree, linux-kernel,
Pascal Eberhard, Miquel Raynal, Thomas Petazzoni
Hi Geert,
On Wed, 11 Mar 2026 09:39:40 +0100
Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> Hi Wolfram,
>
> On Wed, 11 Mar 2026 at 09:32, Wolfram Sang
> <wsa+renesas@sang-engineering.com> wrote:
> > On Tue, Mar 03, 2026 at 11:20:29AM +0100, Herve Codina (Schneider Electric) wrote:
> > > When checking dts involving the r9a06g032.dtsi file, the following kind
> > > of warnings are reported:
> > > Missing property '#address-cells' in node xxx, using 0 as fallback
> > >
> > > Indeed, #address-cells is not present in the GIC interrupt controller
> > > node.
> > >
> > > Fix it adding the missing property.
> > >
> > > No functional change.
> > >
> > > Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
> >
> > Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> >
> > I like Krzysztof's explanation "Value '0' is correct because GIC
> > interrupt controller does not have children." Maybe it can be added to
> > the commit message?
>
> Some of the examples in the GIC DT bindings, do?
> But #address-cells is not a required property in the GIC DT bindings,
> so why should it be added at all?
>
> BTW, I never understood why an interrupt-controller should have
> #address-cells (according to dtc)?
I think this comes from the interrupt-map definition:
https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#interrupt-map
Best regards,
Hervé
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
2026-03-11 8:32 ` Wolfram Sang
2026-03-11 8:39 ` Geert Uytterhoeven
@ 2026-03-24 9:17 ` Herve Codina
2026-03-24 19:13 ` Wolfram Sang
1 sibling, 1 reply; 10+ messages in thread
From: Herve Codina @ 2026-03-24 9:17 UTC (permalink / raw)
To: Wolfram Sang
Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-renesas-soc, devicetree, linux-kernel,
Pascal Eberhard, Miquel Raynal, Thomas Petazzoni
Hi Wolfram,
On Wed, 11 Mar 2026 09:32:53 +0100
Wolfram Sang <wsa+renesas@sang-engineering.com> wrote:
> On Tue, Mar 03, 2026 at 11:20:29AM +0100, Herve Codina (Schneider Electric) wrote:
> > When checking dts involving the r9a06g032.dtsi file, the following kind
> > of warnings are reported:
> > Missing property '#address-cells' in node xxx, using 0 as fallback
> >
> > Indeed, #address-cells is not present in the GIC interrupt controller
> > node.
> >
> > Fix it adding the missing property.
> >
> > No functional change.
> >
> > Signed-off-by: Herve Codina (Schneider Electric) <herve.codina@bootlin.com>
>
> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
>
> I like Krzysztof's explanation "Value '0' is correct because GIC
> interrupt controller does not have children." Maybe it can be added to
> the commit message?
>
I will update the commit log on the v2 iteration.
Should I keep your reviewed-by tag for this v2. Indeed, you don't have seen
yet the new commit log :)
Best regards,
Hervé
--
Hervé Codina, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node
2026-03-24 9:17 ` Herve Codina
@ 2026-03-24 19:13 ` Wolfram Sang
0 siblings, 0 replies; 10+ messages in thread
From: Wolfram Sang @ 2026-03-24 19:13 UTC (permalink / raw)
To: Herve Codina
Cc: Geert Uytterhoeven, Magnus Damm, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, linux-renesas-soc, devicetree, linux-kernel,
Pascal Eberhard, Miquel Raynal, Thomas Petazzoni
[-- Attachment #1: Type: text/plain, Size: 124 bytes --]
> Should I keep your reviewed-by tag for this v2. Indeed, you don't have seen
> yet the new commit log :)
I trust you ;)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2026-03-24 19:13 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03 10:20 [PATCH] ARM: dts: r9a06g032: Add #address-cells in the GIC node Herve Codina (Schneider Electric)
2026-03-10 22:06 ` Wolfram Sang
2026-03-11 7:30 ` Herve Codina
2026-03-11 8:29 ` Wolfram Sang
2026-03-11 7:35 ` Krzysztof Kozlowski
2026-03-11 8:32 ` Wolfram Sang
2026-03-11 8:39 ` Geert Uytterhoeven
2026-03-11 10:21 ` Herve Codina
2026-03-24 9:17 ` Herve Codina
2026-03-24 19:13 ` Wolfram Sang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox