]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/input/touchscreen/st,stmfts.txt
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[karo-tx-linux.git] / Documentation / devicetree / bindings / input / touchscreen / st,stmfts.txt
1 * ST-Microelectronics FingerTip touchscreen controller
2
3 The ST-Microelectronics FingerTip device provides a basic touchscreen
4 functionality. Along with it the user can enable the touchkey which can work as
5 a basic HOME and BACK key for phones.
6
7 The driver supports also hovering as an absolute single touch event with x, y, z
8 coordinates.
9
10 Required 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
21 Optional properties:
22 - touch-key-connected   : specifies whether the touchkey feature is connected
23 - ledvdd-supply         : power supply to the touch key leds
24
25 Example:
26
27 i2c@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 };