aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorTarun Kanti DebBarma <tarun.kanti@ti.com>2012-04-26 09:01:17 -0400
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2012-07-09 09:44:40 -0400
commit39f47d9f437fa94622bf51d7b18b42b3336ad9ac (patch)
tree45a698a2e063b3810e974178fac954fd0a6c0db3 /arch/arm/Kconfig
parent35eb429875cedb6689ccd0c4d11cf219f07e0a9d (diff)
ARM: Kconfig update to support additional GPIOs in OMAP5
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> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index a91009c61870..02fae9adafec 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1581,6 +1581,7 @@ config ARCH_NR_GPIO
1581 default 1024 if ARCH_SHMOBILE || ARCH_TEGRA 1581 default 1024 if ARCH_SHMOBILE || ARCH_TEGRA
1582 default 355 if ARCH_U8500 1582 default 355 if ARCH_U8500
1583 default 264 if MACH_H4700 1583 default 264 if MACH_H4700
1584 default 512 if SOC_OMAP5
1584 default 0 1585 default 0
1585 help 1586 help
1586 Maximum number of GPIOs in the system. 1587 Maximum number of GPIOs in the system.