From patchwork Mon Jan 2 13:17:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 6025 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 4CD5B23E14 for ; Mon, 2 Jan 2012 13:18:02 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id 312BBA1853C for ; Mon, 2 Jan 2012 13:18:02 +0000 (UTC) Received: by eaac11 with SMTP id c11so14643399eaa.11 for ; Mon, 02 Jan 2012 05:18:02 -0800 (PST) Received: by 10.205.141.78 with SMTP id jd14mr10791745bkc.107.1325510281880; Mon, 02 Jan 2012 05:18:01 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.82.144 with SMTP id ac16cs313279bkc; Mon, 2 Jan 2012 05:18:01 -0800 (PST) Received: by 10.213.16.83 with SMTP id n19mr7767528eba.137.1325510279306; Mon, 02 Jan 2012 05:17:59 -0800 (PST) Received: from eu1sys200aog101.obsmtp.com (eu1sys200aog101.obsmtp.com. [207.126.144.111]) by mx.google.com with SMTP id g35si26099827eeg.129.2012.01.02.05.17.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 Jan 2012 05:17:59 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.111 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.111; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.111 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob101.postini.com ([207.126.147.11]) with SMTP ID DSNKTwGufrzL0W//9cJop9CFgKIBGfw/tmyS@postini.com; Mon, 02 Jan 2012 13:17:58 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id EBF46BA; Mon, 2 Jan 2012 13:09:21 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 63D1F1589; Mon, 2 Jan 2012 13:17:46 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 512ADA807B; Mon, 2 Jan 2012 14:17:40 +0100 (CET) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Mon, 2 Jan 2012 14:17:45 +0100 From: Linus Walleij To: Olof Johansson , Arnd Bergmann Cc: , Linus Walleij , Daniel Lezcano Subject: [PATCH] mfd/db8500-prcmu: remove support for early silicon revisions Date: Mon, 2 Jan 2012 14:17:40 +0100 Message-ID: <1325510260-4368-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.8 MIME-Version: 1.0 From: Linus Walleij The DB8500 ED (Early Drop) and V1 are only available inside of ST-Ericsson or partners, we have actively replaced and scrapped these prototypes. All Nova products on the open market (such as the Snowball board) are based on V2 and later ASIC variants. So let us focus on supporting the silicon that will be used and delete this to get a clear overview. Cc: Daniel Lezcano Acked-by: Samuel Ortiz Signed-off-by: Linus Walleij --- Hi ARM-SoC guys, can either of you please merge this patch to wherever the other ux500 patches are pending? There is some cross-dependence on the MFD core and I intended to include this patch in the original pull request, but I screwed up, breaking linux-next. Thanks. --- drivers/mfd/db8500-prcmu.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c index a25ab9c..af8e0ef 100644 --- a/drivers/mfd/db8500-prcmu.c +++ b/drivers/mfd/db8500-prcmu.c @@ -2102,14 +2102,11 @@ static struct irq_chip prcmu_irq_chip = { void __init db8500_prcmu_early_init(void) { unsigned int i; - - if (cpu_is_u8500v1()) { - tcdm_base = __io_address(U8500_PRCMU_TCDM_BASE_V1); - } else if (cpu_is_u8500v2()) { + if (cpu_is_u8500v2()) { void *tcpm_base = ioremap_nocache(U8500_PRCMU_TCPM_BASE, SZ_4K); if (tcpm_base != NULL) { - int version; + u32 version; version = readl(tcpm_base + PRCMU_FW_VERSION_OFFSET); prcmu_version.project_number = version & 0xFF; prcmu_version.api_version = (version >> 8) & 0xFF;