blob: 9dc25d30a0a8911d853ea6747a034ef6326345e9 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: EETI EXC3000 series touchscreen controller
8
9maintainers:
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
11
12allOf:
13 - $ref: touchscreen.yaml#
14
15properties:
16 compatible:
17 enum:
18 - eeti,exc3000
19 - eeti,exc80h60
20 - eeti,exc80h84
21 reg:
22 const: 0x2a
23 interrupts:
24 maxItems: 1
25 reset-gpios:
26 maxItems: 1
27 vdd-supply:
28 description: Power supply regulator for the chip
29 touchscreen-size-x: true
30 touchscreen-size-y: true
31 touchscreen-inverted-x: true
32 touchscreen-inverted-y: true
33 touchscreen-swapped-x-y: true
34
35required:
36 - compatible
37 - reg
38 - interrupts
39 - touchscreen-size-x
40 - touchscreen-size-y
41
42additionalProperties: false
43
44examples:
45 - |
46 #include "dt-bindings/interrupt-controller/irq.h"
47 i2c {
48 #address-cells = <1>;
49 #size-cells = <0>;
50 touchscreen@2a {
51 compatible = "eeti,exc3000";
52 reg = <0x2a>;
53 interrupt-parent = <&gpio1>;
54 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
55 touchscreen-size-x = <4096>;
56 touchscreen-size-y = <4096>;
57 touchscreen-inverted-x;
58 touchscreen-swapped-x-y;
59 };
60 };