1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/input/touchscreen/edt-ft5x06.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: FocalTech EDT-FT5x06 Polytouch
10 There are 5 variants of the chip for various touch panel sizes
11 FT5206GE1 2.8" .. 3.8"
15 FT5726NEI 5.7” .. 11.6"
18 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
21 - $ref: touchscreen.yaml#
27 - evervision,ev-ft5726
41 - evervision,ev-ft5726
66 description: Allows setting the sensitivity in the range from 0 to 31.
67 Note that lower values indicate higher sensitivity.
68 $ref: /schemas/types.yaml#/definitions/uint32
73 description: Allows setting the edge compensation in the range from 0 to 31.
74 $ref: /schemas/types.yaml#/definitions/uint32
79 description: Same as offset, but applies only to the horizontal position.
80 Range from 0 to 80, only supported by evervision,ev-ft5726 devices.
81 $ref: /schemas/types.yaml#/definitions/uint32
86 description: Same as offset, but applies only to the vertical position.
87 Range from 0 to 80, only supported by evervision,ev-ft5726 devices.
88 $ref: /schemas/types.yaml#/definitions/uint32
94 Allows setting the scan rate in Hertz.
95 M06 supports range from 30 to 140 Hz.
96 M12 supports range from 1 to 255 Hz.
101 description: Allows setting the "click"-threshold in the range from 0 to 255.
102 $ref: /schemas/types.yaml#/definitions/uint32
106 touchscreen-size-x: true
107 touchscreen-size-y: true
108 touchscreen-fuzz-x: true
109 touchscreen-fuzz-y: true
110 touchscreen-inverted-x: true
111 touchscreen-inverted-y: true
112 touchscreen-swapped-x-y: true
113 interrupt-controller: true
115 additionalProperties: false
124 #include <dt-bindings/gpio/gpio.h>
125 #include <dt-bindings/interrupt-controller/arm-gic.h>
127 #address-cells = <1>;
130 compatible = "edt,edt-ft5406";
132 interrupt-parent = <&gpio2>;
133 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
134 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
135 wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;