Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / input / touchscreen / eeti,exc3000.yaml
blob1c7ae05a8c15e4aba7465967aea799f86fd770f4
1 # 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#
7 title: EETI EXC3000 series touchscreen controller
9 maintainers:
10   - Dmitry Torokhov <dmitry.torokhov@gmail.com>
12 allOf:
13   - $ref: touchscreen.yaml#
15 properties:
16   compatible:
17     oneOf:
18       - const: eeti,exc3000
19       - const: eeti,exc80h60
20       - const: eeti,exc80h84
21       - items:
22           - enum:
23               - eeti,exc81w32
24           - const: eeti,exc80h84
25   reg:
26     const: 0x2a
27   interrupts:
28     maxItems: 1
29   reset-gpios:
30     maxItems: 1
31   vdd-supply:
32     description: Power supply regulator for the chip
33   touchscreen-size-x: true
34   touchscreen-size-y: true
35   touchscreen-inverted-x: true
36   touchscreen-inverted-y: true
37   touchscreen-swapped-x-y: true
39 required:
40   - compatible
41   - reg
42   - interrupts
43   - touchscreen-size-x
44   - touchscreen-size-y
46 additionalProperties: false
48 examples:
49   - |
50     #include "dt-bindings/interrupt-controller/irq.h"
51     i2c {
52         #address-cells = <1>;
53         #size-cells = <0>;
54         touchscreen@2a {
55                 compatible = "eeti,exc3000";
56                 reg = <0x2a>;
57                 interrupt-parent = <&gpio1>;
58                 interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
59                 touchscreen-size-x = <4096>;
60                 touchscreen-size-y = <4096>;
61                 touchscreen-inverted-x;
62                 touchscreen-swapped-x-y;
63         };
64     };