xref: /linux/Documentation/devicetree/bindings/input/touchscreen/ilitek,ili210x.yaml (revision 1fd1dc41724319406b0aff221a352a400b0ddfc5)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/input/touchscreen/ilitek,ili210x.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Ilitek ILI21xx/ILI251x V3/V6 touch screen controller with i2c interface
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11  - Marek Vasut <marek.vasut+renesas@mailbox.org>
12
13properties:
14  compatible:
15    enum:
16      - ilitek,ili210x
17      - ilitek,ili2117
18      - ilitek,ili2120
19      - ilitek,ili251x
20
21  reg:
22    maxItems: 1
23
24  interrupts:
25    maxItems: 1
26
27  reset-gpios:
28    maxItems: 1
29
30  wakeup-source: true
31
32required:
33  - compatible
34  - reg
35
36allOf:
37  - $ref: touchscreen.yaml
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    i2c {
44        #address-cells = <1>;
45        #size-cells = <0>;
46
47        touchscreen@41 {
48            compatible = "ilitek,ili2120";
49            reg = <0x41>;
50        };
51    };
52