summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-pxa/pxa27x_keypad.h
blob: f19f74adde0041b8ea295888a0926c02240fb18b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#define PXAKBD_MAXROW		8
#define PXAKBD_MAXCOL		8

struct pxa27x_keypad_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
};