Skip to contentSkip to conversation

1/2 conf: machine: Include MCSPI overlay for am62p and am62 LP

PATCH Superseded Judith Mendez 3 participants 6 messages Oct 14, 2025 – Oct 23, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1/2 conf: machine: Include MCSPI overlay for am62p and am62 LP

MCSPI overlay can be used for all am62* SK boards as well as am62p SK, so include the overlay for am62p and am62 LP SK builds since it is not included in the default configuration.

---
 meta-ti-bsp/conf/machine/am62pxx-evm.conf   | 1 +
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
 2 files changed, 2 insertions(+)
meta-ti-bsp/conf/machine/am62pxx-evm.conf +1 -0
index a923d3e9..8a3747f8 100644
@@ -18,6 +18,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-am62x-sk-csi2-ov5640.dtbo \
     ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
     ti/k3-am62x-sk-hdmi-audio.dtbo \
+    ti/k3-am62x-sk-mcspi-loopback.dtbo \
 "
 
 FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1 -0
index 78bca1ab..d34801f2 100644
@@ -20,6 +20,7 @@ KERNEL_DEVICETREE = " \
     ti/k3-am62-lp-sk.dtb \
     ti/k3-am625-sk.dtb \
     ti/k3-am62x-sk-hdmi-audio.dtbo \
+    ti/k3-am62x-sk-mcspi-loopback.dtbo \
 "
 
 FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/1 2/2 conf: machine: Explicitly include overlays for am62 LP

AM62 LP SK configuration includes all PWM/EQEP/MCAN overlay in KERNEL_DEVICETREE_PREFIX but move to KERNEL_DEVICETREE and explicitly state the name of overlays that should be included for am62 LP SK build.

---
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +4 -4
index d34801f2..94457053 100644
@@ -7,20 +7,20 @@ require conf/machine/include/am62xx.inc
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am62-lp \
     ti/k3-am625-sk \
-    ti/k3-am62x-sk-dmtimer-pwm \
-    ti/k3-am62x-sk-eqep \
     ti/k3-am62x-sk-hdmi \
     ti/k3-am62x-sk-lpm \
-    ti/k3-am62x-sk-mcan \
-    ti/k3-am62x-sk-pwm \
 "
 
 KERNEL_DEVICETREE = " \
     ti/k3-am62-lp-sk-nand.dtbo \
     ti/k3-am62-lp-sk.dtb \
     ti/k3-am625-sk.dtb \
+    ti/k3-am62x-sk-dmtimer-pwm.dtbo \
+    ti/k3-am62x-sk-eqep.dtbo \
     ti/k3-am62x-sk-hdmi-audio.dtbo \
+    ti/k3-am62x-sk-mcan.dtbo \
     ti/k3-am62x-sk-mcspi-loopback.dtbo \
+    ti/k3-am62x-sk-pwm.dtbo \
 "
 
 FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb"
Signature · 1 line
2.34.1
#2 lore raw

Re: [meta-ti][scarthgap][PATCH] 2/2 conf: machine: Explicitly include overlays for am62 LP

Quoted 4 lines · Judith via lists.yoctoproject.org

AM62 LP SK configuration includes all PWM/EQEP/MCAN overlay in KERNEL_DEVICETREE_PREFIX but move to KERNEL_DEVICETREE and explicitly state the name of overlays that should be included for am62 LP SK build.

Why?

Quoted 46 lines
---
  meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +4 -5
index d34801f2..94457053 100644
@@ -7,20 +7,20 @@ require conf/machine/include/am62xx.inc
  KERNEL_DEVICETREE_PREFIX = " \
      ti/k3-am62-lp \
      ti/k3-am625-sk \
-    ti/k3-am62x-sk-dmtimer-pwm \
-    ti/k3-am62x-sk-eqep \
      ti/k3-am62x-sk-hdmi \
      ti/k3-am62x-sk-lpm \
-    ti/k3-am62x-sk-mcan \
-    ti/k3-am62x-sk-pwm \
  "
 
  KERNEL_DEVICETREE = " \
      ti/k3-am62-lp-sk-nand.dtbo \
      ti/k3-am62-lp-sk.dtb \
      ti/k3-am625-sk.dtb \
+    ti/k3-am62x-sk-dmtimer-pwm.dtbo \
+    ti/k3-am62x-sk-eqep.dtbo \
      ti/k3-am62x-sk-hdmi-audio.dtbo \
+    ti/k3-am62x-sk-mcan.dtbo \
      ti/k3-am62x-sk-mcspi-loopback.dtbo \
+    ti/k3-am62x-sk-pwm.dtbo \
  "
 
  FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#19122): https://lists.yoctoproject.org/g/meta-ti/message/19122
Mute This Topic: https://lists.yoctoproject.org/mt/115759763/3619733
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Re: [meta-ti][scarthgap][PATCH] 2/2 conf: machine: Explicitly include overlays for am62 LP

Hi Andrew,

Quoted 7 lines · Andrew Davis
Quoted 4 lines · Judith via lists.yoctoproject.org

AM62 LP SK configuration  includes all PWM/EQEP/MCAN overlay in KERNEL_DEVICETREE_PREFIX but move to KERNEL_DEVICETREE  and explicitly state the name of overlays that should be included for am62 LP SK build.

Why?

Yea, found out using KERNEL_DEVICETREE_PREFIX is the correct solution in our case, contrary to AI explanation between the two variables.

Will send v2 with just the SPI overlay patch.

~ Judith

#4 lore raw
In reply to Judith Mendez

meta-ti / na / 20251014200702.933617-1-jm

PRC Results: PASS

=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-ti][scarthgap][PATCH] 1/2 conf: machine: Include MCSPI overlay for am62p and am62 LP
WARN: You should be adding dtb files to KERNEL_DEVICETREE_PREFIX and not KERNEL_DEVICETREE (KERNEL-DEVICETREE-1)
patch:76
+ ti/k3-am62x-sk-mcspi-loopback.dtbo \

WARN: You should be adding dtb files to KERNEL_DEVICETREE_PREFIX and not KERNEL_DEVICETREE (KERNEL-DEVICETREE-1)
patch:88
+ ti/k3-am62x-sk-mcspi-loopback.dtbo \

WARN: Commit message does not include file/recipe name: 1/2 conf: machine: Include MCSPI overlay for am62p and am62 LP. (COMMIT-MESSAGE-2)
patch

WARN: Commit message should not include directory path to recipe: 1/2 conf: machine: Include MCSPI overlay for am62p and am62 LP.
conf:
machine: (COMMIT-MESSAGE-3)
patch

=========================================================
apply-yocto-patch: PASS
=========================================================
scarthgap
=====================
Summary:
- Patch Series: [meta-ti][scarthgap][PATCH] 1/2 conf: machine: Include MCSPI overlay for am62p and am62 LP
- Submitter: From: Judith Mendez <[email protected]>
- Date: Date: Tue, 14 Oct 2025 15:07:01 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 5f5a425ac346395afd7b188e8a17f29056d72ed7

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: scarthgap-wip
- Commit Author: Andrew Davis <[email protected]>
- Commit Subject: meta-ti-extras: dsptop: Explicitly allow build for AM57x
- Commit SHA: c8c3142da3517745c28232b4c910988235c721b0

Patches
----------------------------------------
All patches applied

=========================================================
check-yocto-repo: PASS
=========================================================
scarthgap
=====================
PASS

#5 lore raw
In reply to Judith Mendez
Quoted 27 lines · Judith via lists.yoctoproject.org

MCSPI overlay can be used for all am62* SK boards as well as am62p SK, so include the overlay for am62p and am62 LP SK builds since it is not included in the default configuration.

---
  meta-ti-bsp/conf/machine/am62pxx-evm.conf   | 1 +
  meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
  2 files changed, 2 insertions(+)
meta-ti-bsp/conf/machine/am62pxx-evm.conf +1 -0
index a923d3e9..8a3747f8 100644
@@ -18,6 +18,7 @@ KERNEL_DEVICETREE = " \
      ti/k3-am62x-sk-csi2-ov5640.dtbo \
      ti/k3-am62x-sk-csi2-tevi-ov5640.dtbo \
      ti/k3-am62x-sk-hdmi-audio.dtbo \
+    ti/k3-am62x-sk-mcspi-loopback.dtbo \
  "
 
  FIT_CONF_DEFAULT_DTB = "ti/k3-am62p5-sk.dtb"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +0 -0
index 78bca1ab..d34801f2 100644

meta-ti-bsp/conf/machine/am62xx-lp-evm.conf KERNEL_DEVICETREE = " \ · line 23

Quoted 4 lines
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1 -0
@@ -20,6 +20,7 @@ KERNEL_DEVICETREE = " \
      ti/k3-am62-lp-sk.dtb \
      ti/k3-am625-sk.dtb \
      ti/k3-am62x-sk-hdmi-audio.dtbo \
+    ti/k3-am62x-sk-mcspi-loopback.dtbo \

Should just add ti/k3-am62x-sk to KERNEL_DEVICETREE_PREFIX to include all these for us.

Andrew

Quoted 14 lines
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +0 -1
  "
 
  FIT_CONF_DEFAULT_DTB = "ti/k3-am62-lp-sk.dtb"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#19121): https://lists.yoctoproject.org/g/meta-ti/message/19121
Mute This Topic: https://lists.yoctoproject.org/mt/115759762/3619733
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-