linux/drivers/remoteproc
Arnd Bergmann 54595f2807 mailbox, remoteproc: omap2+: fix compile testing
Selecting CONFIG_OMAP2PLUS_MBOX while compile testing
causes a build failure:

WARNING: unmet direct dependencies detected for OMAP2PLUS_MBOX
  Depends on [n]: MAILBOX [=y] && (ARCH_OMAP2PLUS || ARCH_K3)
  Selected by [m]:
  - TI_K3_M4_REMOTEPROC [=m] && REMOTEPROC [=y] && (ARCH_K3 || COMPILE_TEST [=y])

Using 'select' to force-enable another subsystem is generally
a mistake and causes problems such as this one, so change the
three drivers that link against this driver to use 'depends on'
instead, and ensure the driver itself can be compile tested
regardless of the platform.

When compile-testing without CONFIG_TI_SCI_PROTOCOL=m, there
is a chance for a link failure, so add a careful dependency
on that.

arm-linux-gnueabi-ld: drivers/remoteproc/ti_k3_m4_remoteproc.o: in function `k3_m4_rproc_probe':
ti_k3_m4_remoteproc.c:(.text.k3_m4_rproc_probe+0x76): undefined reference to `devm_ti_sci_get_by_phandle'

Fixes: ebcf9008a8 ("remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Andrew Davis <afd@ti.com>
Reviewed-by: Martyn Welch <martyn.welch@collabora.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
2024-09-27 09:11:05 -05:00
..
da8xx_remoteproc.c
imx_dsp_rproc.c
imx_rproc.c remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init 2024-06-17 08:39:00 -06:00
imx_rproc.h
ingenic_rproc.c
Kconfig mailbox, remoteproc: omap2+: fix compile testing 2024-09-27 09:11:05 -05:00
keystone_remoteproc.c
Makefile
meson_mx_ao_arc.c
mtk_common.h remoteproc: mediatek: Support setting DRAM and IPI shared buffer sizes 2024-04-30 10:43:59 -06:00
mtk_scp_ipi.c remoteproc: mediatek: Support setting DRAM and IPI shared buffer sizes 2024-04-30 10:43:59 -06:00
mtk_scp.c remoteproc: mediatek: Increase MT8188/MT8195 SCP core0 DRAM size 2024-07-08 09:57:16 -06:00
omap_remoteproc.c remoteproc: omap: Use devm_rproc_add() helper 2024-06-13 10:05:11 -06:00
omap_remoteproc.h
pru_rproc.c
pru_rproc.h
qcom_common.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_common.h remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_pil_info.c
qcom_pil_info.h
qcom_q6v5_adsp.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_q6v5_mss.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_q6v5_pas.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_q6v5_wcss.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_q6v5.c
qcom_q6v5.h
qcom_sysmon.c
qcom_wcnss_iris.c
qcom_wcnss.c
qcom_wcnss.h
rcar_rproc.c
remoteproc_cdev.c
remoteproc_core.c
remoteproc_coredump.c
remoteproc_debugfs.c
remoteproc_elf_helpers.h
remoteproc_elf_loader.c
remoteproc_internal.h
remoteproc_sysfs.c
remoteproc_virtio.c virtio: rename find_vqs_info() op to find_vqs() 2024-07-17 05:20:57 -04:00
st_remoteproc.c
st_slim_rproc.c
stm32_rproc.c remoteproc: stm32_rproc: Fix mailbox interrupts queuing 2024-05-28 13:25:38 -06:00
ti_k3_dsp_remoteproc.c remoteproc: k3-dsp: Fix log levels where appropriate 2024-07-04 09:47:42 -06:00
ti_k3_r5_remoteproc.c remoteproc: k3-r5: Fix IPC-only mode detection 2024-07-01 10:37:26 -06:00
ti_sci_proc.h
wkup_m3_rproc.c
xlnx_r5_remoteproc.c remoteproc: xlnx: Add attach detach support 2024-07-04 09:47:35 -06:00