Allwinner A10 Resistive Touchscreen Controller

Schema identifier ($id): "http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#thermal-sensor-cells — required here #

Exact value (const): 0

compatible — required here #

Allowed values (enum): "allwinner,sun4i-a10-ts", "allwinner,sun5i-a13-ts", "allwinner,sun6i-a31-ts"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

allwinner,ts-attached — not listed as required here #

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

A touchscreen is attached to the controller

allwinner,tp-sensitive-adjust — not listed as required here #

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

Minimum value (minimum): 0

Maximum value (maximum): 15

Default value (default): 15

Sensitivity of pen down detection

allwinner,filter-type — not listed as required here #

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

Minimum value (minimum): 0

Maximum value (maximum): 3

Default value (default): 1

Select median and averaging filter. Sample used for median /
averaging filter:
  0: 4/2
  1: 5/3
  2: 8/4
  3: 16/8

Required in this object (required): "#thermal-sensor-cells", "compatible", "reg", "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

rtp: rtp@1c25000 {
    compatible = "allwinner,sun4i-a10-ts";
    reg = <0x01c25000 0x100>;
    interrupts = <29>;
    allwinner,ts-attached;
    #thermal-sensor-cells = <0>;
    /* sensitive/noisy touch panel */
    allwinner,tp-sensitive-adjust = <0>;
    allwinner,filter-type = <3>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page