[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191226140918.it63mk3l4dlzzxca@fsr-ub1664-175>
Date: Thu, 26 Dec 2019 14:09:19 +0000
From: Abel Vesa <abel.vesa@....com>
To: Anson Huang <anson.huang@....com>
CC: "shawnguo@...nel.org" <shawnguo@...nel.org>,
"s.hauer@...gutronix.de" <s.hauer@...gutronix.de>,
"kernel@...gutronix.de" <kernel@...gutronix.de>,
"festevam@...il.com" <festevam@...il.com>,
Leonard Crestez <leonard.crestez@....com>,
"l.stach@...gutronix.de" <l.stach@...gutronix.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
dl-linux-imx <linux-imx@....com>
Subject: Re: [PATCH] soc: imx: Add i.MX8MP SoC driver support
On 19-12-26 14:40:02, Anson Huang wrote:
> Add i.MX8MP SoC driver support:
>
> root@...8mpevk:~# cat /sys/devices/soc0/family
> Freescale i.MX
>
> root@...8mpevk:~# cat /sys/devices/soc0/machine
> FSL i.MX8MP EVK
>
> root@...8mpevk:~# cat /sys/devices/soc0/soc_id
> i.MX8MP
>
> root@...8mpevk:~# cat /sys/devices/soc0/revision
> 1.0
>
> Signed-off-by: Anson Huang <Anson.Huang@....com>
Reviewed-by: Abel Vesa <abel.vesa@....com>
> ---
> 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 964ff84..719e1f18 100644
> --- 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, },
> { }
> };
>
> --
> 2.7.4
>
Powered by blists - more mailing lists