From: Kukjin Kim Date: Mon, 11 Jan 2010 03:21:51 +0000 (+0900) Subject: ARM: SAMSUNG: Add config option for number of additional GPIO pins. X-Git-Tag: v3.12-rc1~10800^2~3^2~90 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85841bcedd6048dd37cab58a504e5317192324c6;p=kernel%2Fkernel-generic.git ARM: SAMSUNG: Add config option for number of additional GPIO pins. 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 Signed-off-by: Ben Dooks --- diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 900b463..faec4b8 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig @@ -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