Skip to contentSkip to conversation

input:Add keypad header file for w90p910

PATCH Superseded Wan ZongShun 2 participants 2 messages Jul 9, 2009 – Jul 14, 2009

Subsystems (3)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 input:Add keypad header file for w90p910

Dear sirs,

This is a header file for supporting my keypad driver, a few days ago,I have submitted it, Now, for updating keypad driver, I submit new patch updated again!

---
 .../arm/mach-w90x900/include/mach/w90p910_keypad.h |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-w90x900/include/mach/w90p910_keypad.h
arch/arm/mach-w90x900/include/mach/w90p910_keypad.h new file +20 -0
new file mode 100644
index 0000000..5aaa9a7
@@ -0,0 +1,20 @@
+#ifndef __ASM_ARCH_W90P910_KEYPAD_H
+#define __ASM_ARCH_W90P910_KEYPAD_H
+
+#include <linux/input.h>
+
+extern void mfp_set_groupi(struct device *dev);
+
+struct w90p910_keypad_platform_data {
+
+	unsigned int	prescale;
+	unsigned int	debounce;
+	unsigned int	matrix_key_rows;
+	unsigned int	matrix_key_cols;
+	unsigned int	*matrix_key_map;
+	int		matrix_key_map_size;
+};
+
+#define KEY(row, col, val)	(((row) << 28) | ((col) << 24) | (val))
+
+#endif /* __ASM_ARCH_W90P910_KEYPAD_H */
Signature · 1 line
1.5.6.3
#1 lore raw

Hi Wan,

Quoted 8 lines · Wan ZongShun

Dear sirs,

This is a header file for supporting my keypad driver, a few days ago,I have submitted it, Now, for updating keypad driver, I submit new patch updated again!

Please submit this header file together with the keypad driver, I believe there is an updated version coming, right?

arch/arm/mach-w90x900/include/mach/w90p910_keypad.h line 19

Quoted 3 lines
arch/arm/mach-w90x900/include/mach/w90p910_keypad.h new file +3 -0
+
+#define KEY(row, col, val)	(((row) << 28) | ((col) << 24) | (val))
+

Please use definitions from include/linux/input/matrix_keypad.h found in my tree.

Signature · 1 line
Dmitry