xref: /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/st,stmfts.txt (revision cab6a39d7b343596a5823e65c0f7b426551ec22d)
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- 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
19Optional properties:
20- touch-key-connected	: specifies whether the touchkey feature is connected
21- ledvdd-supply		: power supply to the touch key leds
22
23Example:
24
25i2c@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};
42