diff mbox series

[v4,2/4] remoteproc: imx_rproc: Add IMX_RPROC_SCU_API method

Message ID 1631092255-25150-3-git-send-email-shengjiu.wang@nxp.com
State Accepted
Commit d2320a042e57412e030b10af37797e22bce87da6
Headers show
Series Add remoteproc driver for DSP on i.MX | expand

Commit Message

Shengjiu Wang Sept. 8, 2021, 9:10 a.m. UTC
On i.MX8QM and i.MX8QXP, most devices are controlled
by System Control Unit, so add IMX_RPROC_SCU_API
method for these platform.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
 drivers/remoteproc/imx_rproc.h | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.17.1

Comments

Mathieu Poirier Sept. 14, 2021, 5:47 p.m. UTC | #1
On Wed, Sep 08, 2021 at 05:10:53PM +0800, Shengjiu Wang wrote:
> On i.MX8QM and i.MX8QXP, most devices are controlled

> by System Control Unit, so add IMX_RPROC_SCU_API

> method for these platform.

> 

> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>

> ---

>  drivers/remoteproc/imx_rproc.h | 2 ++

>  1 file changed, 2 insertions(+)

> 

> diff --git a/drivers/remoteproc/imx_rproc.h b/drivers/remoteproc/imx_rproc.h

> index 23d8e808d27f..1c7e2127c758 100644

> --- a/drivers/remoteproc/imx_rproc.h

> +++ b/drivers/remoteproc/imx_rproc.h

> @@ -22,6 +22,8 @@ enum imx_rproc_method {

>  	IMX_RPROC_MMIO,

>  	/* Through ARM SMCCC */

>  	IMX_RPROC_SMC,

> +	/* Through System Control Unit API */

> +	IMX_RPROC_SCU_API,


So much better now...

Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>


>  };

>  

>  struct imx_rproc_dcfg {

> -- 

> 2.17.1

>
diff mbox series

Patch

diff --git a/drivers/remoteproc/imx_rproc.h b/drivers/remoteproc/imx_rproc.h
index 23d8e808d27f..1c7e2127c758 100644
--- a/drivers/remoteproc/imx_rproc.h
+++ b/drivers/remoteproc/imx_rproc.h
@@ -22,6 +22,8 @@  enum imx_rproc_method {
 	IMX_RPROC_MMIO,
 	/* Through ARM SMCCC */
 	IMX_RPROC_SMC,
+	/* Through System Control Unit API */
+	IMX_RPROC_SCU_API,
 };
 
 struct imx_rproc_dcfg {