diff options
author | Wan ZongShun <mcuos.com@gmail.com> | 2009-08-09 21:22:22 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-08-09 21:24:09 -0700 |
commit | 4a15235e79f5160a34100b362af2c674d191d0a5 (patch) | |
tree | b0f2eb2aa3f67c211b9646b4f84eb01f854096f7 /arch/arm/mach-w90x900/include/mach | |
parent | fa71c605c2bb4d816514c2611ad53f48007f1fd3 (diff) |
Input: add keypad driver for w90p910
Add keypad driver for the 4x4 keypad on an evaluation board based
on w90p910.
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Reviewed-by: Trilok Soni <soni.trilok@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'arch/arm/mach-w90x900/include/mach')
-rw-r--r-- | arch/arm/mach-w90x900/include/mach/w90p910_keypad.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 00000000000..79462faaa18 --- /dev/null +++ b/arch/arm/mach-w90x900/include/mach/w90p910_keypad.h @@ -0,0 +1,18 @@ +#ifndef __ASM_ARCH_W90P910_KEYPAD_H +#define __ASM_ARCH_W90P910_KEYPAD_H + +#include <linux/input/matrix_keypad.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; +}; + +#endif /* __ASM_ARCH_W90P910_KEYPAD_H */ |