* [PATCH] arm64: dts: ti: Enable overlays for all DTB files
@ 2025-07-02 14:53 Andrew Davis
2025-07-03 12:29 ` Bryan Brattlof
2025-07-09 10:35 ` Vignesh Raghavendra
0 siblings, 2 replies; 3+ messages in thread
From: Andrew Davis @ 2025-07-02 14:53 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Nishanth Menon,
Vignesh Raghavendra, Tero Kristo
Cc: devicetree, linux-arm-kernel, linux-kernel, Andrew Davis
Allow overlays to be applied to any DTB without manually enabling it
for each file. This adds around ~10% to the total size of the DTB files
on average.
Signed-off-by: Andrew Davis <afd@ti.com>
---
Note that Broadcom's DTS already do this, so there is precedent for this.
And we do this unconditionally in our Yocto Distros[0] already, this just
moves this so everyone gets overlay support for all boards.
[0] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc#n5
arch/arm64/boot/dts/ti/Makefile | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile
index 743e7b945af3b..93fb2c5c3bbda 100644
--- a/arch/arm64/boot/dts/ti/Makefile
+++ b/arch/arm64/boot/dts/ti/Makefile
@@ -348,24 +348,4 @@ dtb- += k3-am625-beagleplay-csi2-ov5640.dtb \
k3-j784s4-evm-usxgmii-exp1-exp2.dtb
# Enable support for device-tree overlays
-DTC_FLAGS_k3-am625-beagleplay += -@
-DTC_FLAGS_k3-am625-phyboard-lyra-rdk += -@
-DTC_FLAGS_k3-am62a7-phyboard-lyra-rdk += -@
-DTC_FLAGS_k3-am625-sk += -@
-DTC_FLAGS_k3-am62-lp-sk += -@
-DTC_FLAGS_k3-am62a7-sk += -@
-DTC_FLAGS_k3-am62p5-sk += -@
-DTC_FLAGS_k3-am642-evm += -@
-DTC_FLAGS_k3-am642-phyboard-electra-rdk += -@
-DTC_FLAGS_k3-am642-tqma64xxl-mbax4xxl += -@
-DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@
-DTC_FLAGS_k3-am68-sk-base-board += -@
-DTC_FLAGS_k3-am69-sk += -@
-DTC_FLAGS_k3-j7200-common-proc-board += -@
-DTC_FLAGS_k3-j721e-common-proc-board += -@
-DTC_FLAGS_k3-j721e-evm-pcie0-ep += -@
-DTC_FLAGS_k3-j721e-sk += -@
-DTC_FLAGS_k3-j721s2-common-proc-board += -@
-DTC_FLAGS_k3-j722s-evm += -@
-DTC_FLAGS_k3-j784s4-evm += -@
-DTC_FLAGS_k3-j742s2-evm += -@
+DTC_FLAGS := -@
--
2.39.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: ti: Enable overlays for all DTB files
2025-07-02 14:53 [PATCH] arm64: dts: ti: Enable overlays for all DTB files Andrew Davis
@ 2025-07-03 12:29 ` Bryan Brattlof
2025-07-09 10:35 ` Vignesh Raghavendra
1 sibling, 0 replies; 3+ messages in thread
From: Bryan Brattlof @ 2025-07-03 12:29 UTC (permalink / raw)
To: Andrew Davis
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Nishanth Menon,
Vignesh Raghavendra, Tero Kristo, devicetree, linux-arm-kernel,
linux-kernel
On July 2, 2025 thus sayeth Andrew Davis:
> Allow overlays to be applied to any DTB without manually enabling it
> for each file. This adds around ~10% to the total size of the DTB files
> on average.
>
> Signed-off-by: Andrew Davis <afd@ti.com>
> ---
>
> Note that Broadcom's DTS already do this, so there is precedent for this.
> And we do this unconditionally in our Yocto Distros[0] already, this just
> moves this so everyone gets overlay support for all boards.
>
> [0] https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/recipes-kernel/linux/ti-kernel.inc#n5
>
> arch/arm64/boot/dts/ti/Makefile | 22 +---------------------
> 1 file changed, 1 insertion(+), 21 deletions(-)
With the current size of the kernel and initrd these days, +10% of a few
KBs is not even a rounding error IMHO :)
Acked-by: Bryan Brattlof <bb@ti.com>
~Bryan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: ti: Enable overlays for all DTB files
2025-07-02 14:53 [PATCH] arm64: dts: ti: Enable overlays for all DTB files Andrew Davis
2025-07-03 12:29 ` Bryan Brattlof
@ 2025-07-09 10:35 ` Vignesh Raghavendra
1 sibling, 0 replies; 3+ messages in thread
From: Vignesh Raghavendra @ 2025-07-09 10:35 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Nishanth Menon,
Tero Kristo, Andrew Davis
Cc: Vignesh Raghavendra, devicetree, linux-arm-kernel, linux-kernel
Hi Andrew Davis,
On Wed, 02 Jul 2025 09:53:14 -0500, Andrew Davis wrote:
> Allow overlays to be applied to any DTB without manually enabling it
> for each file. This adds around ~10% to the total size of the DTB files
> on average.
>
>
I have applied the following to branch ti-k3-dts-next on [1].
Thank you!
[1/1] arm64: dts: ti: Enable overlays for all DTB files
commit: bca4146b1f66dbca07591bfd6ad695c699b5a093
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-09 10:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02 14:53 [PATCH] arm64: dts: ti: Enable overlays for all DTB files Andrew Davis
2025-07-03 12:29 ` Bryan Brattlof
2025-07-09 10:35 ` Vignesh Raghavendra
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).