18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: EETI EXC3000 series touchscreen controller
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cimaintainers:
108c2ecf20Sopenharmony_ci  - Dmitry Torokhov <dmitry.torokhov@gmail.com>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciallOf:
138c2ecf20Sopenharmony_ci  - $ref: touchscreen.yaml#
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciproperties:
168c2ecf20Sopenharmony_ci  compatible:
178c2ecf20Sopenharmony_ci    enum:
188c2ecf20Sopenharmony_ci      - eeti,exc3000
198c2ecf20Sopenharmony_ci      - eeti,exc80h60
208c2ecf20Sopenharmony_ci      - eeti,exc80h84
218c2ecf20Sopenharmony_ci  reg:
228c2ecf20Sopenharmony_ci    const: 0x2a
238c2ecf20Sopenharmony_ci  interrupts:
248c2ecf20Sopenharmony_ci    maxItems: 1
258c2ecf20Sopenharmony_ci  reset-gpios:
268c2ecf20Sopenharmony_ci    maxItems: 1
278c2ecf20Sopenharmony_ci  touchscreen-size-x: true
288c2ecf20Sopenharmony_ci  touchscreen-size-y: true
298c2ecf20Sopenharmony_ci  touchscreen-inverted-x: true
308c2ecf20Sopenharmony_ci  touchscreen-inverted-y: true
318c2ecf20Sopenharmony_ci  touchscreen-swapped-x-y: true
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_cirequired:
348c2ecf20Sopenharmony_ci  - compatible
358c2ecf20Sopenharmony_ci  - reg
368c2ecf20Sopenharmony_ci  - interrupts
378c2ecf20Sopenharmony_ci  - touchscreen-size-x
388c2ecf20Sopenharmony_ci  - touchscreen-size-y
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciadditionalProperties: false
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciexamples:
438c2ecf20Sopenharmony_ci  - |
448c2ecf20Sopenharmony_ci    #include "dt-bindings/interrupt-controller/irq.h"
458c2ecf20Sopenharmony_ci    i2c {
468c2ecf20Sopenharmony_ci        #address-cells = <1>;
478c2ecf20Sopenharmony_ci        #size-cells = <0>;
488c2ecf20Sopenharmony_ci        touchscreen@2a {
498c2ecf20Sopenharmony_ci                compatible = "eeti,exc3000";
508c2ecf20Sopenharmony_ci                reg = <0x2a>;
518c2ecf20Sopenharmony_ci                interrupt-parent = <&gpio1>;
528c2ecf20Sopenharmony_ci                interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
538c2ecf20Sopenharmony_ci                touchscreen-size-x = <4096>;
548c2ecf20Sopenharmony_ci                touchscreen-size-y = <4096>;
558c2ecf20Sopenharmony_ci                touchscreen-inverted-x;
568c2ecf20Sopenharmony_ci                touchscreen-swapped-x-y;
578c2ecf20Sopenharmony_ci        };
588c2ecf20Sopenharmony_ci    };
59