Skip to content

Commit ec0e554

Browse files
TE-N-ShengjiuWangmathieupoirier
authored andcommitted
remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX
Provide a basic driver to control DSP processor found on NXP i.MX8QM, i.MX8QXP, i.MX8MP and i.MX8ULP. Currently it is able to resolve addresses between DSP and main CPU, start and stop the processor, suspend and resume. The communication between DSP and main CPU is based on mailbox, there are three mailbox channels (tx, rx, rxdb). This driver was tested on NXP i.MX8QM, i.MX8QXP, i.MX8MP and i.MX8ULP. Signed-off-by: Shengjiu Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
1 parent d2320a0 commit ec0e554

File tree

3 files changed

+1218
-0
lines changed

3 files changed

+1218
-0
lines changed

drivers/remoteproc/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@ config IMX_REMOTEPROC
3434

3535
It's safe to say N here.
3636

37+
config IMX_DSP_REMOTEPROC
38+
tristate "i.MX DSP remoteproc support"
39+
depends on ARCH_MXC
40+
depends on HAVE_ARM_SMCCC
41+
select MAILBOX
42+
help
43+
Say y here to support iMX's DSP remote processors via the remote
44+
processor framework.
45+
46+
It's safe to say N here.
47+
3748
config INGENIC_VPU_RPROC
3849
tristate "Ingenic JZ47xx VPU remoteproc support"
3950
depends on MIPS || COMPILE_TEST

drivers/remoteproc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ remoteproc-y += remoteproc_virtio.o
1212
remoteproc-y += remoteproc_elf_loader.o
1313
obj-$(CONFIG_REMOTEPROC_CDEV) += remoteproc_cdev.o
1414
obj-$(CONFIG_IMX_REMOTEPROC) += imx_rproc.o
15+
obj-$(CONFIG_IMX_DSP_REMOTEPROC) += imx_dsp_rproc.o
1516
obj-$(CONFIG_INGENIC_VPU_RPROC) += ingenic_rproc.o
1617
obj-$(CONFIG_MTK_SCP) += mtk_scp.o mtk_scp_ipi.o
1718
obj-$(CONFIG_OMAP_REMOTEPROC) += omap_remoteproc.o

0 commit comments

Comments
 (0)