android_kernel_xiaomi_sm8350/include/asm-arm/arch-pxa/pxa27x_keyboard.h
Rodolfo Giometti 5a90e5bca9 Input: add support for PXA27x keyboard controller
Signed-off-by: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2007-03-16 00:58:52 -04:00

14 lines
264 B
C

#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
};