remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 11 Oct 2021 09:20:14 +0000 (17:20 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 12 Oct 2021 15:16:58 +0000 (09:16 -0600)
commitec0e5549f3586d2cb99a05edd006d722ebad912c
treea934a7ef90ef3674b02b6266cee89863e008a1bf
parentd2320a042e57412e030b10af37797e22bce87da6
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 <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1633944015-789-4-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/Kconfig
drivers/remoteproc/Makefile
drivers/remoteproc/imx_dsp_rproc.c [new file with mode: 0644]