Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp90027ybi; Tue, 18 Jun 2019 18:06:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLiU+dasYRfVpnCsK5lq9XJe8fiMcivHvmGSQ9E4HQOvpyhnQetz5BihwlU5nk47V6EAiW X-Received: by 2002:a63:1d53:: with SMTP id d19mr5298233pgm.152.1560906367635; Tue, 18 Jun 2019 18:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560906367; cv=none; d=google.com; s=arc-20160816; b=lH8bKjNoD6iKsQNGISjaHM9erSOLmPl/o0cjNFWLUI4Kc3k1wI0PQ5zcdH8Fie0mgF TvO9gAluIalXhNQNo1LfV5eZKhY7perhlprovQrndQ0drhfocHTsid6PKh83Zm31HyYs QEhQjti2dCi8rLvLqfED1mv67Zi/B4xAlxe9p7VLQMrO5wVSs77AbWvjNkZ/acZroNWr d3UKgFaP/w/bnVa5auOuQVCl6qMWnRPBeZZFlAyQUOyq8xMemQ6F3qIzJY9BVOE1WNxG Jn+/iS9TfZxvs6U+fwFoJXEzZY8MdF5wcVEZC2psqwmuGjZ5tRKwnMQfeSIaSPmf6wde 3nKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=/3bb1mMzb+q5kMLqum1IV7gOOeVOK0S3LRKfHdMcGEI=; b=r0YVLu9fiP7HvdF5p0nxjLI1zGjw+HbCJiV+zgVpW1gLHCYRGIPNi51prlUtlwqKpO Ib8NR85PxpKUD3m3i9CtZATIxLIVus94rkYcg3+wyiZgXzwXF4XMEAFA49V5GJpVcljg 6HjL/ls+k+tU6uyhR/FHx0MR2Na1o9UmsMvkKXSlKPzFEkwWs215yVA8vbmrgCNh+Hxw KoTAcGkdI0gGYBp4lcZDg0E6dS7qHMklprhQ6EOc7D5sFPHbz2GWVSjoddQjE5uz+EmU lorU18d7N48hPPCRj1sGQAqzlAVS73EBF9zKBkI7xpoyA3PILPcL5KINEBjqyQl6ocFP u8IA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3si1519070pgv.403.2019.06.18.18.05.52; Tue, 18 Jun 2019 18:06:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729737AbfFSBFZ (ORCPT + 99 others); Tue, 18 Jun 2019 21:05:25 -0400 Received: from inva020.nxp.com ([92.121.34.13]:51248 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbfFSBFY (ORCPT ); Tue, 18 Jun 2019 21:05:24 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 331FD1A0126; Wed, 19 Jun 2019 03:05:23 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A71BD1A04E6; Wed, 19 Jun 2019 03:05:18 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 2DF46402F0; Wed, 19 Jun 2019 09:05:13 +0800 (SGT) From: Anson.Huang@nxp.com To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, leonard.crestez@nxp.com, abel.vesa@nxp.com, viresh.kumar@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V2] soc: imx: Add i.MX8MN SoC driver support Date: Wed, 19 Jun 2019 09:07:08 +0800 Message-Id: <20190619010708.31412-1-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang 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 --- 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