aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@samsung.com>2017-06-05 18:29:18 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-06-05 18:35:34 -0400
commit78bcac7b2ae1e4f6e96c68ff353c140669ea231c (patch)
tree3d9baece29da1fe05c16b6996a57958dd3547497 /Documentation/devicetree/bindings/input
parent131b3de7016b73fca1aba8ffb528217ac95b2505 (diff)
Input: add support for the STMicroelectronics FingerTip touchscreen
The stmfts (ST-Microelectronics FingerTip S) touchscreen device is a capacitive multi-touch controller mainly for mobile use. It's connected through i2c bus at the address 0x49 and it interfaces with userspace through input event interface. At the current state it provides a touchscreen multitouch functionality up to 10 fingers. Each finger is enumerated with a distinctive id (from 0 to 9). If enabled the device can support single "touch" hovering, by providing three coordinates, x, y and distance. It is possible to select the touchkey functionality which provides a basic two keys interface for "home" and "back" menu, typical in mobile phones. Signed-off-by: Andi Shyti <andi.shyti@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/st,stmfts.txt43
1 files changed, 43 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.txt b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.txt
new file mode 100644
index 000000000000..9683595cd0f5
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.txt
@@ -0,0 +1,43 @@
1* ST-Microelectronics FingerTip touchscreen controller
2
3The ST-Microelectronics FingerTip device provides a basic touchscreen
4functionality. Along with it the user can enable the touchkey which can work as
5a basic HOME and BACK key for phones.
6
7The driver supports also hovering as an absolute single touch event with x, y, z
8coordinates.
9
10Required properties:
11- compatible : must be "st,stmfts"
12- reg : I2C slave address, (e.g. 0x49)
13- interrupt-parent : the phandle to the interrupt controller which provides
14 the interrupt
15- interrupts : interrupt specification
16- avdd-supply : analogic power supply
17- vdd-supply : power supply
18- touchscreen-size-x : see touchscreen.txt
19- touchscreen-size-y : see touchscreen.txt
20
21Optional properties:
22- touch-key-connected : specifies whether the touchkey feature is connected
23- ledvdd-supply : power supply to the touch key leds
24
25Example:
26
27i2c@00000000 {
28
29 /* ... */
30
31 touchscreen@49 {
32 compatible = "st,stmfts";
33 reg = <0x49>;
34 interrupt-parent = <&gpa1>;
35 interrupts = <1 IRQ_TYPE_NONE>;
36 touchscreen-size-x = <1599>;
37 touchscreen-size-y = <2559>;
38 touch-key-connected;
39 avdd-supply = <&ldo30_reg>;
40 vdd-supply = <&ldo31_reg>;
41 ledvdd-supply = <&ldo33_reg>;
42 };
43};