From: wangzhou1@hisilicon.com (Zhou Wang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: hip04: set ARCH_NR_GPIO to 128
Date: Wed, 23 Apr 2014 19:51:29 +0800 [thread overview]
Message-ID: <5357A941.6080809@hisilicon.com> (raw)
set ARCH_NR_GPIO for Hisilicon Soc hip04, which has 4 GPIO
controllers with 32 GPIOs each.
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
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.
-- 1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: Zhou Wang <wangzhou1@hisilicon.com>
To: <linux@arm.linux.org.uk>, <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Cc: <haojian.zhuang@linaro.org>, <xuwei5@hisilicon.com>
Subject: [PATCH 1/2] ARM: hip04: set ARCH_NR_GPIO to 128
Date: Wed, 23 Apr 2014 19:51:29 +0800 [thread overview]
Message-ID: <5357A941.6080809@hisilicon.com> (raw)
set ARCH_NR_GPIO for Hisilicon Soc hip04, which has 4 GPIO
controllers with 32 GPIOs each.
Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com>
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
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.
-- 1.7.9.5
next reply other threads:[~2014-04-23 11:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-23 11:51 Zhou Wang [this message]
2014-04-23 11:51 ` [PATCH 1/2] ARM: hip04: set ARCH_NR_GPIO to 128 Zhou Wang
2014-05-04 11:37 ` Zhou Wang
2014-05-04 11:37 ` Zhou Wang
2014-05-13 5:53 ` Zhou Wang
2014-05-13 5:53 ` Zhou Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5357A941.6080809@hisilicon.com \
--to=wangzhou1@hisilicon.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.