Skip to contentSkip to conversation

AM57x EVM Device Tree Overlays

PATCH Superseded Andrew Davis 2 participants 7 messages Nov 1, 2022 – Jan 19, 2023

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v2 cover AM57x EVM Device Tree Overlays

Hello all,

These is an uncontroversial (hopefully) DT Overlay to support the TI AM57x EVM. More complex cases are staged and ready to follow but wanted to test the water with this one.

For some reason dtbs_check does not get run on overlays, this will need further investigation to fix in kbuild. For now I ran it through manually but am not 100% sure it actually checked it, so double checks here very welcome.

Series depends on https://www.spinics.net/lists/kernel/msg4548509.html

Thanks,
Andrew

Changes from v1:
- Made touchscreen node name generic
- Used proper interrupt flags

Andrew Davis (2):
ARM: dts: ti: Add AM57xx GP EVM board support
ARM: dts: ti: Add AM57xx GP EVM Rev A3 board support

 arch/arm/boot/dts/Makefile        |   4 +
 arch/arm/boot/dts/am57xx-evm.dtso | 127 ++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)
 create mode 100644 arch/arm/boot/dts/am57xx-evm.dtso
Signature · 1 line
2.37.3
#1 lore raw

PATCH v2 1/2 ARM: dts: ti: Add AM57xx GP EVM board support

The AM57xx GP EVM boards are built on top the AM57xx BeagleBoard-X15. The EVM extends the BeagleBoard by adding a touchscreen, some buttons, and a handful of peripheral extension slots.

Being a plugin extension of an existing standalone board; we define the am57xx-evm as a composite-DTB of the base am57xx-beagle-x15 and a new am57xx-evm overlay.

---
 arch/arm/boot/dts/Makefile        |   2 +
 arch/arm/boot/dts/am57xx-evm.dtso | 127 ++++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+)
 create mode 100644 arch/arm/boot/dts/am57xx-evm.dtso
arch/arm/boot/dts/Makefile +2 -0
index e48cfbc4e8e4f..0a281b81cc42a 100644
@@ -985,10 +985,12 @@ dtb-$(CONFIG_SOC_OMAP5) += \
 	omap5-igep0050.dtb \
 	omap5-sbc-t54.dtb \
 	omap5-uevm.dtb
+am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo
 dtb-$(CONFIG_SOC_DRA7XX) += \
 	am57xx-beagle-x15.dtb \
 	am57xx-beagle-x15-revb1.dtb \
 	am57xx-beagle-x15-revc.dtb \
+	am57xx-evm.dtb \
 	am5729-beagleboneai.dtb \
 	am57xx-cl-som-am57x.dtb \
 	am57xx-sbc-am57x.dtb \
arch/arm/boot/dts/am57xx-evm.dtso new file +127 -0

127 lines not on this page · raw message

Signature · 1 line
2.37.3
#2 lore raw

PATCH v2 2/2 ARM: dts: ti: Add AM57xx GP EVM Rev A3 board support

In reply to Andrew Davis

The A3 revision of the AM57xx GP EVM has the same EVM feature set as the original but is paired with an updated revision C BeagleBoard X15.

DT Overlays allow us to model this in the same way, we simply apply the EVM overlay to the Rev C BeagleBoard to create the Rev A3 AM57xx GP EVM.

---
 arch/arm/boot/dts/Makefile | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/boot/dts/Makefile +2 -0
index 0a281b81cc42a..6fb8e7cb4cf7b 100644
@@ -986,11 +986,13 @@ dtb-$(CONFIG_SOC_OMAP5) += \
 	omap5-sbc-t54.dtb \
 	omap5-uevm.dtb
 am57xx-evm-dtbs := am57xx-beagle-x15.dtb am57xx-evm.dtbo
+am57xx-evm-reva3-dtbs := am57xx-beagle-x15-revc.dtb am57xx-evm.dtbo
 dtb-$(CONFIG_SOC_DRA7XX) += \
 	am57xx-beagle-x15.dtb \
 	am57xx-beagle-x15-revb1.dtb \
 	am57xx-beagle-x15-revc.dtb \
 	am57xx-evm.dtb \
+	am57xx-evm-reva3.dtb \
 	am5729-beagleboneai.dtb \
 	am57xx-cl-som-am57x.dtb \
 	am57xx-sbc-am57x.dtb \
Signature · 1 line
2.37.3
#3 lore raw
In reply to Andrew Davis

Hi Andrew & Rob,

Quoted 6 lines · Andrew Davis

Hello all,

These is an uncontroversial (hopefully) DT Overlay to support the TI AM57x EVM. More complex cases are staged and ready to follow but wanted to test the water with this one.

Quoted 6 lines

For some reason dtbs_check does not get run on overlays, this will need further investigation to fix in kbuild. For now I ran it through manually but am not 100% sure it actually checked it, so double checks here very welcome.

Series depends on https://www.spinics.net/lists/kernel/msg4548509.html

Looks like we now have commit 26c9134a370a ("Merge branch 'dt/dtbo-rename' into dt/next") in Linux next.

Can these two patches now be applied if I merge in the commit above?

Regards,

Tony

#4 lore raw
Quoted 14 lines · Tony Lindgren

Hi Andrew & Rob,

Quoted 11 lines · Andrew Davis

Hello all,

These is an uncontroversial (hopefully) DT Overlay to support the TI AM57x EVM. More complex cases are staged and ready to follow but wanted to test the water with this one.

For some reason dtbs_check does not get run on overlays, this will need further investigation to fix in kbuild. For now I ran it through manually but am not 100% sure it actually checked it, so double checks here very welcome.

Quoted 7 lines
Quoted 1 line

Series depends on https://www.spinics.net/lists/kernel/msg4548509.html

Looks like we now have commit 26c9134a370a ("Merge branch 'dt/dtbo-rename' into dt/next") in Linux next.

Can these two patches now be applied if I merge in the commit above?

26c9134a370a is the same (v2) as the series (v1) I pointed to in the commit message. This series works on top of either.

Thanks,
Andrew

Quoted 3 lines

Regards,

Tony

#5 lore raw
Quoted 17 lines · Andrew Davis
Quoted 16 lines · Tony Lindgren

Hi Andrew & Rob,

Quoted 12 lines · Andrew Davis

Hello all,

These is an uncontroversial (hopefully) DT Overlay to support the TI AM57x EVM. More complex cases are staged and ready to follow but wanted to test the water with this one.

For some reason dtbs_check does not get run on overlays, this will need further investigation to fix in kbuild. For now I ran it through manually but am not 100% sure it actually checked it, so double checks here very welcome.

Series depends on https://www.spinics.net/lists/kernel/msg4548509.html

Quoted 8 lines
Quoted 5 lines

Looks like we now have commit 26c9134a370a ("Merge branch 'dt/dtbo-rename' into dt/next") in Linux next.

Can these two patches now be applied if I merge in the commit above?

26c9134a370a is the same (v2) as the series (v1) I pointed to in the commit message. This series works on top of either.

Rob, are those commits immutable and OK to use as a base?

Regards,

Tony

#6 lore raw
Quoted 21 lines · Tony Lindgren
Quoted 20 lines · Andrew Davis
Quoted 19 lines · Tony Lindgren

Hi Andrew & Rob,

Quoted 6 lines · Andrew Davis

Hello all,

These is an uncontroversial (hopefully) DT Overlay to support the TI AM57x EVM. More complex cases are staged and ready to follow but wanted to test the water with this one.

Quoted 6 lines

For some reason dtbs_check does not get run on overlays, this will need further investigation to fix in kbuild. For now I ran it through manually but am not 100% sure it actually checked it, so double checks here very welcome.

Series depends on https://www.spinics.net/lists/kernel/msg4548509.html

Looks like we now have commit 26c9134a370a ("Merge branch 'dt/dtbo-rename' into dt/next") in Linux next.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Can these two patches now be applied if I merge in the commit above?

26c9134a370a is the same (v2) as the series (v1) I pointed to in the commit message. This series works on top of either.

Rob, are those commits immutable and OK to use as a base?

Andrew, I'm untagging these from my inbox, please resend when suitable.

Regards,

Tony