77 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A10 Resistive Touchscreen Controller8 9maintainers:10 - Chen-Yu Tsai <wens@csie.org>11 - Maxime Ripard <mripard@kernel.org>12 13properties:14 "#thermal-sensor-cells":15 const: 016 17 compatible:18 enum:19 - allwinner,sun4i-a10-ts20 - allwinner,sun5i-a13-ts21 - allwinner,sun6i-a31-ts22 23 reg:24 maxItems: 125 26 interrupts:27 maxItems: 128 29 allwinner,ts-attached:30 $ref: /schemas/types.yaml#/definitions/flag31 description: A touchscreen is attached to the controller32 33 allwinner,tp-sensitive-adjust:34 $ref: /schemas/types.yaml#/definitions/uint3235 minimum: 036 maximum: 1537 default: 1538 39 description: Sensitivity of pen down detection40 41 allwinner,filter-type:42 $ref: /schemas/types.yaml#/definitions/uint3243 minimum: 044 maximum: 345 default: 146 47 description: |48 Select median and averaging filter. Sample used for median /49 averaging filter:50 0: 4/251 1: 5/352 2: 8/453 3: 16/854 55required:56 - "#thermal-sensor-cells"57 - compatible58 - reg59 - interrupts60 61additionalProperties: false62 63examples:64 - |65 rtp: rtp@1c25000 {66 compatible = "allwinner,sun4i-a10-ts";67 reg = <0x01c25000 0x100>;68 interrupts = <29>;69 allwinner,ts-attached;70 #thermal-sensor-cells = <0>;71 /* sensitive/noisy touch panel */72 allwinner,tp-sensitive-adjust = <0>;73 allwinner,filter-type = <3>;74 };75 76...77