summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorKomal Shah <komal_shah802003@yahoo.com>2006-09-29 01:59:19 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-29 09:18:07 -0700
commitad4e09b16ad361c15bd7186dcd118cb901089b97 (patch)
treeeb74ac65ec10ac73eb404a98b34e851fd98bd499 /include/asm-arm
parent7768a13c252a97e13a552f88f642962768de1fa4 (diff)
[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')
-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;