Skip to contentSkip to conversation

arm: dts: omap: Apply am57xx-idk overlays to base dtbs

PATCH In review Rob Herring 3 participants 4 messages Oct 10, 2023 – Nov 28, 2023

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH v2 1/1 arm: dts: omap: Apply am57xx-idk overlays to base dtbs

DT overlays in tree need to be applied to a base DTB to validate they apply, to run schema checks on them, and to catch any errors at compile time.

---
v2:
- Only test applying overlays when building all DTBs

---
 arch/arm/boot/dts/ti/omap/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/ti/omap/Makefile +10 -0
index d2b590004fed..d6ee4a247100 100644
@@ -129,6 +129,16 @@ dtb-$(CONFIG_SOC_AM43XX) += \
 am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo
 am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo
 
+am571x-idk-overlays-dtbs := am571x-idk.dtb \
+	am571x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2587.dtbo
+am572x-idk-overlays-dtbs := am572x-idk.dtb \
+	am572x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2045.dtbo
+
+# Build time test only, enabled by CONFIG_OF_ALL_DTBS
+dtb- += \
+	am571x-idk-overlays.dtb \
+	am572x-idk-overlays.dtb
+
 dtb-$(CONFIG_SOC_DRA7XX) += \
 	am57xx-beagle-x15.dtb \
 	am57xx-beagle-x15-revb1.dtb \
Signature · 1 line
2.42.0
maintainer
#1 lore raw
Quoted 8 lines · Rob Herring

DT overlays in tree need to be applied to a base DTB to validate they apply, to run schema checks on them, and to catch any errors at compile time.

---
v2:
- Only test applying overlays when building all DTBs

Andrew, any comments or care to ack?

Regards,

Tony

Quoted 28 lines
---
 arch/arm/boot/dts/ti/omap/Makefile | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm/boot/dts/ti/omap/Makefile +10 -0
index d2b590004fed..d6ee4a247100 100644
@@ -129,6 +129,16 @@ dtb-$(CONFIG_SOC_AM43XX) += \
 am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo
 am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo
 
+am571x-idk-overlays-dtbs := am571x-idk.dtb \
+	am571x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2587.dtbo
+am572x-idk-overlays-dtbs := am572x-idk.dtb \
+	am572x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2045.dtbo
+
+# Build time test only, enabled by CONFIG_OF_ALL_DTBS
+dtb- += \
+	am571x-idk-overlays.dtb \
+	am572x-idk-overlays.dtb
+
 dtb-$(CONFIG_SOC_DRA7XX) += \
 	am57xx-beagle-x15.dtb \
 	am57xx-beagle-x15-revb1.dtb \
Signature · 1 line
2.42.0
Acked-by
#2 lore raw
Quoted 11 lines · Tony Lindgren
Quoted 8 lines · Rob Herring

DT overlays in tree need to be applied to a base DTB to validate they apply, to run schema checks on them, and to catch any errors at compile time.

---
v2:
- Only test applying overlays when building all DTBs

Andrew, any comments or care to ack?

As before, this is a valid combination, but it is only one of many more. For now this is a reasonable start though,

Quoted 33 lines

Regards,

Tony

Quoted 28 lines
---
  arch/arm/boot/dts/ti/omap/Makefile | 10 ++++++++++
  1 file changed, 10 insertions(+)
arch/arm/boot/dts/ti/omap/Makefile +10 -0
index d2b590004fed..d6ee4a247100 100644
@@ -129,6 +129,16 @@ dtb-$(CONFIG_SOC_AM43XX) += \
  am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo
  am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo
 
+am571x-idk-overlays-dtbs := am571x-idk.dtb \
+	am571x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2587.dtbo
+am572x-idk-overlays-dtbs := am572x-idk.dtb \
+	am572x-idk-touchscreen.dtbo am57xx-idk-lcd-osd101t2045.dtbo
+
+# Build time test only, enabled by CONFIG_OF_ALL_DTBS
+dtb- += \
+	am571x-idk-overlays.dtb \
+	am572x-idk-overlays.dtb
+
  dtb-$(CONFIG_SOC_DRA7XX) += \
  	am57xx-beagle-x15.dtb \
  	am57xx-beagle-x15-revb1.dtb \
Signature · 1 line
2.42.0
maintainer
#3 lore raw
Quoted 11 lines · Andrew Davis
Quoted 10 lines · Tony Lindgren
Quoted 8 lines · Rob Herring

DT overlays in tree need to be applied to a base DTB to validate they apply, to run schema checks on them, and to catch any errors at compile time.

---
v2:
- Only test applying overlays when building all DTBs

Quoted 6 lines
Quoted 1 line

Andrew, any comments or care to ack?

As before, this is a valid combination, but it is only one of many more. For now this is a reasonable start though,

OK thanks applying into omap-for-v6.8/dt.

Tony