linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Add remoteproc driver for DSP on i.MX
@ 2021-09-03  9:29 Shengjiu Wang
  2021-09-03  9:29 ` [PATCH v3 1/4] remoteproc: imx_rproc: Move common structure to header file Shengjiu Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Shengjiu Wang @ 2021-09-03  9:29 UTC (permalink / raw)
  To: ohad, bjorn.andersson, mathieu.poirier, robh+dt, shawnguo,
	s.hauer, kernel, festevam
  Cc: linux-imx, linux-remoteproc, devicetree, linux-arm-kernel,
	linux-kernel, shengjiu.wang

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.

changes in v3:
- Add this cover letter
- refine clock-names according to Rob's comments
- move common struct from imx_rproc.c to header file
- add IMX_RPROC_SCU_API enum item
- refine driver according to Mathieu's comments

changes in v2:
- change syscon to fsl,dsp-ctrl
- add items for clock-names

Shengjiu Wang (4):
  remoteproc: imx_rproc: Move common structure to header file
  remoteproc: imx_rproc: Add IMX_RPROC_SCU_API method
  dt-bindings: remoteproc: Add fsl,imx-dsp-rproc binding document
  remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX

 .../remoteproc/fsl,imx-dsp-rproc.yaml         |  131 ++
 drivers/remoteproc/Kconfig                    |   11 +
 drivers/remoteproc/Makefile                   |    1 +
 drivers/remoteproc/imx_dsp_rproc.c            | 1178 +++++++++++++++++
 drivers/remoteproc/imx_rproc.c                |   28 +-
 drivers/remoteproc/imx_rproc.h                |   39 +
 6 files changed, 1361 insertions(+), 27 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/fsl,imx-dsp-rproc.yaml
 create mode 100644 drivers/remoteproc/imx_dsp_rproc.c
 create mode 100644 drivers/remoteproc/imx_rproc.h

-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-09-08  7:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03  9:29 [PATCH v3 0/4] Add remoteproc driver for DSP on i.MX Shengjiu Wang
2021-09-03  9:29 ` [PATCH v3 1/4] remoteproc: imx_rproc: Move common structure to header file Shengjiu Wang
2021-09-03  9:29 ` [PATCH v3 2/4] remoteproc: imx_rproc: Add IMX_RPROC_SCU_API method Shengjiu Wang
2021-09-03  9:29 ` [PATCH v3 3/4] dt-bindings: remoteproc: Add fsl,imx-dsp-rproc binding document Shengjiu Wang
2021-09-03 16:42   ` Rob Herring
2021-09-03 16:50     ` Rob Herring
2021-09-04  2:58       ` Shengjiu Wang
2021-09-07 12:50         ` Rob Herring
2021-09-08  7:23           ` Shengjiu Wang
2021-09-03  9:29 ` [PATCH v3 4/4] remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX Shengjiu Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).