diff options
author | Siebren Vroegindeweij <siebren.vroegindeweij@hotmail.com> | 2016-09-15 18:38:02 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-09-26 23:01:58 -0400 |
commit | 9ca5bf5029b6c17ce50b34581242f71f9b777ae7 (patch) | |
tree | b0c26bc3f1e1c6c27813a75562490779a42d1038 /Documentation | |
parent | 51db013767c46dc0243a8945085b5a229d9bd281 (diff) |
Input: add support for Elan eKTF2127 touchscreen controller
This adds a driver for the Elan eKTF2127 touchscreen controller,
which speaks an i2c protocol which is distinctly different from
the already supported eKTH controllers.
Signed-off-by: Michel Verlaan <michel.verl@gmail.com>
Signed-off-by: Siebren Vroegindeweij <siebren.vroegindeweij@hotmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/input/touchscreen/ektf2127.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/ektf2127.txt b/Documentation/devicetree/bindings/input/touchscreen/ektf2127.txt new file mode 100644 index 000000000000..5a19f4c3e9d7 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/ektf2127.txt | |||
@@ -0,0 +1,27 @@ | |||
1 | * Elan eKTF2127 I2C touchscreen controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : "elan,ektf2127" | ||
5 | - reg : I2C slave address of the chip (0x40) | ||
6 | - interrupt-parent : a phandle pointing to the interrupt controller | ||
7 | serving the interrupt for this chip | ||
8 | - interrupts : interrupt specification for the ektf2127 interrupt | ||
9 | - power-gpios : GPIO specification for the pin connected to the | ||
10 | ektf2127's wake input. This needs to be driven high | ||
11 | to take ektf2127 out of it's low power state | ||
12 | |||
13 | For additional optional properties see: touchscreen.txt | ||
14 | |||
15 | Example: | ||
16 | |||
17 | i2c@00000000 { | ||
18 | ektf2127: touchscreen@15 { | ||
19 | compatible = "elan,ektf2127"; | ||
20 | reg = <0x15>; | ||
21 | interrupt-parent = <&pio>; | ||
22 | interrupts = <6 11 IRQ_TYPE_EDGE_FALLING> | ||
23 | power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; | ||
24 | touchscreen-inverted-x; | ||
25 | touchscreen-swapped-x-y; | ||
26 | }; | ||
27 | }; | ||