Skip to contentSkip to conversation

linux-ti-staging: block sa2ul for am64x hs and j7200 hs device

PATCH In review Yogesh Siraswar 2 participants 2 messages Dec 10, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-ti-staging: block sa2ul for am64x hs and j7200 hs device

SA2UL GP driver will not work for HS. Need SA2UL HS driver. Till it is implemented blacklist sa2ul for am64xx hs and j7200 hs

Change Suggested by: Denys Dmytriyenko <[email protected]>

---
 recipes-kernel/linux/linux-ti-staging_5.10.bb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging_5.10.bb +7 -1
index 9fd9506e..3f3d50af 100644
@@ -27,7 +27,7 @@ SRCREV = "dcc6bedb2c2bdb509709e4ae08303206e95ce6c2"
 PV = "5.10.65+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "a"
+MACHINE_KERNEL_PR_append = "b"
 PR = "${MACHINE_KERNEL_PR}"
 
 KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
@@ -43,3 +43,9 @@ module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg
 module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
 KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
 KERNEL_MODULE_AUTOLOAD_append_j7 = " rpmsg_kdrv_switch"
+
+# Disable SA2UL for AM64x HS and J7200 HS
+module_conf_sa2ul_am64xx-hs-evm = "blacklist sa2ul"
+KERNEL_MODULE_PROBECONF_append_am64xx-hs-evm = " sa2ul"
+module_conf_sa2ul_j7200-hs-evm = "blacklist sa2ul"
+KERNEL_MODULE_PROBECONF_append_j7200-hs-evm = " sa2ul"
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Yogesh Siraswar via lists.yoctoproject.org

SA2UL GP driver will not work for HS. Need SA2UL HS driver. Till it is implemented blacklist sa2ul for am64xx hs and j7200 hs

Change Suggested by: Denys Dmytriyenko <[email protected]>

BTW, there's a standard Suggested-by: tag...

Quoted 1 line
Quoted 30 lines
---
 recipes-kernel/linux/linux-ti-staging_5.10.bb | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-ti-staging_5.10.bb +7 -1
index 9fd9506e..3f3d50af 100644
@@ -27,7 +27,7 @@ SRCREV = "dcc6bedb2c2bdb509709e4ae08303206e95ce6c2"
 PV = "5.10.65+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "a"
+MACHINE_KERNEL_PR_append = "b"
 PR = "${MACHINE_KERNEL_PR}"
 
 KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
@@ -43,3 +43,9 @@ module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg
 module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
 KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
 KERNEL_MODULE_AUTOLOAD_append_j7 = " rpmsg_kdrv_switch"
+
+# Disable SA2UL for AM64x HS and J7200 HS
+module_conf_sa2ul_am64xx-hs-evm = "blacklist sa2ul"
+KERNEL_MODULE_PROBECONF_append_am64xx-hs-evm = " sa2ul"
+module_conf_sa2ul_j7200-hs-evm = "blacklist sa2ul"
+KERNEL_MODULE_PROBECONF_append_j7200-hs-evm = " sa2ul"
Signature · 1 line
2.17.1