You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
264 B
14 lines
264 B
18 years ago
|
#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
|
||
|
};
|