mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the renesas tree
@ 2025-05-06  9:20 Stephen Rothwell
  2025-05-06 10:05 ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2025-05-06  9:20 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Geert Uytterhoeven, Kuninori Morimoto, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

Hi all,

After merging the renesas tree, today's linux-next build (arm64 defconfig)
produced these warnings:

arch/arm64/boot/dts/renesas/r8a779g0.dtsi:1269.24-1283.5: Warning (spi_bus_bridge): /soc/spi@e6ea0000: incorrect #address-cells for SPI bus
  also defined at arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts:463.9-478.3
arch/arm64/boot/dts/renesas/r8a779g0.dtsi:1269.24-1283.5: Warning (spi_bus_bridge): /soc/spi@e6ea0000: incorrect #size-cells for SPI bus
  also defined at arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts:463.9-478.3
arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'

Introduced by commit

  c29748ccad88 ("arm64: dts: renesas: sparrow-hawk: Add MSIOF Sound support")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: build warnings after merge of the renesas tree
  2025-05-06  9:20 linux-next: build warnings after merge of the renesas tree Stephen Rothwell
@ 2025-05-06 10:05 ` Geert Uytterhoeven
  2025-05-09 18:25   ` Rob Herring
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2025-05-06 10:05 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Kuninori Morimoto, Linux Kernel Mailing List,
	Linux Next Mailing List, Devicetree Compiler,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

Hi Stephen,

On Tue, 6 May 2025 at 11:20, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> After merging the renesas tree, today's linux-next build (arm64 defconfig)
> produced these warnings:
>
> arch/arm64/boot/dts/renesas/r8a779g0.dtsi:1269.24-1283.5: Warning (spi_bus_bridge): /soc/spi@e6ea0000: incorrect #address-cells for SPI bus
>   also defined at arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts:463.9-478.3
> arch/arm64/boot/dts/renesas/r8a779g0.dtsi:1269.24-1283.5: Warning (spi_bus_bridge): /soc/spi@e6ea0000: incorrect #size-cells for SPI bus
>   also defined at arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts:463.9-478.3
> arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
>
> Introduced by commit
>
>   c29748ccad88 ("arm64: dts: renesas: sparrow-hawk: Add MSIOF Sound support")

Thanks, this is a known conflict between SPI bus bindings and dtc:
  - Serial engines that can be SPI controllers must use "spi" as their
    node names,
  - Dtc assumes nodes named "spi" are always SPI controllers.

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] 4+ messages in thread

* Re: linux-next: build warnings after merge of the renesas tree
  2025-05-06 10:05 ` Geert Uytterhoeven
@ 2025-05-09 18:25   ` Rob Herring
  2025-05-12  8:46     ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2025-05-09 18:25 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Stephen Rothwell, Kuninori Morimoto, Linux Kernel Mailing List,
	Linux Next Mailing List, Devicetree Compiler,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

On Tue, May 6, 2025 at 5:05 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> Hi Stephen,
>
> On Tue, 6 May 2025 at 11:20, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > After merging the renesas tree, today's linux-next build (arm64 defconfig)
> > produced these warnings:
> >
> > arch/arm64/boot/dts/renesas/r8a779g0.dtsi:1269.24-1283.5: Warning (spi_bus_bridge): /soc/spi@e6ea0000: incorrect #address-cells for SPI bus
> >   also defined at arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts:463.9-478.3
> > arch/arm64/boot/dts/renesas/r8a779g0.dtsi:1269.24-1283.5: Warning (spi_bus_bridge): /soc/spi@e6ea0000: incorrect #size-cells for SPI bus
> >   also defined at arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts:463.9-478.3
> > arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
> >
> > Introduced by commit
> >
> >   c29748ccad88 ("arm64: dts: renesas: sparrow-hawk: Add MSIOF Sound support")
>
> Thanks, this is a known conflict between SPI bus bindings and dtc:
>   - Serial engines that can be SPI controllers must use "spi" as their
>     node names,
>   - Dtc assumes nodes named "spi" are always SPI controllers.

I think you can disable 'spi_bus_bridge' warning by overriding or
appending DTC_FLAGS in arch/arm64/boot/dts/renesas/Makefile.

Rob

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: build warnings after merge of the renesas tree
  2025-05-09 18:25   ` Rob Herring
@ 2025-05-12  8:46     ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2025-05-12  8:46 UTC (permalink / raw)
  To: Rob Herring
  Cc: Stephen Rothwell, Kuninori Morimoto, Linux Kernel Mailing List,
	Linux Next Mailing List, Devicetree Compiler,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

Hi Rob,

On Fri, 9 May 2025 at 20:25, Rob Herring <robh@kernel.org> wrote:
> On Tue, May 6, 2025 at 5:05 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > On Tue, 6 May 2025 at 11:20, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> > > After merging the renesas tree, today's linux-next build (arm64 defconfig)
> > > produced these warnings:
> > >
> > > arch/arm64/boot/dts/renesas/r8a779g0.dtsi:1269.24-1283.5: Warning (spi_bus_bridge): /soc/spi@e6ea0000: incorrect #address-cells for SPI bus
> > >   also defined at arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts:463.9-478.3
> > > arch/arm64/boot/dts/renesas/r8a779g0.dtsi:1269.24-1283.5: Warning (spi_bus_bridge): /soc/spi@e6ea0000: incorrect #size-cells for SPI bus
> > >   also defined at arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts:463.9-478.3
> > > arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
> > >
> > > Introduced by commit
> > >
> > >   c29748ccad88 ("arm64: dts: renesas: sparrow-hawk: Add MSIOF Sound support")
> >
> > Thanks, this is a known conflict between SPI bus bindings and dtc:
> >   - Serial engines that can be SPI controllers must use "spi" as their
> >     node names,
> >   - Dtc assumes nodes named "spi" are always SPI controllers.
>
> I think you can disable 'spi_bus_bridge' warning by overriding or
> appending DTC_FLAGS in arch/arm64/boot/dts/renesas/Makefile.

Thx, I've sent a fix
https://lore.kernel.org/fbad3581f297d5b95a3b2813bbae7dba25a523fd.1747039399.git.geert+renesas@glider.be

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] 4+ messages in thread

end of thread, other threads:[~2025-05-12  8:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-06  9:20 linux-next: build warnings after merge of the renesas tree Stephen Rothwell
2025-05-06 10:05 ` Geert Uytterhoeven
2025-05-09 18:25   ` Rob Herring
2025-05-12  8:46     ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®