summaryrefslogtreecommitdiffstats
path: root/include/linux/input
diff options
context:
space:
mode:
authorJianchun Bian <jcbian@pixcir.com.cn>2011-12-30 15:16:21 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-12-30 15:25:52 -0800
commit36a281e25276f2d138bbbca4170d11453323cce1 (patch)
treeee27168ff87f8ec5d8d73ad36ac678ac39f22b80 /include/linux/input
parent48c98b1bb85a09adf4aa27316682d573e1f37ebf (diff)
downloadop-kernel-dev-36a281e25276f2d138bbbca4170d11453323cce1.zip
op-kernel-dev-36a281e25276f2d138bbbca4170d11453323cce1.tar.gz
Input: add driver for pixcir i2c touchscreens
This patch adds a driver for PIXCIR's I2C connected touchscreens. Signed-off-by: Jianchun <jcbian@pixcir.com.cn> Acked-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/pixcir_ts.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/input/pixcir_ts.h b/include/linux/input/pixcir_ts.h
new file mode 100644
index 0000000..7163d91
--- /dev/null
+++ b/include/linux/input/pixcir_ts.h
@@ -0,0 +1,10 @@
+#ifndef _PIXCIR_I2C_TS_H
+#define _PIXCIR_I2C_TS_H
+
+struct pixcir_ts_platform_data {
+ int (*attb_read_val)(void);
+ int x_max;
+ int y_max;
+};
+
+#endif
OpenPOWER on IntegriCloud