DORMANTno replies REVIEWED: 1 (0M)

1 review trailer.

[PATCH] ARM: ux500: bump arch nr of GPIOs

From: Linus Walleij <hidden>
Date: 2012-12-19 08:57:13
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

From: Linus Walleij <redacted>

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 <redacted>
Signed-off-by: Linus Walleij <redacted>
---
 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
-- 
1.7.11.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help