summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorGregory Fong2015-05-29 04:14:10 +0200
committerFlorian Fainelli2015-05-29 23:43:13 +0200
commitb35d2e561ea711626749fcb511637f0e4604ff18 (patch)
treedbb7ce7e813be83795f9adc6a4babe4cebcc5bd1 /arch/arm/Kconfig
parentARM: brcmstb: Select ARCH_WANT_OPTIONAL_GPIOLIB (diff)
downloadkernel-qcow2-linux-b35d2e561ea711626749fcb511637f0e4604ff18.tar.gz
kernel-qcow2-linux-b35d2e561ea711626749fcb511637f0e4604ff18.tar.xz
kernel-qcow2-linux-b35d2e561ea711626749fcb511637f0e4604ff18.zip
ARM: brcmstb: Add default gpio number
Out of the brcmstb SoCs that I know, BCM3390 has the largest numbers of GPIOs, with its - 320 "peripheral" GPIOs - 5*32 = 160 UPG GPIOs (counting unused lines, which do get counted) - 2*32 = 64 UPG AON GPIOs (counting unused lines) Total: 544 I suspect that the upper limit will only need to be higher in the future, so set it to 1024. Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 45df48ba0b12..401a2db8ed9f 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1477,7 +1477,8 @@ config ARM_PSCI
# selected platforms.
config ARCH_NR_GPIO
int
- default 1024 if ARCH_SHMOBILE || ARCH_TEGRA || ARCH_ZYNQ
+ default 1024 if ARCH_BRCMSTB || ARCH_SHMOBILE || ARCH_TEGRA || \
+ ARCH_ZYNQ
default 512 if ARCH_EXYNOS || ARCH_KEYSTONE || SOC_OMAP5 || \
SOC_DRA7XX || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
default 416 if ARCH_SUNXI