diff mbox series

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

Message ID 20251014200702.933617-2-jm@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [meta-ti,scarthgap] 2/2 conf: machine: Explicitly include overlays for am62 LP | expand

Commit Message

Judith Mendez Oct. 14, 2025, 8:07 p.m. UTC
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.

Signed-off-by: Judith Mendez <jm@ti.com>
---
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Andrew Davis Oct. 16, 2025, 3:29 p.m. UTC | #1
On 10/14/25 3:07 PM, Mendez, Judith via lists.yoctoproject.org wrote:
> 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?

> 
> Signed-off-by: Judith Mendez <jm@ti.com>
> ---
>   meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
> index d34801f2..94457053 100644
> --- a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
> +++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
> @@ -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: meta-ti+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [afd@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Judith Mendez Oct. 23, 2025, 8:18 p.m. UTC | #2
Hi Andrew,

On 10/16/25 10:29 AM, Andrew Davis wrote:
> On 10/14/25 3:07 PM, Mendez, Judith via lists.yoctoproject.org wrote:
>> 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
diff mbox series

Patch

diff --git a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
index d34801f2..94457053 100644
--- a/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
+++ b/meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
@@ -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"