All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] input:Add keypad header file for w90p910
@ 2009-07-09  9:10 Wan ZongShun
  2009-07-14  4:29 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Wan ZongShun @ 2009-07-09  9:10 UTC (permalink / raw)
  To: linux-arm-kernel, Trilok Soni, Dmitry Torokhov, linux-input, Russell

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!

Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>

---
 .../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

diff --git a/arch/arm/mach-w90x900/include/mach/w90p910_keypad.h b/arch/arm/mach-w90x900/include/mach/w90p910_keypad.h
new file mode 100644
index 0000000..5aaa9a7
--- /dev/null
+++ b/arch/arm/mach-w90x900/include/mach/w90p910_keypad.h
@@ -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 */
-- 
1.5.6.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] input:Add keypad header file for w90p910
  2009-07-09  9:10 [PATCH v2] input:Add keypad header file for w90p910 Wan ZongShun
@ 2009-07-14  4:29 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2009-07-14  4:29 UTC (permalink / raw)
  To: Wan ZongShun; +Cc: linux-arm-kernel, Trilok Soni, linux-input, Russell King

Hi Wan,

On Thu, Jul 09, 2009 at 05:10:30PM +0800, Wan ZongShun wrote:
> 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!
> 
> Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
> 

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

> +
> +#define KEY(row, col, val)	(((row) << 28) | ((col) << 24) | (val))
> +

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

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-14  4:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-09  9:10 [PATCH v2] input:Add keypad header file for w90p910 Wan ZongShun
2009-07-14  4:29 ` Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.