diff options
author | Wan ZongShun <mcuos.com@gmail.com> | 2009-08-10 00:22:22 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-08-10 00:24:09 -0400 |
commit | 4a15235e79f5160a34100b362af2c674d191d0a5 (patch) | |
tree | b0f2eb2aa3f67c211b9646b4f84eb01f854096f7 /arch/arm/mach-w90x900 | |
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')
-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 000000000000..79462faaa189 --- /dev/null +++ b/arch/arm/mach-w90x900/include/mach/w90p910_keypad.h | |||
@@ -0,0 +1,18 @@ | |||
1 | #ifndef __ASM_ARCH_W90P910_KEYPAD_H | ||
2 | #define __ASM_ARCH_W90P910_KEYPAD_H | ||
3 | |||
4 | #include <linux/input/matrix_keypad.h> | ||
5 | |||
6 | extern void mfp_set_groupi(struct device *dev); | ||
7 | |||
8 | struct w90p910_keypad_platform_data { | ||
9 | |||
10 | unsigned int prescale; | ||
11 | unsigned int debounce; | ||
12 | unsigned int matrix_key_rows; | ||
13 | unsigned int matrix_key_cols; | ||
14 | unsigned int *matrix_key_map; | ||
15 | int matrix_key_map_size; | ||
16 | }; | ||
17 | |||
18 | #endif /* __ASM_ARCH_W90P910_KEYPAD_H */ | ||