diff options
author | Rodolfo Giometti <giometti@enneenne.com> | 2007-03-16 05:58:52 +0100 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-03-16 05:58:52 +0100 |
commit | 5a90e5bca96696f1daa0bb0a9db299eb40241ada (patch) | |
tree | 66aef72b9fc77ebb00099b1f827c0bbae6030b6d /include/asm-arm/arch-pxa | |
parent | Input: sermouse - improve protocol error recovery (diff) | |
download | linux-5a90e5bca96696f1daa0bb0a9db299eb40241ada.tar.xz linux-5a90e5bca96696f1daa0bb0a9db299eb40241ada.zip |
Input: add support for PXA27x keyboard controller
Signed-off-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/asm-arm/arch-pxa')
-rw-r--r-- | include/asm-arm/arch-pxa/pxa27x_keyboard.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/pxa27x_keyboard.h b/include/asm-arm/arch-pxa/pxa27x_keyboard.h new file mode 100644 index 000000000000..3aaff923b2ca --- /dev/null +++ b/include/asm-arm/arch-pxa/pxa27x_keyboard.h @@ -0,0 +1,13 @@ +#define PXAKBD_MAXROW 8 +#define PXAKBD_MAXCOL 8 + +struct pxa27x_keyboard_platform_data { + int nr_rows, nr_cols; + int keycodes[PXAKBD_MAXROW][PXAKBD_MAXCOL]; + int gpio_modes[PXAKBD_MAXROW + PXAKBD_MAXCOL]; + +#ifdef CONFIG_PM + u32 reg_kpc; + u32 reg_kprec; +#endif +}; |