soc: imx: Add i.MX8MP SoC driver support
PATCH 1/1 soc: imx: Add i.MX8MP SoC driver support
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 <[email protected]>
--- drivers/soc/imx/soc-imx8.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/soc/imx/soc-imx8.c +6 -0
@@ -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, }, { } };
Signature · 1 line
2.7.4
Quoted 8 lines · Anson Huang
Add i.MX8MP SoC driver support:
root@imx8mpevk:~# cat /sys/devices/soc0/family Freescale i.MXroot@imx8mpevk:~# cat /sys/devices/soc0/machine FSL i.MX8MP EVK
Quoted 7 lines
root@imx8mpevk:~# cat /sys/devices/soc0/soc_id i.MX8MProot@imx8mpevk:~# cat /sys/devices/soc0/revision 1.0Signed-off-by Anson Huang <[email protected]>
Reviewed-by Abel Vesa <[email protected]>
Quoted 28 lines
--- drivers/soc/imx/soc-imx8.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/soc/imx/soc-imx8.c +6
-0@@ -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, }, { } };Signature · 1 line
2.7.4
Shawn Guo
AppliedQuoted 8 lines · Anson Huang
Add i.MX8MP SoC driver support:
root@imx8mpevk:~# cat /sys/devices/soc0/family Freescale i.MXroot@imx8mpevk:~# cat /sys/devices/soc0/machine FSL i.MX8MP EVK
Quoted 7 lines
root@imx8mpevk:~# cat /sys/devices/soc0/soc_id i.MX8MProot@imx8mpevk:~# cat /sys/devices/soc0/revision 1.0Signed-off-by Anson Huang <[email protected]>
Applied, thanks.