162306a36Sopenharmony_ci* Toradex Colibri VF50 Touchscreen driver 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciRequired Properties: 462306a36Sopenharmony_ci- compatible must be toradex,vf50-touchscreen 562306a36Sopenharmony_ci- io-channels: adc channels being used by the Colibri VF50 module 662306a36Sopenharmony_ci IIO ADC for Y-, X-, Y+, X+ connections 762306a36Sopenharmony_ci- xp-gpios: FET gate driver for input of X+ 862306a36Sopenharmony_ci- xm-gpios: FET gate driver for input of X- 962306a36Sopenharmony_ci- yp-gpios: FET gate driver for input of Y+ 1062306a36Sopenharmony_ci- ym-gpios: FET gate driver for input of Y- 1162306a36Sopenharmony_ci- interrupts: pen irq interrupt for touch detection, signal from X plate 1262306a36Sopenharmony_ci- pinctrl-names: "idle", "default" 1362306a36Sopenharmony_ci- pinctrl-0: pinctrl node for pen/touch detection, pinctrl must provide 1462306a36Sopenharmony_ci pull-up resistor on X+, X-. 1562306a36Sopenharmony_ci- pinctrl-1: pinctrl node for X/Y and pressure measurement (ADC) state pinmux 1662306a36Sopenharmony_ci- vf50-ts-min-pressure: pressure level at which to stop measuring X/Y values 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ciExample: 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci touchctrl: vf50_touchctrl { 2162306a36Sopenharmony_ci compatible = "toradex,vf50-touchscreen"; 2262306a36Sopenharmony_ci io-channels = <&adc1 0>,<&adc0 0>, 2362306a36Sopenharmony_ci <&adc0 1>,<&adc1 2>; 2462306a36Sopenharmony_ci xp-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 2562306a36Sopenharmony_ci xm-gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; 2662306a36Sopenharmony_ci yp-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; 2762306a36Sopenharmony_ci ym-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; 2862306a36Sopenharmony_ci interrupt-parent = <&gpio0>; 2962306a36Sopenharmony_ci interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 3062306a36Sopenharmony_ci pinctrl-names = "idle","default"; 3162306a36Sopenharmony_ci pinctrl-0 = <&pinctrl_touchctrl_idle>, <&pinctrl_touchctrl_gpios>; 3262306a36Sopenharmony_ci pinctrl-1 = <&pinctrl_touchctrl_default>, <&pinctrl_touchctrl_gpios>; 3362306a36Sopenharmony_ci vf50-ts-min-pressure = <200>; 3462306a36Sopenharmony_ci }; 35