public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: hip04: set ARCH_NR_GPIO to 128
@ 2014-04-23 11:51 Zhou Wang
  2014-05-04 11:37 ` Zhou Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Zhou Wang @ 2014-04-23 11:51 UTC (permalink / raw)
  To: linux, linux-arm-kernel, linux-kernel; +Cc: haojian.zhuang, xuwei5

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-13  5:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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-13  5:53   ` Zhou Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox