From patchwork Wed Dec 19 08:57:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13652 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 A59D923E2D for ; Wed, 19 Dec 2012 08:57:40 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 3642BA18BA8 for ; Wed, 19 Dec 2012 08:57:40 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id t4so1519679iag.11 for ; Wed, 19 Dec 2012 00:57:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:cc:subject:date:message-id:x-mailer :mime-version:content-type:x-gm-message-state; bh=onBDcpwaYLRDiZmvnrP7ghf38rgQDpTp05nLjbnAkkU=; b=ORDF8M5elW1W7r1PT4lbNDtM6FRiDe9EJx6YFOfh1XJe8n+w5fZGPjSh+V7xsDQkyA WJnypfNHLik6u4ovHcEPDlC8zpc86PnOPhHdavpIcmD7TZWc0cMWWkdvxWGti8OaFllg Va9tvNESsxy3IBl4rwvf+wLGTbhYZxvUYdMqphG2gYjjJJzhQYbZsVg83bRf9oFAjGKg KqA9+07HtQUt1cBQZPsXm3o6dGtUPlFhREdH6+Cga9R/Y/5Eua6UJgosyq1JcQ1coXJA VKtVDt7VW0P3qQto5PMy41ygvODdqpKq0/vAmYm6UEvRHXQGj2tg6DTxG/VYkqnr+v4I Ja/Q== X-Received: by 10.50.195.135 with SMTP id ie7mr5935052igc.8.1355907459548; Wed, 19 Dec 2012 00:57:39 -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.50.67.115 with SMTP id m19csp220560igt; Wed, 19 Dec 2012 00:57:38 -0800 (PST) X-Received: by 10.14.174.198 with SMTP id x46mr12613508eel.23.1355907457733; Wed, 19 Dec 2012 00:57:37 -0800 (PST) Received: from eu1sys200aog105.obsmtp.com (eu1sys200aog105.obsmtp.com [207.126.144.119]) by mx.google.com with SMTP id k48si10869854een.74.2012.12.19.00.57.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Dec 2012 00:57:37 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.119 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.119; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.119 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-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob105.postini.com ([207.126.147.11]) with SMTP ID DSNKUNGBfU7zE1kwG94PgvP64ccxq8TM7nTR@postini.com; Wed, 19 Dec 2012 08:57:37 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3884C103; Wed, 19 Dec 2012 08:57:23 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BC6FB2ABC; Wed, 19 Dec 2012 08:57:20 +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 relay1.stm.gmessaging.net (Postfix) with ESMTPS id A660924C2F3; Wed, 19 Dec 2012 09:57:12 +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; Wed, 19 Dec 2012 09:57:16 +0100 From: Linus Walleij To: Cc: Anmar Oueja , Linus Walleij Subject: [PATCH] ARM: ux500: bump arch nr of GPIOs Date: Wed, 19 Dec 2012 09:57:13 +0100 Message-ID: <1355907433-18656-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkVC5w0bs7DD4GZjPvEkZLOWXeGzg4GwQUBauPiWYTXCt29cfqO0qLZ+GHISELDwrsCGeun From: Linus Walleij Set the number of GPIOs for Ux500 to 392. Reasoning: - Internal pinctrl "Nomadik" SoC: 288 GPIOs - Then each Ux500 system has one or two GPIO expanders at maximum 24 GPIOs each: TC35892 expander: 24 GPIOs STMPE1601 or 1801 Expander: 24 GPIOs - Then AB8500/AB8505/AB8540: 56 GPIOs Sum: maximum 392 GPIOs - no more no less. Acked-by: Lee Jones Signed-off-by: Linus Walleij --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2277f95..32a3531 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1630,7 +1630,7 @@ config LOCAL_TIMERS config ARCH_NR_GPIO int default 1024 if ARCH_SHMOBILE || ARCH_TEGRA - default 355 if ARCH_U8500 + default 392 if ARCH_U8500 default 264 if MACH_H4700 default 512 if SOC_OMAP5 default 288 if ARCH_VT8500