conf: machine: am62*: extend picking common overlays by prefix
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
@@ -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
@@ -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
@@ -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
@@ -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
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.
Signed-off-by Praneeth Bajjuri <[email protected]>--- 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@@ -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@@ -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
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@@ -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
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.
Signed-off-by Praneeth Bajjuri <[email protected]>--- 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@@ -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@@ -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
-0KERNEL_DEVICETREE = " \meta-ti-bsp/conf/machine/am62xx-evm.conf +0
-0I 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 -
Reviewed-by Jai Luthra <[email protected]>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@@ -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.1Thanks,
Jai