summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-omap/keypad.h
diff options
context:
space:
mode:
authorKomal Shah2006-09-29 10:59:19 +0200
committerLinus Torvalds2006-09-29 18:18:07 +0200
commitad4e09b16ad361c15bd7186dcd118cb901089b97 (patch)
treeeb74ac65ec10ac73eb404a98b34e851fd98bd499 /include/asm-arm/arch-omap/keypad.h
parent[PATCH] OMAP: Add Watchdog driver support (diff)
downloadkernel-qcow2-linux-ad4e09b16ad361c15bd7186dcd118cb901089b97.tar.gz
kernel-qcow2-linux-ad4e09b16ad361c15bd7186dcd118cb901089b97.tar.xz
kernel-qcow2-linux-ad4e09b16ad361c15bd7186dcd118cb901089b97.zip
[PATCH] OMAP: Add keypad driver
This patch adds support for keypad driver running on different TI OMAP(http://www.ti.com/omap) processor based boards like OSK, H2, H3, H4, Persuas and Nokia 770. Signed-off-by: Komal Shah <komal_shah802003@yahoo.com> Acked-by: Dmitry Torokhov <dtor@mail.ru> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-arm/arch-omap/keypad.h')
-rw-r--r--include/asm-arm/arch-omap/keypad.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/keypad.h b/include/asm-arm/arch-omap/keypad.h
index 8a023a984acb..b7f83075436e 100644
--- a/include/asm-arm/arch-omap/keypad.h
+++ b/include/asm-arm/arch-omap/keypad.h
@@ -14,7 +14,10 @@ struct omap_kp_platform_data {
int rows;
int cols;
int *keymap;
+ unsigned int keymapsize;
unsigned int rep:1;
+ unsigned long delay;
+ unsigned int dbounce:1;
/* specific to OMAP242x*/
unsigned int *row_gpios;
unsigned int *col_gpios;