Linux-libre 5.7.6-gnu
[librecmc/linux-libre.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 - interrupts            : interrupt specification
14 - avdd-supply           : analogic power supply
15 - vdd-supply            : power supply
16 - touchscreen-size-x    : see touchscreen.txt
17 - touchscreen-size-y    : see touchscreen.txt
18
19 Optional properties:
20 - touch-key-connected   : specifies whether the touchkey feature is connected
21 - ledvdd-supply         : power supply to the touch key leds
22
23 Example:
24
25 i2c@00000000 {
26
27         /* ... */
28
29         touchscreen@49 {
30                 compatible = "st,stmfts";
31                 reg = <0x49>;
32                 interrupt-parent = <&gpa1>;
33                 interrupts = <1 IRQ_TYPE_NONE>;
34                 touchscreen-size-x = <1599>;
35                 touchscreen-size-y = <2559>;
36                 touch-key-connected;
37                 avdd-supply = <&ldo30_reg>;
38                 vdd-supply = <&ldo31_reg>;
39                 ledvdd-supply = <&ldo33_reg>;
40         };
41 };