summaryrefslogtreecommitdiff
path: root/arch/arm/plat-omap/include/plat/syntm12xx.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-omap/include/plat/syntm12xx.h')
-rw-r--r--arch/arm/plat-omap/include/plat/syntm12xx.h18
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