Skip to contentSkip to conversation

conf: machine: am62*: extend picking common overlays by prefix

PATCH Superseded Praneeth Bajjuri 2 participants 3 messages Nov 7, 2023 – Nov 8, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 conf: machine: am62*: extend picking common overlays by prefix

commit f5851386 ("conf: machine: am62*: Pick common overlays by prefix") picks common HDMI and CSI overlays for am62 platform variants.

Adding capability to extend the same prefix for common overlays for am62 family in more generic way to include new mcan overlays added [1]

[1]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?&id=3b01c392627f

given the differences in SK-AM62-LP containing B2B HDMI Samtec connector, just added the kernel prefix to pick common mcan overlay.

---
 meta-ti-bsp/conf/machine/am62axx-evm.conf   | 3 +--
 meta-ti-bsp/conf/machine/am62pxx-evm.conf   | 3 +--
 meta-ti-bsp/conf/machine/am62xx-evm.conf    | 3 +--
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
 4 files changed, 4 insertions(+), 6 deletions(-)
meta-ti-bsp/conf/machine/am62axx-evm.conf +1 -2
index ef60e9d1..22f61401 100644
@@ -6,8 +6,7 @@ require conf/machine/include/am62axx.inc
 
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am62a7 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
     ti/k3-fpdlink \
 "
 
meta-ti-bsp/conf/machine/am62pxx-evm.conf +1 -2
index 931de953..5e0bab97 100644
@@ -6,8 +6,7 @@ require conf/machine/include/am62pxx.inc
 
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am62p5 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
 "
 
 KERNEL_DEVICETREE = " \
meta-ti-bsp/conf/machine/am62xx-evm.conf +1 -2
index b60ba156..fadbc6f4 100644
@@ -7,8 +7,7 @@ require conf/machine/include/ti-extras.inc
 
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am625 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
 "
 
 KERNEL_DEVICETREE = " \
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1 -0
index 0d2f89ca..afa5e061 100644
@@ -8,6 +8,7 @@ KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am62-lp \
     ti/k3-am625-sk \
     ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk-mcan \
 "
 
 KERNEL_DEVICETREE = " \
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Praneeth,

Thanks for the patch.

meta-ti-bsp/conf/machine/am62xx-evm.conf

Quoted 51 lines · Praneeth Bajjuri

commit f5851386 ("conf: machine: am62*: Pick common overlays by prefix") picks common HDMI and CSI overlays for am62 platform variants.

Adding capability to extend the same prefix for common overlays for am62 family in more generic way to include new mcan overlays added [1]

[1]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?&id=3b01c392627f

given the differences in SK-AM62-LP containing B2B HDMI Samtec connector, just added the kernel prefix to pick common mcan overlay.

---
 meta-ti-bsp/conf/machine/am62axx-evm.conf   | 3 +--
 meta-ti-bsp/conf/machine/am62pxx-evm.conf   | 3 +--
 meta-ti-bsp/conf/machine/am62xx-evm.conf    | 3 +--
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
 4 files changed, 4 insertions(+), 6 deletions(-)
meta-ti-bsp/conf/machine/am62axx-evm.conf +1 -2
index ef60e9d1..22f61401 100644
@@ -6,8 +6,7 @@ require conf/machine/include/am62axx.inc
 
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am62a7 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
     ti/k3-fpdlink \
 "
 
meta-ti-bsp/conf/machine/am62pxx-evm.conf +1 -2
index 931de953..5e0bab97 100644
@@ -6,8 +6,7 @@ require conf/machine/include/am62pxx.inc
 
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am62p5 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
 "
 
 KERNEL_DEVICETREE = " \
meta-ti-bsp/conf/machine/am62xx-evm.conf +0 -0
index b60ba156..fadbc6f4 100644

I would guess we can also do this for am62xxsip-evm.conf. Or is MCAN not available on the SIP board for some reason?

With that handled -

Quoted 25 lines
meta-ti-bsp/conf/machine/am62xx-evm.conf +1 -2
@@ -7,8 +7,7 @@ require conf/machine/include/ti-extras.inc
 
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am625 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
 "
 
 KERNEL_DEVICETREE = " \
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1 -0
index 0d2f89ca..afa5e061 100644
@@ -8,6 +8,7 @@ KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am62-lp \
     ti/k3-am625-sk \
     ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk-mcan \
 "
 
 KERNEL_DEVICETREE = " \
Signature · 1 line
2.17.1

Thanks,
Jai

#2 lore raw
Quoted 51 lines · Jai Luthra

Hi Praneeth,

Thanks for the patch.

Quoted 46 lines · Praneeth Bajjuri

commit f5851386 ("conf: machine: am62*: Pick common overlays by prefix") picks common HDMI and CSI overlays for am62 platform variants.

Adding capability to extend the same prefix for common overlays for am62 family in more generic way to include new mcan overlays added [1]

[1]: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?&id=3b01c392627f

given the differences in SK-AM62-LP containing B2B HDMI Samtec connector, just added the kernel prefix to pick common mcan overlay.

---
  meta-ti-bsp/conf/machine/am62axx-evm.conf   | 3 +--
  meta-ti-bsp/conf/machine/am62pxx-evm.conf   | 3 +--
  meta-ti-bsp/conf/machine/am62xx-evm.conf    | 3 +--
  meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
  4 files changed, 4 insertions(+), 6 deletions(-)
meta-ti-bsp/conf/machine/am62axx-evm.conf +1 -2
index ef60e9d1..22f61401 100644
@@ -6,8 +6,7 @@ require conf/machine/include/am62axx.inc
 
  KERNEL_DEVICETREE_PREFIX = " \
      ti/k3-am62a7 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
      ti/k3-fpdlink \
  "
 
meta-ti-bsp/conf/machine/am62pxx-evm.conf +1 -2
index 931de953..5e0bab97 100644
@@ -6,8 +6,7 @@ require conf/machine/include/am62pxx.inc
 
  KERNEL_DEVICETREE_PREFIX = " \
      ti/k3-am62p5 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
  "
 
Quoted 8 lines

meta-ti-bsp/conf/machine/am62xx-evm.conf

Quoted 5 lines
meta-ti-bsp/conf/machine/am62pxx-evm.conf +0 -0
  KERNEL_DEVICETREE = " \
meta-ti-bsp/conf/machine/am62xx-evm.conf +0 -0
index b60ba156..fadbc6f4 100644

I would guess we can also do this for am62xxsip-evm.conf. Or is MCAN not available on the SIP board for some reason?

Thanks for catching it.
Will send a v2 with sip

Quoted 32 lines

With that handled -

Quoted 25 lines
meta-ti-bsp/conf/machine/am62xx-evm.conf +1 -2
@@ -7,8 +7,7 @@ require conf/machine/include/ti-extras.inc
 
  KERNEL_DEVICETREE_PREFIX = " \
      ti/k3-am625 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
  "
 
  KERNEL_DEVICETREE = " \
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1 -0
index 0d2f89ca..afa5e061 100644
@@ -8,6 +8,7 @@ KERNEL_DEVICETREE_PREFIX = " \
      ti/k3-am62-lp \
      ti/k3-am625-sk \
      ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk-mcan \
  "
 
  KERNEL_DEVICETREE = " \
Signature · 1 line
2.17.1

Thanks,
Jai