From patchwork Tue Jan 9 12:51:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Fritz X-Patchwork-Id: 857476 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="d4GX/8aS"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b="qTGZo0gw"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zGBpz6wNlz9s7M for ; Tue, 9 Jan 2018 23:51:39 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Mime-Version:Date:To:From: Subject:Message-ID:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=7piTNaXPedErShUMkulgCm7DXGAIhPMg2LB3LR6kra8=; b=d4GX/8aSaltEqj mvmkQRRwZJdLSrbdS85LHeVa7AHJ2QS1kzM8SfUAwsyMhQa4834tNmFwI99QSU8MWbpzcNle5dF5t tmgioJSz+c0LVdnj4OhO7iS9BnCxSw+yNlAjeRQONZvFRMTwVpQaDMF5wokxe1Ecs5YkLelE9cpj6 PrkUVFdxCUuebxYMX2N4j0VWikieLLWyewJkXP68/Op6nQSS+GnlZeY3bpf2x7Sv3uIpAnD4sDolW ph2iaflkRnd+uf1Lx2cbOSxRRhLS0wHt29eoHm/9Cci4VxnBlsvf6fUUrnuw1fU9UoqpEoNk46Qmu 6pbnK/80eInNH3OrvqxA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eYtNQ-0000FS-4F; Tue, 09 Jan 2018 12:51:36 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eYtNL-0000EW-M5 for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2018 12:51:33 +0000 Received: by mail-lf0-x241.google.com with SMTP id f3so15820596lfe.4 for ; Tue, 09 Jan 2018 04:51:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=message-id:subject:from:reply-to:to:cc:date:mime-version :content-transfer-encoding; bh=ZGXZrZVuY6w9bHfImxVmu1jT9GyFYSjeBoPH+b4KLaQ=; b=qTGZo0gwHlzjMWdfzd/mEw3oiJG3geVenAIfID+KDMXae9XUsVIKcT7Ko+Z+BZi4Xd pVkTEk2Ujb5eTE8LGMTRRo4lVXHtgL3yjINmbEDZJ8oVcWEaAMiaydCwqzE5KTr45Yo3 PPqMxFhcx3adVjiNC7gQJvZdXeIylyWlJGyL0UJ18SrZM6wX1zIXp9YLhlN5orOk5ArU IHyJqhRP3r1Ax+Eh8CV/IdcFXm0f2Dli8v+GLJaMUxeiq/W0sqDHzC8wZpEFBHP2bAa+ 2goikUlRF1QrkGX4TZgLSvMhvlVOBXZcmR1SRJLYCFOe219jFaOjLCQpVkDDZfP4je5o Mdug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :mime-version:content-transfer-encoding; bh=ZGXZrZVuY6w9bHfImxVmu1jT9GyFYSjeBoPH+b4KLaQ=; b=g6oPTAJP1I+ZA3vhXRHXZ01AeQlq5SYwg3Or7exKtxTM20hqx3MakB5Emju4H7m7AP xIUCRaFFgE0xzWKKs/BlItxQ0/vhRZs1b0JAAMoy0ye7gF2kDsn96DjKJMs4jlsIzcxL DnueHtxvLkf9CCL1UO3pf4g9SXpQlA5fLVmQxxyMFjqXFVhy0BfftSEI+mgh5RH+Uef4 LxV698s/Sa3fph3UPPcuxcLPkcj45f7CEGdRXjN81FDSjS+qmZIKvT+jKOuk141IwcbT IdUjQ+qu2UvDLzdCohpYJbnOFWaXDw3OzouRlNOasvQzt4/sxy82BoAA8Ot+Vspimw05 7XNw== X-Gm-Message-State: AKGB3mKl4EbeokvsHh9YQ1F619f9Tuk7Nh64JZpf2v2XYSRXRSsXCVSP lIJ5CFl4RGIbLpAJ6BZOQ1w= X-Google-Smtp-Source: ACJfBouK8TBRYuq+kRJI7K9c4EKowhtrHhW1E1vNP0oeV+QJwkpcloC92OHVoTsF9IFkOYuT/6BEFw== X-Received: by 10.46.99.91 with SMTP id x88mr9624974ljb.58.1515502278950; Tue, 09 Jan 2018 04:51:18 -0800 (PST) Received: from lovely (anon-40-247.vpn.ipredator.se. [46.246.40.247]) by smtp.googlemail.com with ESMTPSA id w21sm609188lfi.86.2018.01.09.04.51.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jan 2018 04:51:17 -0800 (PST) Message-ID: <1515502273.2493.9.camel@googlemail.com> Subject: [PATCH] ARM: i.MX6: add new silicon revision number 1.6 From: Christoph Fritz To: Shawn Guo Date: Tue, 09 Jan 2018 13:51:13 +0100 X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180109_045131_826346_117C586A X-CRM114-Status: GOOD ( 10.52 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:4010:c07:0:0:0:241 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (chf.fritz[at]googlemail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: chf.fritz@googlemail.com Cc: Fabio Estevam , linux-arm-kernel , Sascha Hauer Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org This patch adds new silicon revision number 1.6 as specified in document IMX6DQCEC.pdf. Signed-off-by: Christoph Fritz Reviewed-by: Fabio Estevam --- arch/arm/mach-imx/anatop.c | 4 ++++ include/soc/imx/revision.h | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/arm/mach-imx/anatop.c b/arch/arm/mach-imx/anatop.c index 649a84c..deb98b8 100644 --- a/arch/arm/mach-imx/anatop.c +++ b/arch/arm/mach-imx/anatop.c @@ -157,6 +157,10 @@ void __init imx_init_revision_from_anatop(void) */ revision = IMX_CHIP_REVISION_1_5; break; + case 6: + /* marked as 'E' in part number last character */ + revision = IMX_CHIP_REVISION_1_6; + break; default: /* * Fail back to return raw register value instead of 0xff. diff --git a/include/soc/imx/revision.h b/include/soc/imx/revision.h index 9ea3469..cd4c847 100644 --- a/include/soc/imx/revision.h +++ b/include/soc/imx/revision.h @@ -15,6 +15,7 @@ #define IMX_CHIP_REVISION_1_3 0x13 #define IMX_CHIP_REVISION_1_4 0x14 #define IMX_CHIP_REVISION_1_5 0x15 +#define IMX_CHIP_REVISION_1_6 0x16 #define IMX_CHIP_REVISION_2_0 0x20 #define IMX_CHIP_REVISION_2_1 0x21 #define IMX_CHIP_REVISION_2_2 0x22