projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd262db
)
soc: imx: Add i.MX8MP SoC driver support
author
Anson Huang
<Anson.Huang@nxp.com>
Thu, 26 Dec 2019 06:40:02 +0000
(14:40 +0800)
committer
Shawn Guo
<shawnguo@kernel.org>
Thu, 9 Jan 2020 07:52:04 +0000
(15:52 +0800)
Add i.MX8MP SoC driver support:
root@imx8mpevk:~# cat /sys/devices/soc0/family
Freescale i.MX
root@imx8mpevk:~# cat /sys/devices/soc0/machine
FSL i.MX8MP EVK
root@imx8mpevk:~# cat /sys/devices/soc0/soc_id
i.MX8MP
root@imx8mpevk:~# cat /sys/devices/soc0/revision
1.0
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/soc-imx8.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/soc/imx/soc-imx8.c
b/drivers/soc/imx/soc-imx8.c
index 964ff84edea4111df212210f314429694807156e..719e1f189ebf2f7d3bc2d129503f39e351761921 100644
(file)
--- a/
drivers/soc/imx/soc-imx8.c
+++ b/
drivers/soc/imx/soc-imx8.c
@@
-142,10
+142,16
@@
static const struct imx8_soc_data imx8mn_soc_data = {
.soc_revision = imx8mm_soc_revision,
};
+static const struct imx8_soc_data imx8mp_soc_data = {
+ .name = "i.MX8MP",
+ .soc_revision = imx8mm_soc_revision,
+};
+
static const struct of_device_id imx8_soc_match[] = {
{ .compatible = "fsl,imx8mq", .data = &imx8mq_soc_data, },
{ .compatible = "fsl,imx8mm", .data = &imx8mm_soc_data, },
{ .compatible = "fsl,imx8mn", .data = &imx8mn_soc_data, },
+ { .compatible = "fsl,imx8mp", .data = &imx8mp_soc_data, },
{ }
};