summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c
diff options
context:
space:
mode:
authorBen Dooks2008-10-31 17:14:30 +0100
committerBen Dooks2008-12-16 00:33:08 +0100
commitefd3a8eb150e383305c36eedc78c29cab910158e (patch)
tree753acca32e85261e471849b31dc9a2145ac00fe5 /arch/arm/plat-s3c
parent[ARM] SMDK6410: Add HSMMC0 device (diff)
downloadkernel-qcow2-linux-efd3a8eb150e383305c36eedc78c29cab910158e.tar.gz
kernel-qcow2-linux-efd3a8eb150e383305c36eedc78c29cab910158e.tar.xz
kernel-qcow2-linux-efd3a8eb150e383305c36eedc78c29cab910158e.zip
[ARM] S3C64XX: Add gpio bank numbering
Define the gpio numbers for the S3C64XX GPIO banks available on the S3C6400 and S3C6410. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c')
-rw-r--r--arch/arm/plat-s3c/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/Kconfig b/arch/arm/plat-s3c/Kconfig
index 0deb1054975f..d7767e0305d0 100644
--- a/arch/arm/plat-s3c/Kconfig
+++ b/arch/arm/plat-s3c/Kconfig
@@ -103,6 +103,17 @@ config S3C_LOWLEVEL_UART_PORT
this configuration should be between zero and two. The port
must have been initialised by the boot-loader before use.
+# options for gpiolib support
+
+config S3C_GPIO_SPACE
+ int "Space between gpio banks"
+ default 0
+ help
+ Add a number of spare GPIO entries between each bank for debugging
+ purposes. This allows any problems where an counter overflows from
+ one bank to another to be caught, at the expense of using a little
+ more memory.
+
# device definitions to compile in
config S3C_DEV_HSMMC