Skip to contentSkip to conversation

linux-next: build warnings after merge of the renesas tree

DISCUSSION Stephen Rothwell 3 participants 4 messages May 6, 2025 – May 12, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen,

Quoted 9 lines · Stephen Rothwell

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'

Quoted 3 lines

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

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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
#2 lore raw
Quoted 13 lines · Geert Uytterhoeven

Hi Stephen,

Quoted 9 lines · Stephen Rothwell

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'

Quoted 8 lines
Quoted 3 lines

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

#3 lore raw

Hi Rob,

Quoted 15 lines · Rob Herring
Quoted 14 lines · Geert Uytterhoeven
Quoted 12 lines · Stephen Rothwell

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

Quoted 7 lines
Quoted 4 lines

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

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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