summaryrefslogtreecommitdiff
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2019-07-19 15:23:10 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:46:01 +0800
commit928ae4d44513083e57c8db6bee9592789586401b (patch)
tree08d86ffa087062afccc0e63332adcf1602c2756f /drivers/rpmsg
parent93f8cacdff4387aca2fdaa98b44c8ee056372a6e (diff)
rpmsg: imx: extend the rpmsg support for imx8qm and so on
- extend the rpmsg support for imx8qm/imx7ulp/imx7d/imx6sx Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r--drivers/rpmsg/imx_rpmsg.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/rpmsg/imx_rpmsg.c b/drivers/rpmsg/imx_rpmsg.c
index 58888d17aa89..eb8f2496ad27 100644
--- a/drivers/rpmsg/imx_rpmsg.c
+++ b/drivers/rpmsg/imx_rpmsg.c
@@ -19,8 +19,13 @@
#include "rpmsg_internal.h"
enum imx_rpmsg_variants {
- IMX8MQ,
+ IMX8QM,
IMX8QXP,
+ IMX8MQ,
+ IMX8MM,
+ IMX7ULP,
+ IMX7D,
+ IMX6SX,
};
struct imx_virdev {
@@ -261,8 +266,13 @@ static struct virtio_config_ops imx_rpmsg_config_ops = {
};
static const struct of_device_id imx_rpmsg_dt_ids[] = {
- { .compatible = "fsl,imx8mq-rpmsg", .data = (void *)IMX8MQ, },
+ { .compatible = "fsl,imx8qm-rpmsg", .data = (void *)IMX8QM, },
{ .compatible = "fsl,imx8qxp-rpmsg", .data = (void *)IMX8QXP, },
+ { .compatible = "fsl,imx8mq-rpmsg", .data = (void *)IMX8MQ, },
+ { .compatible = "fsl,imx8mm-rpmsg", .data = (void *)IMX8MM, },
+ { .compatible = "fsl,imx7ulp-rpmsg", .data = (void *)IMX7ULP, },
+ { .compatible = "fsl,imx7d-rpmsg", .data = (void *)IMX7D, },
+ { .compatible = "fsl,imx6sx-rpmsg", .data = (void *)IMX6SX, },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, imx_rpmsg_dt_ids);