mbox series

[v6,0/4] Add remoteproc driver for DSP on i.MX

Message ID 1633944015-789-1-git-send-email-shengjiu.wang@nxp.com (mailing list archive)
Headers show
Series Add remoteproc driver for DSP on i.MX | expand

Message

Shengjiu Wang Oct. 11, 2021, 9:20 a.m. UTC
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 v6:
- fix the apply issue for linux-next
- add if/then schema according to Rob's comments

changes in v5:
- refine driver according to Mathieu's comments

changes in v4:
- merge binding doc to fsl,dsp.yaml for Rob's comments

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
  remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX
  dt-bindings: dsp: fsl: update binding document for remote proc driver

 .../devicetree/bindings/dsp/fsl,dsp.yaml      |  123 +-
 drivers/remoteproc/Kconfig                    |   11 +
 drivers/remoteproc/Makefile                   |    1 +
 drivers/remoteproc/imx_dsp_rproc.c            | 1206 +++++++++++++++++
 drivers/remoteproc/imx_rproc.c                |   28 +-
 drivers/remoteproc/imx_rproc.h                |   39 +
 6 files changed, 1375 insertions(+), 33 deletions(-)
 create mode 100644 drivers/remoteproc/imx_dsp_rproc.c
 create mode 100644 drivers/remoteproc/imx_rproc.h

Comments

Mathieu Poirier Oct. 12, 2021, 3:56 p.m. UTC | #1
On Mon, Oct 11, 2021 at 05:20:11PM +0800, Shengjiu Wang wrote:
> 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 v6:
> - fix the apply issue for linux-next
> - add if/then schema according to Rob's comments
> 
> changes in v5:
> - refine driver according to Mathieu's comments
> 
> changes in v4:
> - merge binding doc to fsl,dsp.yaml for Rob's comments
> 
> 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
>   remoteproc: imx_dsp_rproc: Add remoteproc driver for DSP on i.MX
>   dt-bindings: dsp: fsl: update binding document for remote proc driver
> 
>  .../devicetree/bindings/dsp/fsl,dsp.yaml      |  123 +-
>  drivers/remoteproc/Kconfig                    |   11 +
>  drivers/remoteproc/Makefile                   |    1 +
>  drivers/remoteproc/imx_dsp_rproc.c            | 1206 +++++++++++++++++
>  drivers/remoteproc/imx_rproc.c                |   28 +-
>  drivers/remoteproc/imx_rproc.h                |   39 +
>  6 files changed, 1375 insertions(+), 33 deletions(-)
>  create mode 100644 drivers/remoteproc/imx_dsp_rproc.c
>  create mode 100644 drivers/remoteproc/imx_rproc.h

I have applied this set.

Thanks,
Mathieu

> 
> -- 
> 2.17.1
>