meta-ti: conf: am6xx: Add display DT overlay support
PATCH 1/1 meta-ti: conf: am6xx: Add display DT overlay support
Add the Microtips OLDI Panel DT overlay for AM625-SK, AM62-LP SK and Rocktech OLDI LCD DT overlay for AM654-EVM.
--- meta-ti-bsp/conf/machine/am62xx-evm.conf | 1 + meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 + meta-ti-bsp/conf/machine/include/am65xx.inc | 1 + 3 files changed, 3 insertions(+)
meta-ti-bsp/conf/machine/am62xx-evm.conf +1 -0
@@ -8,6 +8,7 @@ KERNEL_DEVICETREE_PREFIX = "ti/k3-am625" KERNEL_DEVICETREE = " \ ti/k3-am625-sk.dtb \ + ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \ " UBOOT_MACHINE = "am62x_evm_a53_defconfig"
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1 -0
@@ -11,6 +11,7 @@ KERNEL_DEVICETREE_PREFIX = " \ KERNEL_DEVICETREE = " \ ti/k3-am62x-lp-sk.dtb \ + ti/k3-am62-lp-sk-microtips-mf101hie-panel.dtbo \ " SPL_BINARY = "tispl.bin_HS"
meta-ti-bsp/conf/machine/include/am65xx.inc +1 -0
@@ -9,6 +9,7 @@ KERNEL_DEVICETREE_PREFIX = "ti/k3-am654" KERNEL_DEVICETREE = " \ ti/k3-am654-base-board.dtb \ + ti/k3-am654-evm-oldi-lcd1evm.dtbo \ " # On AM65x the file tiboot3.bin comes from the bootloader not ti-sci-fw
Signature · 1 line
2.40.1
Quoted 15 lines · Aradhya Bhatia
Add the Microtips OLDI Panel DT overlay for AM625-SK, AM62-LP SK and Rocktech OLDI LCD DT overlay for AM654-EVM.
Signed-off-by Aradhya Bhatia <[email protected]>--- meta-ti-bsp/conf/machine/am62xx-evm.conf | 1 + meta-ti-bsp/conf/machine/am62xx-lp-evm.conf | 1 + meta-ti-bsp/conf/machine/include/am65xx.inc | 1 + 3 files changed, 3 insertions(+)meta-ti-bsp/conf/machine/am62xx-evm.conf +0
-0
meta-ti-bsp/conf/machine/am62xx-evm.conf KERNEL_DEVICETREE_PREFIX = "ti/k3-am625" · line 12
Quoted 5 lines
meta-ti-bsp/conf/machine/am62xx-evm.conf +1
-0@@ -8,6 +8,7 @@ KERNEL_DEVICETREE_PREFIX = "ti/k3-am625" KERNEL_DEVICETREE = " \ ti/k3-am625-sk.dtb \ + ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \ "
Starting in kirkstone, to support multiple kernels that might have differing sets of dtb overlays, we introduces the KERNEL_DEVICETREE_PREFIX variable to allow for pattern matches to pick the dtbs.
The only items that should appear in KERNEL_DEVICETREE are dtbs that are in the upstream kernel (latest and greatest).
Since the KERNEL_DEVICETREE_PREFIX covers what you are wanting to add, you do not need this change at all.
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf KERNEL_DEVICETREE_PREFIX = " \ · line 15
Quoted 11 lines
meta-ti-bsp/conf/machine/am62xx-evm.conf +0
-0UBOOT_MACHINE = "am62x_evm_a53_defconfig"meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1
-0@@ -11,6 +11,7 @@ KERNEL_DEVICETREE_PREFIX = " \ KERNEL_DEVICETREE = " \ ti/k3-am62x-lp-sk.dtb \ + ti/k3-am62-lp-sk-microtips-mf101hie-panel.dtbo \ "
In this case the KERNEL_DEVICETREE_PREFIX does not cover what you are adding, so you would need to change the PREFIX to:
KERNEL_DEVICETREE_PREFIX = " \
ti/k3-am62x-lp \
ti/k3-am62-lp \
ti/k3-am625-sk \"
meta-ti-bsp/conf/machine/include/am65xx.inc KERNEL_DEVICETREE_PREFIX = "ti/k3-am654" · line 13
Quoted 11 lines
meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +0
-0SPL_BINARY = "tispl.bin_HS"meta-ti-bsp/conf/machine/include/am65xx.inc +1
-0@@ -9,6 +9,7 @@ KERNEL_DEVICETREE_PREFIX = "ti/k3-am654" KERNEL_DEVICETREE = " \ ti/k3-am654-base-board.dtb \ + ti/k3-am654-evm-oldi-lcd1evm.dtbo \ "
Since the KERNEL_DEVICETREE_PREFIX covers what you are wanting to add, you do not need this change at all.
Quoted 1 line
meta-ti-bsp/conf/machine/include/am65xx.inc +0
-0# On AM65x the file tiboot3.bin comes from the bootloader not ti-sci-fw
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
Ryan,
Thank you for reviewing the patch.
Quoted 50 lines · Ryan Eatmon
Quoted 19 lines · Aradhya Bhatia
Add the Microtips OLDI Panel DT overlay for AM625-SK, AM62-LP SK and Rocktech OLDI LCD DT overlay for AM654-EVM.
Signed-off-by Aradhya Bhatia <[email protected]>---
meta-ti-bsp/conf/machine/am62xx-evm.conf | 1 +meta-ti-bsp/conf/machine/am62xx-lp-evm.conf| 1 + meta-ti-bsp/conf/machine/include/am65xx.inc | 1 +3 files changed, 3 insertions(+)meta-ti-bsp/conf/machine/am62xx-evm.conf +1
-0@@ -8,6 +8,7 @@ KERNEL_DEVICETREE_PREFIX = "ti/k3-am625" KERNEL_DEVICETREE = " \ ti/k3-am625-sk.dtb \ + ti/k3-am625-sk-microtips-mf101hie-panel.dtbo \Quoted 1 line
"
Starting in kirkstone, to support multiple kernels that might have differing sets of dtb overlays, we introduces the
KERNEL_DEVICETREE_PREFIXvariable to allow for pattern matches to pick the dtbs.The only items that should appear in
KERNEL_DEVICETREEare dtbs that are in the upstream kernel (latest and greatest).Since the
KERNEL_DEVICETREE_PREFIXcovers what you are wanting to add, you do not need this change at all.Quoted 11 lines
UBOOT_MACHINE= "am62x_evm_a53_defconfig"meta-ti-bsp/conf/machine/am62xx-lp-evm.conf +1
-0@@ -11,6 +11,7 @@ KERNEL_DEVICETREE_PREFIX = " \ KERNEL_DEVICETREE = " \ ti/k3-am62x-lp-sk.dtb \ + ti/k3-am62-lp-sk-microtips-mf101hie-panel.dtbo \"
In this case the
KERNEL_DEVICETREE_PREFIXdoes not cover what you are adding, so you would need to change the PREFIX to:
Quoted 5 lines
KERNEL_DEVICETREE_PREFIX= " \
ti/k3-am62x-lp \
ti/k3-am62-lp \
ti/k3-am625-sk \
"
"ti/k3-am62-lp" should be supported instead of "ti/k3-am62x-lp" as the name of the AM62-LP SK DT as been finalized to k3-am62-lp-sk.dts in the kernel.[1]
I have sent the fix.
Regards
Aradhya
[1]:
https://lore.kernel.org/all/[email protected]/
Quoted 19 lines
Quoted 11 lines
SPL_BINARY= "tispl.bin_HS"meta-ti-bsp/conf/machine/include/am65xx.inc +1
-0@@ -9,6 +9,7 @@ KERNEL_DEVICETREE_PREFIX = "ti/k3-am654" KERNEL_DEVICETREE = " \ ti/k3-am654-base-board.dtb \ + ti/k3-am654-evm-oldi-lcd1evm.dtbo \Quoted 1 line
"
Since the
KERNEL_DEVICETREE_PREFIXcovers what you are wanting to add, you do not need this change at all.Quoted 1 line
# On AM65x the file tiboot3.bin comes from the bootloader not ti-sci-fw