FocalTech EDT-FT5x06 Polytouch

Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/edt-ft5x06.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

There are 5 variants of the chip for various touch panel sizes FT5206GE1 2.8" .. 3.8" FT5306DE4 4.3" .. 7" FT5406EE8 7" .. 8.9" FT5506EEG 7" .. 8.9" FT5726NEI 5.7” .. 11.6"

Maintainers (maintainers): "Dmitry Torokhov <dmitry.torokhov@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): touchscreen.yaml#

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "evervision,ev-ft5726"

When the condition matches (then) #

Properties and child nodes (properties)

offset-x — not listed as required here

true — No constraints added by this property rule.

offset-y — not listed as required here

true — No constraints added by this property rule.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "edt,edt-ft5206", "edt,edt-ft5306", "edt,edt-ft5406", "edt,edt-ft5506", "evervision,ev-ft5726", "focaltech,ft3518", "focaltech,ft5426", "focaltech,ft5452", "focaltech,ft6236", "focaltech,ft8201", "focaltech,ft8716", "focaltech,ft8719"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

wake-gpios — not listed as required here #

Maximum number of items (maxItems): 1

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

vcc-supply — not listed as required here #

true — No constraints added by this property rule.

iovcc-supply — not listed as required here #

true — No constraints added by this property rule.

gain — not listed as required here #

Allows setting the sensitivity in the range from 0 to 31. Note that lower values indicate higher sensitivity.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 31

offset — not listed as required here #

Allows setting the edge compensation in the range from 0 to 31.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 31

offset-x — not listed as required here #

Same as offset, but applies only to the horizontal position. Range from 0 to 80, only supported by evervision,ev-ft5726 devices.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 80

offset-y — not listed as required here #

Same as offset, but applies only to the vertical position. Range from 0 to 80, only supported by evervision,ev-ft5726 devices.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 80

report-rate-hz — not listed as required here #

Allows setting the scan rate in Hertz. M06 supports range from 30 to 140 Hz. M12 supports range from 1 to 255 Hz.

Minimum value (minimum): 1

Maximum value (maximum): 255

threshold — not listed as required here #

Allows setting the "click"-threshold in the range from 0 to 255.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 255

interrupt-controller — not listed as required here #

true — No constraints added by this property rule.

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "interrupts"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  touchscreen@38 {
    compatible = "edt,edt-ft5406";
    reg = <0x38>;
    interrupt-parent = <&gpio2>;
    interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
    reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
    wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page