From patchwork Wed Apr 23 11:51:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhou Wang X-Patchwork-Id: 4040511 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 508649F319 for ; Wed, 23 Apr 2014 11:56:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 853992017E for ; Wed, 23 Apr 2014 11:56:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A02702017A for ; Wed, 23 Apr 2014 11:56:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wcvkh-0006CI-R8; Wed, 23 Apr 2014 11:54:11 +0000 Received: from szxga02-in.huawei.com ([119.145.14.65]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Wcvkd-0005Gj-Ms for linux-arm-kernel@lists.infradead.org; Wed, 23 Apr 2014 11:54:09 +0000 Received: from 172.24.2.119 (EHLO szxeml212-edg.china.huawei.com) ([172.24.2.119]) by szxrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BSV72438; Wed, 23 Apr 2014 19:51:42 +0800 (CST) Received: from SZXEML423-HUB.china.huawei.com (10.82.67.162) by szxeml212-edg.china.huawei.com (172.24.2.181) with Microsoft SMTP Server (TLS) id 14.3.158.1; Wed, 23 Apr 2014 19:51:37 +0800 Received: from [127.0.0.1] (10.66.65.131) by szxeml423-hub.china.huawei.com (10.82.67.162) with Microsoft SMTP Server id 14.3.158.1; Wed, 23 Apr 2014 19:51:29 +0800 Message-ID: <5357A941.6080809@hisilicon.com> Date: Wed, 23 Apr 2014 19:51:29 +0800 From: Zhou Wang User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: , , Subject: [PATCH 1/2] ARM: hip04: set ARCH_NR_GPIO to 128 X-Originating-IP: [10.66.65.131] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140423_045407_917834_82543D5A X-CRM114-Status: UNSURE ( 7.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: haojian.zhuang@linaro.org, xuwei5@hisilicon.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP set ARCH_NR_GPIO for Hisilicon Soc hip04, which has 4 GPIO controllers with 32 GPIOs each. Signed-off-by: Zhou Wang --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 1.7.9.5 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2961627..bb00e65 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1664,6 +1664,7 @@ config ARCH_NR_GPIO default 352 if ARCH_VT8500 default 288 if ARCH_SUNXI default 264 if MACH_H4700 + default 128 if ARCH_HIP04 default 0 help Maximum number of GPIOs in the system.