* [PATCH v2] arm64: broadcom: bcm2712: Drop rp1 overlay
@ 2025-12-11 19:38 Rob Herring (Arm)
2025-12-18 13:25 ` Andrea della Porta
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-12-11 19:38 UTC (permalink / raw)
To: Florian Fainelli, bcm-kernel-feedback-list, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-rpi-kernel, linux-arm-kernel, devicetree, linux-kernel
It's a requirement that DT overlays be applied at build time in order to
validate them as overlays are not validated on their own, but the
rp1.dtbo is not applied to anything. The rp1.dtso overlay doesn't work
on its own as there are additional settings needed as seen in
bcm2712-rpi-5-b.dts. In addition, the 'rp1_nexus' node is applied to the
wrong place in the DT as it should be under a PCIe root port rather than
the host bridge. There's also a duplicate overlay in drivers/misc/rp1/.
For these reasons, just drop the overlay to fix the warning until all
these issues can be fixed.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
The missing applying of rp1.dtbo is now a warning in v6.19-rc1. This
should be sent to Linus ASAP.
v2:
- Drop the overlay instead of trying to rework. The addition of
ethernet0 alias complicates that.
---
arch/arm64/boot/dts/broadcom/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile
index 83d45afc6588..031875a277d7 100644
--- a/arch/arm64/boot/dts/broadcom/Makefile
+++ b/arch/arm64/boot/dts/broadcom/Makefile
@@ -14,8 +14,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \
bcm2837-rpi-3-b.dtb \
bcm2837-rpi-3-b-plus.dtb \
bcm2837-rpi-cm3-io3.dtb \
- bcm2837-rpi-zero-2-w.dtb \
- rp1.dtbo
+ bcm2837-rpi-zero-2-w.dtb
subdir-y += bcmbca
subdir-y += northstar2
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] arm64: broadcom: bcm2712: Drop rp1 overlay
2025-12-11 19:38 [PATCH v2] arm64: broadcom: bcm2712: Drop rp1 overlay Rob Herring (Arm)
@ 2025-12-18 13:25 ` Andrea della Porta
0 siblings, 0 replies; 2+ messages in thread
From: Andrea della Porta @ 2025-12-18 13:25 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Florian Fainelli, bcm-kernel-feedback-list, Krzysztof Kozlowski,
Conor Dooley, linux-rpi-kernel, linux-arm-kernel, devicetree,
linux-kernel, andrea.porta
Hi Rob,
On 13:38 Thu 11 Dec , Rob Herring (Arm) wrote:
> It's a requirement that DT overlays be applied at build time in order to
> validate them as overlays are not validated on their own, but the
> rp1.dtbo is not applied to anything. The rp1.dtso overlay doesn't work
> on its own as there are additional settings needed as seen in
> bcm2712-rpi-5-b.dts. In addition, the 'rp1_nexus' node is applied to the
> wrong place in the DT as it should be under a PCIe root port rather than
> the host bridge. There's also a duplicate overlay in drivers/misc/rp1/.
>
> For these reasons, just drop the overlay to fix the warning until all
> these issues can be fixed.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> The missing applying of rp1.dtbo is now a warning in v6.19-rc1. This
> should be sent to Linus ASAP.
>
> v2:
> - Drop the overlay instead of trying to rework. The addition of
> ethernet0 alias complicates that.
> ---
> arch/arm64/boot/dts/broadcom/Makefile | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/broadcom/Makefile b/arch/arm64/boot/dts/broadcom/Makefile
> index 83d45afc6588..031875a277d7 100644
> --- a/arch/arm64/boot/dts/broadcom/Makefile
> +++ b/arch/arm64/boot/dts/broadcom/Makefile
> @@ -14,8 +14,7 @@ dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \
> bcm2837-rpi-3-b.dtb \
> bcm2837-rpi-3-b-plus.dtb \
> bcm2837-rpi-cm3-io3.dtb \
> - bcm2837-rpi-zero-2-w.dtb \
> - rp1.dtbo
> + bcm2837-rpi-zero-2-w.dtb
I'm preparing a rework patch that drops the overlay too, it will fix this warning
and the other concerns about RP1 DT hierarchy. Anyway, since this warning seems
to annoy a lot of people, feel free to apply it in the meantime and I'll adapt
accordingly, hence:
Reviewed-by: Andrea della Porta <andrea.porta@suse.com>
Thanks,
Andrea
>
> subdir-y += bcmbca
> subdir-y += northstar2
> --
> 2.51.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-18 13:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-11 19:38 [PATCH v2] arm64: broadcom: bcm2712: Drop rp1 overlay Rob Herring (Arm)
2025-12-18 13:25 ` Andrea della Porta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).