summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorRobby Cai <R63905@freescale.com>2013-08-29 13:44:37 +0800
committerJason Liu <r64343@freescale.com>2013-10-30 09:55:15 +0800
commit6d9827b57e5884eea27e24fd3f56b487636be243 (patch)
tree711fe50c3b62258d9ed84ed8320e735a657766a6 /Documentation/devicetree/bindings
parent76100a35db0f7cbb3835daf189bff6c955741305 (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/devicetree/bindings')
-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";
+ };