ARM: SAMSUNG: Add config option for number of additional GPIO pins.
authorKukjin Kim <kgene.kim@samsung.com>
Mon, 11 Jan 2010 03:21:51 +0000 (12:21 +0900)
committerBen Dooks <ben-linux@fluff.org>
Fri, 15 Jan 2010 08:10:14 +0000 (17:10 +0900)
This patch adds a configuration option for specifing the number
of additional GPIO pins to be used in addition to the GPIO pins
supported onchip.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-samsung/Kconfig

index 900b463..faec4b8 100644 (file)
@@ -66,6 +66,14 @@ config S3C_GPIO_PULL_UP
        help
          Internal configuration to enable the correct GPIO pull helper
 
+config SAMSUNG_GPIO_EXTRA
+       int "Number of additional GPIO pins"
+       default 0
+       help
+         Use additional GPIO space in addition to the GPIO's the SOC
+         provides. This allows expanding the GPIO space for use with
+         GPIO expanders.
+
 # device definitions to compile in
 
 config S3C_DEV_HSMMC