summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRobby Cai <R63905@freescale.com>2013-08-29 13:44:37 +0800
committerRobby Cai <R63905@freescale.com>2013-08-30 18:10:46 +0800
commit8095d3d5b6f24ebb9732196e7e83cda29174d3a5 (patch)
tree4ab85fb358d15803e788fafb0c4ee4d6cb38afaa /Documentation
parentffe55c51fb88c58593f72ac04cd70130effce4a6 (diff)
ENGR00277223-1 input: port elan touch driver to 3.10 kernel
It's ported from 3.5.7 kernel. To test this driver, the EBook Daughter Board need to be attached (on imx6dl sabresd or imx6sl evk board). Signed-off-by: Robby Cai <R63905@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/elan-ts.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/elan-ts.txt b/Documentation/devicetree/bindings/input/touchscreen/elan-ts.txt
new file mode 100644
index 000000000000..71253bbd2712
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/elan-ts.txt
@@ -0,0 +1,23 @@
+* ELAN Resistive Touch Controller
+
+Required properties:
+- compatible: must be "elan,elan-touch"
+- reg: i2c slave address
+- interrupt-parent: the phandle for the interrupt controller
+- interrupts: touch controller interrupt
+- gpio_elan_cs: the gpio pin for chip select
+- gpio_elan_rst: the gpio pin for chip reset
+- gpio_intr: the gpio pin to be used for interrupt pin
+
+Example:
+
+ elan@10 {
+ compatible = "elan,elan-touch";
+ reg = <0x10>;
+ interrupt-parent = <&gpio3>;
+ interrupts = <28 3>;
+ gpio_elan_cs = <&gpio2 18 0>;
+ gpio_elan_rst = <&gpio3 8 0>;
+ gpio_intr = <&gpio3 28 0>;
+ status = "okay";
+ };