summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarun Kanti DebBarma <tarun.kanti@ti.com>2012-05-16 09:17:38 -0500
committerDan Murphy <dmurphy@ti.com>2012-05-16 15:23:28 -0500
commit55e5461b341eea4381ffd703058622cc33e65d05 (patch)
tree389b11f3588f5cb493cce8ce876e95411ed2a239
parent0c107d9582bef6123731d0ce9e1a89baa1cefbe8 (diff)
ARM: Kconfig update to support additional GPIOs in OMAP5hdmi_k34_rc7
OMAP5 has 8 GPIO banks so that there are 32x8 = 256 GPIOs. In order for the gpiolib to detect and initialize these additional GPIOs and other TWL GPIOs, ARCH_NR_GPIO is set to 512 instead of present 256. Cc: Santosh Shilimkar <santosh.shilimkar@ti.com> Cc: Cousson, Benoit <b-cousson@ti.com> Reported-by: Govindraj.R <govindraj.raja@ti.com> Tested-by: Govindraj.R <govindraj.raja@ti.com> Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index b0687d6f9d7..ce831bc45cb 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1638,6 +1638,7 @@ config ARCH_NR_GPIO
default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
default 355 if ARCH_U8500
default 264 if MACH_H4700
+ default 512 if ARCH_OMAP5
default 0
help
Maximum number of GPIOs in the system.