Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: input: colibri-vf50-ts: Improve documentation

Clarify properties definition, drop unused pinctrl-2 state 'gpio'.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220712101619.326120-3-francesco.dolcini@toradex.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Max Krummenacher and committed by
Dmitry Torokhov
a212f5ca 8a32cff2

+8 -8
+8 -8
Documentation/devicetree/bindings/input/touchscreen/colibri-vf50-ts.txt
··· 3 3 Required Properties: 4 4 - compatible must be toradex,vf50-touchscreen 5 5 - io-channels: adc channels being used by the Colibri VF50 module 6 + IIO ADC for Y-, X-, Y+, X+ connections 6 7 - xp-gpios: FET gate driver for input of X+ 7 8 - xm-gpios: FET gate driver for input of X- 8 9 - yp-gpios: FET gate driver for input of Y+ 9 10 - 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 11 + - interrupts: pen irq interrupt for touch detection, signal from X plate 12 + - pinctrl-names: "idle", "default" 13 + - pinctrl-0: pinctrl node for pen/touch detection, pinctrl must provide 14 + pull-up resistor on X+, X-. 13 15 - 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 16 - vf50-ts-min-pressure: pressure level at which to stop measuring X/Y values 16 17 17 18 Example: ··· 27 26 ym-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; 28 27 interrupt-parent = <&gpio0>; 29 28 interrupts = <8 IRQ_TYPE_LEVEL_LOW>; 30 - pinctrl-names = "idle","default","gpios"; 31 - pinctrl-0 = <&pinctrl_touchctrl_idle>; 32 - pinctrl-1 = <&pinctrl_touchctrl_default>; 33 - pinctrl-2 = <&pinctrl_touchctrl_gpios>; 29 + pinctrl-names = "idle","default"; 30 + pinctrl-0 = <&pinctrl_touchctrl_idle>, <&pinctrl_touchctrl_gpios>; 31 + pinctrl-1 = <&pinctrl_touchctrl_default>, <&pinctrl_touchctrl_gpios>; 34 32 vf50-ts-min-pressure = <200>; 35 33 };