diff options
author | Wan ZongShun <mcuos.com@gmail.com> | 2009-08-10 06:22:22 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-08-10 06:24:09 +0200 |
commit | 4a15235e79f5160a34100b362af2c674d191d0a5 (patch) | |
tree | b0f2eb2aa3f67c211b9646b4f84eb01f854096f7 /arch/arm | |
parent | Input: combine hil_kbd and hil_ptr drivers (diff) | |
download | linux-4a15235e79f5160a34100b362af2c674d191d0a5.tar.xz linux-4a15235e79f5160a34100b362af2c674d191d0a5.zip |
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')
-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 @@ +#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 */ |