Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2247415pxk; Sun, 27 Sep 2020 00:10:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSgDZpYBVYpq/m8twmZbqLgqsOzOsoJdEO17OYTPqr/i1ACbopwGdhVSZouqAYOpwavI4C X-Received: by 2002:a17:906:b146:: with SMTP id bt6mr10016672ejb.287.1601190637222; Sun, 27 Sep 2020 00:10:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601190637; cv=none; d=google.com; s=arc-20160816; b=EylmgNgMJwiNSZs6FOP+E1/yrF9yqfhUAYz4/Ou3WhnIEWLK8/9EcxwJfflkDdfYPF 0McVI6LIYj7+gaHb7REh8Xd0xgCS4qo6nzyv3BhE3lpPaEotVH9IwyKwGi8CLInMHIVD cf/KJpyUSeqoZb1SbOUJTzdFVPodevzTgpxP92vlTYXtRs3M2d90C/ErXcXvOsSv4qRH GV/b/JeJ3DUkQ3kEEYoYHgkEcKn0Nlo+r+q/ArnLGvtsUeOuUnIIDh2wjgxxtBMeDNpR CBOgmNK73OPAvekIUXdT2Q0L1ABQ1Tsbq8syI5Usalkh7tgVTHWdFSKdbZ5esCSSgvFi deyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=9y/ktjbXzqA2eaE07NdRQjrMF6cu5cm5B7SeYUxO06M=; b=gT7SIOpwasfztMrK9/UhcbJ6U/AOtdIAEzEymIIC6m53rO6dMxl9WEpESmWMJ6blRh txfHju7vUZB66oTVsFVE1f1u5Tt0BE8KRG2eI3zTQr2WYVXF5LH5hJRf8cPAdtGsciDq 5fSJzKtdzuASO4Y3T8aRnKUx0vrQl/MqvJ57OW8jlyzkO/WqpbkzLvktqpblSWQ1vJML fX85ikTDEJJNnG46DvnxGAeT4tl5WVoK3e8n2hD9w95xMeeQFpMUCrk40rGIUiHjb/Tg VyKk9V8vYG//6UqnPfrdGoNmS6ZY9uaAXAE//Zm3wv/1GuX3Se47/WLOH7HXPuuuL3NW 9Y0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id gl12si4641230ejb.337.2020.09.27.00.10.14; Sun, 27 Sep 2020 00:10:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730393AbgI0HHQ (ORCPT + 99 others); Sun, 27 Sep 2020 03:07:16 -0400 Received: from inva020.nxp.com ([92.121.34.13]:38166 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729125AbgI0HHO (ORCPT ); Sun, 27 Sep 2020 03:07:14 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id AE39A1A0E6C; Sun, 27 Sep 2020 09:07:12 +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 9FA851A0E4B; Sun, 27 Sep 2020 09:07:08 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4731D402E6; Sun, 27 Sep 2020 09:07:03 +0200 (CEST) From: Anson Huang To: linux@armlinux.org.uk, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, peng.fan@nxp.com, aisheng.dong@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH] ARM: imx: Add revision support for i.MX7ULP revision 2.2 Date: Sun, 27 Sep 2020 15:03:13 +0800 Message-Id: <1601190193-29074-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On i.MX7ULP revision 2.2, the value is 3, so add support for this revision, otherwise, it will use default revision of 1.0 which is incorrect. Signed-off-by: Anson Huang --- arch/arm/mach-imx/mach-imx7ulp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/mach-imx7ulp.c b/arch/arm/mach-imx/mach-imx7ulp.c index 445256e..f6032ea 100644 --- a/arch/arm/mach-imx/mach-imx7ulp.c +++ b/arch/arm/mach-imx/mach-imx7ulp.c @@ -45,6 +45,9 @@ static void __init imx7ulp_set_revision(void) case 2: imx_set_soc_revision(IMX_CHIP_REVISION_2_1); break; + case 3: + imx_set_soc_revision(IMX_CHIP_REVISION_2_2); + break; default: imx_set_soc_revision(IMX_CHIP_REVISION_1_0); break; -- 2.7.4