summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorOlivier Sobrie <olivier@sobrie.be>2012-03-16 23:57:09 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-03-17 12:20:44 -0700
commit5c6a7a62c130afef3d61c1dee153012231ff5cd9 (patch)
tree19052f6ddcb413ebc967f9f32d923b9fddb24a04 /include/linux/input
parent14b5842ebf552d242b0238f70d0730a564065fb0 (diff)
Input: ili210x - add support for Ilitek ILI210x based touchscreens
The driver supports chipsets ILI2102, ILI2102s, ILI2103, ILI2103s and ILI2105. Such kind of controllers can be found in Amazon Kindle Fire devices. Reviewed-by: Jan Paesmans <jan.paesmans@gmail.com> Reviewed-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Olivier Sobrie <olivier@sobrie.be> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/ili210x.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/input/ili210x.h b/include/linux/input/ili210x.h
new file mode 100644
index 000000000000..a5471245a13c
--- /dev/null
+++ b/include/linux/input/ili210x.h
@@ -0,0 +1,10 @@
+#ifndef _ILI210X_H
+#define _ILI210X_H
+
+struct ili210x_platform_data {
+ unsigned long irq_flags;
+ unsigned int poll_period;
+ bool (*get_pendown_state)(void);
+};
+
+#endif