11053653fSSebastian Reichel# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
21053653fSSebastian Reichel%YAML 1.2
31053653fSSebastian Reichel---
41053653fSSebastian Reichel$id: http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml#
51053653fSSebastian Reichel$schema: http://devicetree.org/meta-schemas/core.yaml#
61053653fSSebastian Reichel
71053653fSSebastian Reicheltitle: EETI EXC3000 series touchscreen controller
81053653fSSebastian Reichel
91053653fSSebastian Reichelmaintainers:
101053653fSSebastian Reichel  - Dmitry Torokhov <dmitry.torokhov@gmail.com>
111053653fSSebastian Reichel
121053653fSSebastian ReichelallOf:
131053653fSSebastian Reichel  - $ref: touchscreen.yaml#
141053653fSSebastian Reichel
151053653fSSebastian Reichelproperties:
161053653fSSebastian Reichel  compatible:
173bdd21c6SSebastian Reichel    enum:
183bdd21c6SSebastian Reichel      - eeti,exc3000
193bdd21c6SSebastian Reichel      - eeti,exc80h60
203bdd21c6SSebastian Reichel      - eeti,exc80h84
211053653fSSebastian Reichel  reg:
221053653fSSebastian Reichel    const: 0x2a
231053653fSSebastian Reichel  interrupts:
241053653fSSebastian Reichel    maxItems: 1
2527aced19SSebastian Reichel  reset-gpios:
2627aced19SSebastian Reichel    maxItems: 1
27*ff785255SMike Looijmans  vdd-supply:
28*ff785255SMike Looijmans    description: Power supply regulator for the chip
291053653fSSebastian Reichel  touchscreen-size-x: true
301053653fSSebastian Reichel  touchscreen-size-y: true
311053653fSSebastian Reichel  touchscreen-inverted-x: true
321053653fSSebastian Reichel  touchscreen-inverted-y: true
331053653fSSebastian Reichel  touchscreen-swapped-x-y: true
341053653fSSebastian Reichel
351053653fSSebastian Reichelrequired:
361053653fSSebastian Reichel  - compatible
371053653fSSebastian Reichel  - reg
381053653fSSebastian Reichel  - interrupts
391053653fSSebastian Reichel  - touchscreen-size-x
401053653fSSebastian Reichel  - touchscreen-size-y
411053653fSSebastian Reichel
421053653fSSebastian ReicheladditionalProperties: false
431053653fSSebastian Reichel
441053653fSSebastian Reichelexamples:
451053653fSSebastian Reichel  - |
461053653fSSebastian Reichel    #include "dt-bindings/interrupt-controller/irq.h"
471053653fSSebastian Reichel    i2c {
481053653fSSebastian Reichel        #address-cells = <1>;
491053653fSSebastian Reichel        #size-cells = <0>;
501053653fSSebastian Reichel        touchscreen@2a {
511053653fSSebastian Reichel                compatible = "eeti,exc3000";
521053653fSSebastian Reichel                reg = <0x2a>;
531053653fSSebastian Reichel                interrupt-parent = <&gpio1>;
541053653fSSebastian Reichel                interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
551053653fSSebastian Reichel                touchscreen-size-x = <4096>;
561053653fSSebastian Reichel                touchscreen-size-y = <4096>;
571053653fSSebastian Reichel                touchscreen-inverted-x;
581053653fSSebastian Reichel                touchscreen-swapped-x-y;
591053653fSSebastian Reichel        };
601053653fSSebastian Reichel    };
61