Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mfd / allwinner,sun4i-a10-ts.yaml
blobf591332fc4629941049ac22bd49a45b7ca631b1c
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 Resistive Touchscreen Controller Device Tree Bindings
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
13 properties:
14   "#thermal-sensor-cells":
15     const: 0
17   compatible:
18     enum:
19       - allwinner,sun4i-a10-ts
20       - allwinner,sun5i-a13-ts
21       - allwinner,sun6i-a31-ts
23   reg:
24     maxItems: 1
26   interrupts:
27     maxItems: 1
29   allwinner,ts-attached:
30     $ref: /schemas/types.yaml#/definitions/flag
31     description: A touchscreen is attached to the controller
33   allwinner,tp-sensitive-adjust:
34     $ref: /schemas/types.yaml#/definitions/uint32
35     minimum: 0
36     maximum: 15
37     default: 15
39     description: Sensitivity of pen down detection
41   allwinner,filter-type:
42     $ref: /schemas/types.yaml#/definitions/uint32
43     minimum: 0
44     maximum: 3
45     default: 1
47     description: |
48       Select median and averaging filter. Sample used for median /
49       averaging filter:
50         0: 4/2
51         1: 5/3
52         2: 8/4
53         3: 16/8
55 required:
56   - "#thermal-sensor-cells"
57   - compatible
58   - reg
59   - interrupts
61 additionalProperties: false
63 examples:
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     };
76 ...