Texas Instruments tsc2007 touchscreen controller

Schema identifier ($id): "http://devicetree.org/schemas/input/touchscreen/ti,tsc2007.yaml#"

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

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,tsc2007"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

ti,x-plate-ohms — required here #

X-plate resistance in ohms.

gpios — not listed as required here #

true — No constraints added by this property rule.

pendown-gpio — not listed as required here #

true — No constraints added by this property rule.

wakeup-source — not listed as required here #

true — No constraints added by this property rule.

ti,max-rt — not listed as required here #

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

maximum pressure.

ti,fuzzx — not listed as required here #

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

specifies the absolute input fuzz x value. If set, it will permit noise in the data up to +- the value given to the fuzz parameter, that is used to filter noise from the event stream.

ti,fuzzy — not listed as required here #

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

specifies the absolute input fuzz y value.

ti,fuzzz — not listed as required here #

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

specifies the absolute input fuzz z value.

ti,poll-period — not listed as required here #

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

how much time to wait (in milliseconds) before reading again the values from the tsc2007.

#io-channel-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "ti,x-plate-ohms"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    touch@49 {
       compatible = "ti,tsc2007";
       reg = <0x49>;
       interrupt-parent = <&gpio4>;
       interrupts = <0x0 0x8>;
       gpios = <&gpio4 0 0>;
       ti,x-plate-ohms = <180>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page