xref: /linux/Documentation/devicetree/bindings/input/touchscreen/trivial-touch.yaml (revision b61104e7a6349bd2c2b3e2fb3260d87f15eda8f4)
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/trivial-touch.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Trivial touch screen controller with i2c interface
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    enum:
15      # The Azoteq IQS550, IQS572 and IQS525 trackpad and touchscreen controllers
16      - azoteq,iqs550
17      - azoteq,iqs572
18      - azoteq,iqs525
19      # Himax hx83100a touchscreen controller
20      - himax,hx83100a
21      # Himax hx83112b touchscreen controller
22      - himax,hx83112b
23      # Hynitron cstxxx series touchscreen controller
24      - hynitron,cst340
25      # Ilitek I2C Touchscreen Controller
26      - ilitek,ili210x
27      - ilitek,ili2117
28      - ilitek,ili2120
29      - ilitek,ili2130
30      - ilitek,ili2131
31      - ilitek,ili2132
32      - ilitek,ili2316
33      - ilitek,ili2322
34      - ilitek,ili2323
35      - ilitek,ili2326
36      - ilitek,ili251x
37      - ilitek,ili2520
38      - ilitek,ili2521
39      # MAXI MAX11801 Resistive touch screen controller with i2c interface
40      - maxim,max11801
41      # Microchip AR1020 and AR1021 touchscreen interface (I2C)
42      - microchip,ar1021-i2c
43      # Trivial touch screen controller with i2c interface
44      - semtech,sx8650
45      - semtech,sx8654
46      - semtech,sx8655
47      - semtech,sx8656
48
49  reg:
50    maxItems: 1
51
52  interrupts:
53    maxItems: 1
54
55  reset-gpios:
56    maxItems: 1
57
58  wakeup-source: true
59
60allOf:
61  - $ref: touchscreen.yaml
62
63required:
64  - compatible
65  - reg
66  - interrupts
67
68unevaluatedProperties: false
69
70examples:
71  - |
72    #include <dt-bindings/interrupt-controller/irq.h>
73
74    i2c {
75        #address-cells = <1>;
76        #size-cells = <0>;
77
78        touchscreen@48 {
79            compatible = "maxim,max11801";
80            reg = <0x48>;
81            interrupt-parent = <&gpio3>;
82            interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
83        };
84    };
85