aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2013-10-31 01:25:32 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-10-31 08:46:08 -0700
commitc6d81bd7237b5785080087bcf796ce456ef69557 (patch)
tree66ce40f74cedd9b0531b6dfccd8f164226fbdc37 /include/linux/platform_data
parentInput: sh_keysc - enable the driver on all ARM platforms (diff)
downloadlinux-dev-c6d81bd7237b5785080087bcf796ce456ef69557.tar.xz
linux-dev-c6d81bd7237b5785080087bcf796ce456ef69557.zip
Input: add driver for Neonode zForce based touchscreens
This adds a driver for touchscreens using the zforce infrared technology from Neonode connected via i2c to the host system. It supports multitouch with up to two fingers and tracking of the contacts in hardware. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/zforce_ts.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/platform_data/zforce_ts.h b/include/linux/platform_data/zforce_ts.h
new file mode 100644
index 000000000000..0472ab2f6ede
--- /dev/null
+++ b/include/linux/platform_data/zforce_ts.h
@@ -0,0 +1,26 @@
+/* drivers/input/touchscreen/zforce.c
+ *
+ * Copyright (C) 2012-2013 MundoReader S.L.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef _LINUX_INPUT_ZFORCE_TS_H
+#define _LINUX_INPUT_ZFORCE_TS_H
+
+struct zforce_ts_platdata {
+ int gpio_int;
+ int gpio_rst;
+
+ unsigned int x_max;
+ unsigned int y_max;
+};
+
+#endif /* _LINUX_INPUT_ZFORCE_TS_H */