xref: /linux/Documentation/devicetree/bindings/input/touchscreen/maxim,max11801.yaml (revision 4f38da1f027ea2c9f01bb71daa7a299c191b6940)
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/maxim,max11801.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MAXI MAX11801 Resistive touch screen controller with i2c interface
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    const: maxim,max11801
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    maxItems: 1
21
22allOf:
23  - $ref: touchscreen.yaml
24
25required:
26  - compatible
27  - reg
28  - interrupts
29
30unevaluatedProperties: false
31
32examples:
33  - |
34    #include <dt-bindings/interrupt-controller/irq.h>
35
36    i2c {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        touchscreen@48 {
41            compatible = "maxim,max11801";
42            reg = <0x48>;
43            interrupt-parent = <&gpio3>;
44            interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
45        };
46    };
47