remoteproc: imx_rproc: Add IMX_RPROC_SCU_API method
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 11 Oct 2021 09:20:13 +0000 (17:20 +0800)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 12 Oct 2021 15:16:13 +0000 (09:16 -0600)
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>
Link: https://lore.kernel.org/r/1633944015-789-3-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/imx_rproc.h

index 23d8e808d27fc0293e619fb4ba478cd69a61fa6e..1c7e2127c758451f9a8baab6a51070b6605812b3 100644 (file)
@@ -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 {