aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/syntm12xx.h
blob: d17b54d746096308c2e6518a2b4f4efedad42b1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Platform configuration for Synaptic TM12XX touchscreen driver.
 */

#ifndef __TM12XX_TS_H
#define __TM12XX_TS_H

#define SYNTM12XX_SLEEP_ON_SUSPEND	0
#define SYNTM12XX_ON_ON_SUSPEND	1

struct tm12xx_ts_platform_data {
	int      gpio_intr;

	char     **idev_name;  /* Input Device name. */
	u8       *button_map;  /* Button to keycode  */
	unsigned num_buttons;  /* Registered buttons */
	u8       repeat;       /* Input dev Repeat enable */
	u8       swap_xy;      /* ControllerX==InputDevY...*/
	u8	controller_num; /* Number of the controller */
	int	suspend_state; /* Indicate IC state during suspend */
};

#endif