Skip to contentSkip to conversation

linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules

PATCH New Udit Kumar 1 participant 1 message Jun 23, 2023

lore
Share & tools
lore

Udit Kumar

author
#0 lore raw

PATCH 1/1 linux-ti-staging: add configuration for remoteproc/rpmsg IPC modules

* rpmsg_client_sample is a test module and should not be autoloaded
* Both k3_r5 and k3_dsp remoteproc modules depend on virtio_rpmsg_bus

Cc Denys Dmytriyenko <[email protected]>
Cc Ryan Eatmon <[email protected]>
Cc Praneeth Bajjuri <[email protected]>
Cc Apurva Nandan <[email protected]>
Cc Hari Nagalla <[email protected]>
---
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb +6 -0
index 69f82e8c..37296ffc 100644
@@ -36,3 +36,9 @@ KERNEL_GIT_PROTOCOL = "https"
 SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
             file://defconfig"
 
+# Special configuration for remoteproc/rpmsg IPC modules
+module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample"
+module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus"
+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"
+
Signature · 1 line
2.34.1