* [PATCH V2] soc: imx: Add i.MX8MN SoC driver support
@ 2019-06-19 1:07 Anson.Huang
2019-06-24 1:29 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Anson.Huang @ 2019-06-19 1:07 UTC (permalink / raw)
To: shawnguo, s.hauer, kernel, festevam, leonard.crestez, abel.vesa,
viresh.kumar, linux-arm-kernel, linux-kernel
Cc: Linux-imx
From: Anson Huang <Anson.Huang@nxp.com>
This patch adds i.MX8MN SoC driver support:
root@imx8mnevk:~# cat /sys/devices/soc0/family
Freescale i.MX
root@imx8mnevk:~# cat /sys/devices/soc0/machine
NXP i.MX8MNano DDR4 EVK board
root@imx8mnevk:~# cat /sys/devices/soc0/soc_id
i.MX8MN
root@imx8mnevk:~# cat /sys/devices/soc0/revision
1.0
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
Changes since V1:
- i.MX8MN's anatop is fully compatible with i.MX8MM, so just use "fsl,imx8mm-anatop" as fallback
compatible in i.MX8MN DT can avoid the machine check.
---
drivers/soc/imx/soc-imx8.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/soc/imx/soc-imx8.c b/drivers/soc/imx/soc-imx8.c
index 315311f..f924ae8 100644
--- a/drivers/soc/imx/soc-imx8.c
+++ b/drivers/soc/imx/soc-imx8.c
@@ -79,9 +79,15 @@ static const struct imx8_soc_data imx8mm_soc_data = {
.soc_revision = imx8mm_soc_revision,
};
+static const struct imx8_soc_data imx8mn_soc_data = {
+ .name = "i.MX8MN",
+ .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, },
{ }
};
--
2.7.4
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH V2] soc: imx: Add i.MX8MN SoC driver support
2019-06-19 1:07 [PATCH V2] soc: imx: Add i.MX8MN SoC driver support Anson.Huang
@ 2019-06-24 1:29 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2019-06-24 1:29 UTC (permalink / raw)
To: Anson.Huang
Cc: abel.vesa, viresh.kumar, s.hauer, linux-kernel, Linux-imx,
kernel, leonard.crestez, festevam, linux-arm-kernel
On Wed, Jun 19, 2019 at 09:07:08AM +0800, Anson.Huang@nxp.com wrote:
> From: Anson Huang <Anson.Huang@nxp.com>
>
> This patch adds i.MX8MN SoC driver support:
>
> root@imx8mnevk:~# cat /sys/devices/soc0/family
> Freescale i.MX
>
> root@imx8mnevk:~# cat /sys/devices/soc0/machine
> NXP i.MX8MNano DDR4 EVK board
>
> root@imx8mnevk:~# cat /sys/devices/soc0/soc_id
> i.MX8MN
>
> root@imx8mnevk:~# cat /sys/devices/soc0/revision
> 1.0
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Applied, thanks.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-24 1:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-19 1:07 [PATCH V2] soc: imx: Add i.MX8MN SoC driver support Anson.Huang
2019-06-24 1:29 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).