Skip to contentSkip to conversation

arm64: dts: ti: Enable overlays for all DTB files

PATCH Applied Andrew Davis 3 participants 3 messages Jul 2, 2025 – Jul 9, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: ti: Enable overlays for all DTB files

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.

---

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(-)
arch/arm64/boot/dts/ti/Makefile +1 -21
index 743e7b945af3b..93fb2c5c3bbda 100644
@@ -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 := -@
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw

On July 2, 2025 thus sayeth Andrew Davis:

Quoted 7 lines

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.

---

Quoted 8 lines

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

~Bryan

maintainer Applied
#2 lore raw
In reply to Andrew Davis

Hi Andrew Davis,

Quoted 5 lines · 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.

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