Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp6256687ioo; Thu, 2 Jun 2022 02:26:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDvMsT62PrmIZt2Dh6sjxXbpspIylf0envC3gFFnmNuLKqZmEZyNFE8D/fNxtGtZ2JWo2T X-Received: by 2002:a17:90b:4b8d:b0:1e3:5147:6e63 with SMTP id lr13-20020a17090b4b8d00b001e351476e63mr4325105pjb.162.1654162009705; Thu, 02 Jun 2022 02:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654162009; cv=none; d=google.com; s=arc-20160816; b=q4btIh/7RAtZ96RF03i54Gepq3FT2b1yGQapOXCtVkYz7YOgFSzlSLGeXR7Xb/sA2T UltPdHKLdz290Bz4jvBJEWDTtQa8zJgAZZ3d7kPifAf4t9vKXV8zKhFAoFqjDyVKSZxw RM5e0Q2Z+7WwShlH1UGixbqhkKTtE0L6gasPyC1jab6aZ+5ttpsPpphMFNvd2wHFt0gE S/KqAjIXWzuxMtSLRzkm3eVkEQLnq20pLC8Sr4JYK737F3NcG/LYhQjaz+9rvutlqGa2 1NtY2t1XGrmmasjY41yWqizChjqSnuPAq70m2rucNfU1lytla1qPjvinRYpItn7tQ9vg QXtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=AzzAeBhN/qrgkgnhlRHwo+ObE0R6sKqGbuGCMVJWWC0=; b=XmQ/tRkjVo38+P/Ain2hxNuBa46NFP65ki6Dc1Sd7Uh3igtRXENQF1MLpo/9gHsCQu c14ZjrJWCw90sF4UE5MnwioNmVwTY71Ym2t1mDOzwrrqUl4gXNTez5cAphur9f5nDHv3 pYWXAjjvNmSQARF59I6wEddqVs33VPRq8wHIy2OKH5FNGOq26xQx8DaApz9yMzJrP2T7 lNn/AQel0XRz7QoViAvPAqgreUzx63hXteL0NtV6ZVpBOjrsTUyJ4h6fhaMEPZ2+9Swe Zs8CDtq2hZI5Q7jcyq7z+KDhBeZWQ7rU3qwo+B/S5GM+Z7s3k1gmgwrhiAzTcDtL3ZBX FHiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a170902789100b0016379a50399si5285805pll.250.2022.06.02.02.26.35; Thu, 02 Jun 2022 02:26:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232005AbiFBIES (ORCPT + 99 others); Thu, 2 Jun 2022 04:04:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231981AbiFBIEL (ORCPT ); Thu, 2 Jun 2022 04:04:11 -0400 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A6669FDD for ; Thu, 2 Jun 2022 01:04:08 -0700 (PDT) Received: from ipservice-092-217-081-045.092.217.pools.vodafone-ip.de ([92.217.81.45] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1nwfoH-0006H9-Hg; Thu, 02 Jun 2022 10:04:01 +0200 From: Martin Kaiser To: Shawn Guo , Pengutronix Kernel Team , Fabio Estevam Cc: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 1/3] ARM: imx25: support silicon revision 1.2 Date: Thu, 2 Jun 2022 10:03:42 +0200 Message-Id: <20220602080344.208702-2-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220602080344.208702-1-martin@kaiser.cx> References: <20220602080344.208702-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update the mx25_read_cpu_rev function to recognize silicon revision 1.2 for imx25 chipsets. Silicon revision 1.2 is mentioned in the errata document at https://www.nxp.com/docs/en/errata/IMX25CE.pdf. The imx25 chips on my test boards show revision 1.2 as well. Signed-off-by: Martin Kaiser --- arch/arm/mach-imx/cpu-imx25.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/cpu-imx25.c b/arch/arm/mach-imx/cpu-imx25.c index b2e1963f473d..3e63445cde06 100644 --- a/arch/arm/mach-imx/cpu-imx25.c +++ b/arch/arm/mach-imx/cpu-imx25.c @@ -32,6 +32,8 @@ static int mx25_read_cpu_rev(void) return IMX_CHIP_REVISION_1_0; case 0x01: return IMX_CHIP_REVISION_1_1; + case 0x02: + return IMX_CHIP_REVISION_1_2; default: return IMX_CHIP_REVISION_UNKNOWN; } -- 2.30.2