Skip to contentSkip to conversation

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

PATCH In review Praneeth Bajjuri 4 participants 6 messages Nov 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 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 applicable am62 platforms 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.

for am62pxx: It has 4 MCANs vs all other am62xx devices have 3 MCANs, hence keeping this prefix seperate for am62pxx to pick right overlay.

---
v2: updated am62xxsip conf and updated for am62pxx to pick different mcan overlay

 meta-ti-bsp/conf/machine/am62axx-evm.conf   | 3 +--
 meta-ti-bsp/conf/machine/am62xx-evm.conf    | 3 +--
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
 meta-ti-bsp/conf/machine/am62xxsip-evm.conf | 4 ++--
 4 files changed, 5 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/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 = " \
meta-ti-bsp/conf/machine/am62xxsip-evm.conf +2 -2
index b3bda44a..cae58afe 100644
@@ -6,8 +6,8 @@ require conf/machine/include/am62xx.inc
 
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am625 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
+
 "
 
 KERNEL_DEVICETREE = " \
Signature · 1 line
2.17.1
Reviewed-by on v2 1/1
#1 lore raw

Hi,

Quoted 6 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 applicable am62 platforms in more generic way to include new mcan overlays added [1]

Quoted 8 lines

[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.

for am62pxx: It has 4 MCANs vs all other am62xx devices have 3 MCANs, hence keeping this prefix seperate for am62pxx to pick right overlay.

Quoted 69 lines

---
v2: updated am62xxsip conf and updated for am62pxx to pick different mcan overlay

 meta-ti-bsp/conf/machine/am62axx-evm.conf   | 3 +--
 meta-ti-bsp/conf/machine/am62xx-evm.conf    | 3 +--
 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
 meta-ti-bsp/conf/machine/am62xxsip-evm.conf | 4 ++--
 4 files changed, 5 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/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 = " \
meta-ti-bsp/conf/machine/am62xxsip-evm.conf +2 -2
index b3bda44a..cae58afe 100644
@@ -6,8 +6,8 @@ require conf/machine/include/am62xx.inc
 
 KERNEL_DEVICETREE_PREFIX = " \
     ti/k3-am625 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
+
 "
 
 KERNEL_DEVICETREE = " \
Signature · 1 line
2.17.1
Signature · 4 lines
Thanks,
Jai

GPG Fingerprint: 4DE0 D818 E5D5 75E8 D45A AFC5 43DE 91F9 249A 7145
#2 lore raw
In reply to Praneeth Bajjuri

Hi Praneeth,

Quoted 58 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 applicable am62 platforms 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.

for am62pxx: It has 4 MCANs vs all other am62xx devices have 3 MCANs, hence keeping this prefix seperate for am62pxx to pick right overlay.

---
v2: updated am62xxsip conf and updated for am62pxx to pick different mcan overlay

  meta-ti-bsp/conf/machine/am62axx-evm.conf   | 3 +--
  meta-ti-bsp/conf/machine/am62xx-evm.conf    | 3 +--
  meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
  meta-ti-bsp/conf/machine/am62xxsip-evm.conf | 4 ++--
  4 files changed, 5 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/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 +0 -0
index 0d2f89ca..afa5e061 100644

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

Quoted 5 lines
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1 -0
@@ -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 \
  "

This change is not required for 62 LP. MCAN overlay is already included here:

       ti/k3-am625-sk \
Quoted 7 lines
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +0 -0
  KERNEL_DEVICETREE = " \
meta-ti-bsp/conf/machine/am62xxsip-evm.conf +0 -0
index b3bda44a..cae58afe 100644

meta-ti-bsp/conf/machine/am62xxsip-evm.conf require conf/machine/include/am62xx.inc · line 13

Quoted 10 lines
meta-ti-bsp/conf/machine/am62xxsip-evm.conf +2 -2
@@ -6,8 +6,8 @@ require conf/machine/include/am62xx.inc
 
  KERNEL_DEVICETREE_PREFIX = " \
      ti/k3-am625 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
+
  "
 
  KERNEL_DEVICETREE = " \

~ Judith

#3 lore raw
Quoted 66 lines · Judith Mendez

Hi Praneeth,

Quoted 58 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 applicable am62 platforms 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.

for am62pxx: It has 4 MCANs vs all other am62xx devices have 3 MCANs, hence keeping this prefix seperate for am62pxx to pick right overlay.

---
v2: updated am62xxsip conf and updated for am62pxx to pick different mcan overlay

  meta-ti-bsp/conf/machine/am62axx-evm.conf   | 3 +-- meta-ti-bsp/conf/machine/am62xx-evm.conf    | 3 +-- meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 + meta-ti-bsp/conf/machine/am62xxsip-evm.conf | 4 ++--

  4 files changed, 5 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/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 \
Quoted 1 line

  "

This change is not required for 62 LP. MCAN overlay is already included here:

Quoted 1 line

       ti/k3-am625-sk \

Are you sure?

ti/k3-am625-sk != ti/k3-am62x-sk

5 versus x

Quoted 16 lines
Quoted 12 lines

  KERNEL_DEVICETREE = " \

meta-ti-bsp/conf/machine/am62xxsip-evm.conf +2 -2
index b3bda44a..cae58afe 100644
@@ -6,8 +6,8 @@ require conf/machine/include/am62xx.inc
   KERNEL_DEVICETREE_PREFIX = " \
       ti/k3-am625 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
+
Quoted 2 lines

  "
  KERNEL_DEVICETREE = " \

~ Judith

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#4 lore raw
Quoted 69 lines · Ryan Eatmon
Quoted 66 lines · Judith Mendez

Hi Praneeth,

Quoted 58 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 applicable am62 platforms 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.

for am62pxx: It has 4 MCANs vs all other am62xx devices have 3 MCANs, hence keeping this prefix seperate for am62pxx to pick right overlay.

---
v2: updated am62xxsip conf and updated for am62pxx to pick different mcan overlay

  meta-ti-bsp/conf/machine/am62axx-evm.conf   | 3 +-- meta-ti-bsp/conf/machine/am62xx-evm.conf    | 3 +-- meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 + meta-ti-bsp/conf/machine/am62xxsip-evm.conf | 4 ++--

  4 files changed, 5 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/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 \
Quoted 1 line

  "

This change is not required for 62 LP. MCAN overlay is already included here:

Quoted 8 lines
Quoted 1 line

        ti/k3-am625-sk \

Are you sure?

ti/k3-am625-sk != ti/k3-am62x-sk

5 versus x

My apologies, I saw an x instead of 5. The change is correct

Quoted 19 lines
Quoted 18 lines
Quoted 14 lines

  KERNEL_DEVICETREE = " \

meta-ti-bsp/conf/machine/am62xxsip-evm.conf +2 -2
index b3bda44a..cae58afe 100644
@@ -6,8 +6,8 @@ require conf/machine/include/am62xx.inc
   KERNEL_DEVICETREE_PREFIX = " \
       ti/k3-am625 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
+
Quoted 2 lines

  "
  KERNEL_DEVICETREE = " \

~ Judith

Reviewed-by on v2 1/1
#5 lore raw
In reply to Praneeth Bajjuri

Hi all,

Quoted 6 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 applicable am62 platforms in more generic way to include new mcan overlays added [1]

Quoted 8 lines

[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.

for am62pxx: It has 4 MCANs vs all other am62xx devices have 3 MCANs, hence keeping this prefix seperate for am62pxx to pick right overlay.

Looks good to me.

Quoted 66 lines

---
v2: updated am62xxsip conf and updated for am62pxx to pick different mcan overlay

  meta-ti-bsp/conf/machine/am62axx-evm.conf   | 3 +--
  meta-ti-bsp/conf/machine/am62xx-evm.conf    | 3 +--
  meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 +
  meta-ti-bsp/conf/machine/am62xxsip-evm.conf | 4 ++--
  4 files changed, 5 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/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 = " \
meta-ti-bsp/conf/machine/am62xxsip-evm.conf +2 -2
index b3bda44a..cae58afe 100644
@@ -6,8 +6,8 @@ require conf/machine/include/am62xx.inc
 
  KERNEL_DEVICETREE_PREFIX = " \
      ti/k3-am625 \
-    ti/k3-am62x-sk-csi2 \
-    ti/k3-am62x-sk-hdmi \
+    ti/k3-am62x-sk \
+
  "
 
  KERNEL_DEVICETREE = " \