Thread (12 messages) 12 messages, 3 authors, 2010-09-14

[PATCH 1/7] davinci: define tnetv107x keypad platform data

flat view
STALE5867d

From: Cyril Chemparathy <hidden>
Date: 2010-09-13 16:29:52
Subsystem: arm port, the rest, ti davinci machine support · Maintainers: Russell King, Linus Torvalds, Bartosz Golaszewski

Revision v1 of 4 in this series.

Revisions (4)
  1. v1 current
  2. v2 [diff vs current]
  3. v3 [diff vs current]
  4. v4 [diff vs current]
This patch adds a definition for the platform data structure needed to
configure the keypad controller on tnetv107x socs.

Since this controller is (so far) present only on tnetv107x devices, the data
structure definition has been kept local to tnetv107x.

Signed-off-by: Cyril Chemparathy <redacted>
---
 arch/arm/mach-davinci/include/mach/tnetv107x.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-davinci/include/mach/tnetv107x.h b/arch/arm/mach-davinci/include/mach/tnetv107x.h
index c720647..1ee3035 100644
--- a/arch/arm/mach-davinci/include/mach/tnetv107x.h
+++ b/arch/arm/mach-davinci/include/mach/tnetv107x.h
@@ -37,6 +37,16 @@
 #include <mach/nand.h>
 #include <mach/serial.h>
 
+struct tnetv107x_keypad_data {
+	int		*keymap;
+	const char	**keynames;
+	int		keymap_size;
+	int		rows;
+	int		cols;
+	u32		debounce;
+	u32		stable;
+};
+
 struct tnetv107x_device_info {
 	struct davinci_uart_config	*serial_config;
 	struct davinci_mmc_config	*mmc_config[2];  /* 2 controllers */
-- 
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help