diff options
| author | Mika Kuoppala <mika.kuoppala@nokia.com> | 2011-05-31 09:24:51 +0100 |
|---|---|---|
| committer | Andy Green <andy.green@linaro.org> | 2011-05-31 11:06:21 +0100 |
| commit | 585088f09141efaea52e9df4d4c88e37a216af8a (patch) | |
| tree | e37b929a90c5c065daa3bef2d632c3724e160f98 /arch | |
| parent | 386ecf2d3caf9c303586ae39a26ebb99aeb5924b (diff) | |
OMAP4: Touchscreen: Initial Driver Support
Add Synaptic TM12XX touchscreen driver
Signed-off-by: Abraham Arce <x0066660@ti.com>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/arm/plat-omap/include/plat/syntm12xx.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/syntm12xx.h b/arch/arm/plat-omap/include/plat/syntm12xx.h new file mode 100644 index 00000000000..2394839b569 --- /dev/null +++ b/arch/arm/plat-omap/include/plat/syntm12xx.h @@ -0,0 +1,18 @@ +/* + * Platform configuration for Synaptic TM12XX touchscreen driver. + */ + +#ifndef __TM12XX_TS_H +#define __TM12XX_TS_H + +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...*/ +}; + +#endif |
