Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9454774ybl; Wed, 25 Dec 2019 22:45:43 -0800 (PST) X-Google-Smtp-Source: APXvYqzMbMuGgk9dz4CzE1NkaqKKpGzXmiZ/qVcIrnGrQGpv7aUyMxXhIXf9isIhiOEf798DrPC4 X-Received: by 2002:a05:6830:1185:: with SMTP id u5mr45709187otq.147.1577342743495; Wed, 25 Dec 2019 22:45:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577342743; cv=none; d=google.com; s=arc-20160816; b=CPY6RaGVGYvM3yzAAk+hX+VZ5Gp7LPVHdi9oaTNarZdelj5HW2A0uPgzvyN7i71ZMS rthM/Cwd25H1Ll+zMAps9nLY9EkT+69Tbx5hoE4Qy9xZkyGTVYm35q18uLLCWQHctL9O aqn/yx436W5zyiX3kymRe1F8VSWigUNT+AzlbnI4QXab+/amv5RDJ4TvGQ1SCqpxqHaL NfRs2nrkaDPAgK71ePHhCPqfrKUoSvhFoNvxWpJjBxKC7t/CEMurntE3JVGqunWMNJau PSDb3OIHUgUp+mD1i4Dx4f3cDTORbovmDKZ2B4yJVCDDXGChr0hMtYKvUZAN2cCLzPif Pl2w== 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=cK/HFT44pjbgbsVSlZFDJuj1w0vaI3+d6HftDsuKJK0=; b=VJu2UpjzqCb62ISlw4e9/NJ8vxji4+ZxsIBoy3vpvVZ+Z38t36mxosqlzUkIRKWvWl Dipz8KWyQxnY0cp+yo2lh7Q4IKFHg6p2E77UW7NZiu8Yh7BCu7V0BxFkBoWoEOw9z+2A TT8IFovx2pKakLwbcxJ5A9aTERrT/8io8N2rROaIEXfJsvC3EWB7JUDaoLWexU4MQo81 458jiDooD5kq4midAO17qt8iTzk1XFxER265HPfk5/ZGbixJiINquJIxejxK1T8NngzW b0NzoFTEBblLQrEfkTwpYa7mVYYT3xvCqRVzrRMx4YJlbnhLImUnTxZ+iEffAxkTWLS0 utMQ== 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 c26si11865430otf.288.2019.12.25.22.45.30; Wed, 25 Dec 2019 22:45:43 -0800 (PST) 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 S1726440AbfLZGnU (ORCPT + 99 others); Thu, 26 Dec 2019 01:43:20 -0500 Received: from inva021.nxp.com ([92.121.34.21]:59600 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbfLZGnT (ORCPT ); Thu, 26 Dec 2019 01:43:19 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 32426200130; Thu, 26 Dec 2019 07:43:18 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 49CD620034B; Thu, 26 Dec 2019 07:43:13 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 05B6B402B3; Thu, 26 Dec 2019 14:43:06 +0800 (SGT) From: Anson Huang To: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, leonard.crestez@nxp.com, abel.vesa@nxp.com, l.stach@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH] soc: imx: Add i.MX8MP SoC driver support Date: Thu, 26 Dec 2019 14:40:02 +0800 Message-Id: <1577342402-12329-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 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 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 --- 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