WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / touchscreen / colibri-vf50-ts.txt
blob2e1490a8fe74ed8ca36f3b655d62f4e4ca3458d6
1 * Toradex Colibri VF50 Touchscreen driver
3 Required Properties:
4 - compatible must be toradex,vf50-touchscreen
5 - io-channels: adc channels being used by the Colibri VF50 module
6 - xp-gpios: FET gate driver for input of X+
7 - xm-gpios: FET gate driver for input of X-
8 - yp-gpios: FET gate driver for input of Y+
9 - ym-gpios: FET gate driver for input of Y-
10 - interrupts: pen irq interrupt for touch detection
11 - pinctrl-names: "idle", "default", "gpios"
12 - pinctrl-0: pinctrl node for pen/touch detection state pinmux
13 - pinctrl-1: pinctrl node for X/Y and pressure measurement (ADC) state pinmux
14 - pinctrl-2: pinctrl node for gpios functioning as FET gate drivers
15 - vf50-ts-min-pressure: pressure level at which to stop measuring X/Y values
17 Example:
19         touchctrl: vf50_touchctrl {
20                 compatible = "toradex,vf50-touchscreen";
21                 io-channels = <&adc1 0>,<&adc0 0>,
22                                 <&adc0 1>,<&adc1 2>;
23                 xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
24                 xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>;
25                 yp-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
26                 ym-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
27                 interrupt-parent = <&gpio0>;
28                 interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
29                 pinctrl-names = "idle","default","gpios";
30                 pinctrl-0 = <&pinctrl_touchctrl_idle>;
31                 pinctrl-1 = <&pinctrl_touchctrl_default>;
32                 pinctrl-2 = <&pinctrl_touchctrl_gpios>;
33                 vf50-ts-min-pressure = <200>;
34         };