[PATCH 9/9] remoteproc: imx_rproc: add i.MX8MM support

From: peng . fan
Date: Wed Feb 19 2020 - 02:34:27 EST


From: Peng Fan <peng.fan@xxxxxxx>

Add i.MX8MM support. Remote processor is under control of Cortex-A
processor. Currently only early boot is supported.

Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
---
drivers/remoteproc/imx_rproc.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remoteproc/imx_rproc.c
index fc2a504bc350..d00c3cbcd87c 100644
--- a/drivers/remoteproc/imx_rproc.c
+++ b/drivers/remoteproc/imx_rproc.c
@@ -56,6 +56,7 @@
enum imx_rproc_variants {
IMX8QM,
IMX8QXP,
+ IMX8MM,
IMX7ULP,
IMX7D,
IMX6SX,
@@ -194,6 +195,10 @@ static const struct imx_rproc_dcfg imx_rproc_cfg_imx8qm = {
.variant = IMX8QM,
};

+static const struct imx_rproc_dcfg imx_rproc_cfg_imx8mm = {
+ .variant = IMX8MM,
+};
+
static int imx_rproc_start(struct rproc *rproc)
{
struct imx_rproc *priv = rproc->priv;
@@ -788,6 +793,7 @@ static const struct of_device_id imx_rproc_of_match[] = {
{ .compatible = "fsl,imx6sx-cm4", .data = &imx_rproc_cfg_imx6sx },
{ .compatible = "fsl,imx8qxp-cm4", .data = &imx_rproc_cfg_imx8qxp },
{ .compatible = "fsl,imx8qm-cm4", .data = &imx_rproc_cfg_imx8qm },
+ { .compatible = "fsl,imx8mm-cm4", .data = &imx_rproc_cfg_imx8mm },
{},
};
MODULE_DEVICE_TABLE(of, imx_rproc_of_match);
--
2.16.4