summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/omap4-keypad.h
diff options
context:
space:
mode:
authorAbraham Arce <x0066660@ti.com>2010-08-31 17:05:27 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-08-31 18:07:54 -0700
commita17f79553f052f04d47689a842118f775f81b7e3 (patch)
treed903f4924272058bc41d8560c6415dcdf312ccdf /arch/arm/plat-omap/include/plat/omap4-keypad.h
parent3045a5f5202a1e0ab6ba2bf90a786cf4cae6932a (diff)
downloadblackbird-op-linux-a17f79553f052f04d47689a842118f775f81b7e3.tar.gz
blackbird-op-linux-a17f79553f052f04d47689a842118f775f81b7e3.zip
Input: add support for OMAP4 keyboard controller
OMAP4 keyboard controller includes: - built-in scanning algorithm - debouncing feature Driver implementation is based on matrix_keypad.c Signed-off-by: Syed Rafiuddin <rafiuddin.syed@ti.com> Signed-off-by: Abraham Arce <x0066660@ti.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/omap4-keypad.h')
-rw-r--r--arch/arm/plat-omap/include/plat/omap4-keypad.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap4-keypad.h b/arch/arm/plat-omap/include/plat/omap4-keypad.h
new file mode 100644
index 000000000000..522a8ab5c5ff
--- /dev/null
+++ b/arch/arm/plat-omap/include/plat/omap4-keypad.h
@@ -0,0 +1,16 @@
+#ifndef ARCH_ARM_PLAT_OMAP4_KEYPAD_H
+#define ARCH_ARM_PLAT_OMAP4_KEYPAD_H
+
+#include <linux/input/matrix_keypad.h>
+
+struct omap4_keypad_platform_data {
+ const struct matrix_keymap_data *keymap_data;
+
+ u8 rows;
+ u8 cols;
+
+ u16 irq;
+ void __iomem *base;
+};
+
+#endif
OpenPOWER on IntegriCloud