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:
171053653fSSebastian Reichel    const: eeti,exc3000
181053653fSSebastian Reichel  reg:
191053653fSSebastian Reichel    const: 0x2a
201053653fSSebastian Reichel  interrupts:
211053653fSSebastian Reichel    maxItems: 1
221053653fSSebastian Reichel  touchscreen-size-x: true
231053653fSSebastian Reichel  touchscreen-size-y: true
241053653fSSebastian Reichel  touchscreen-inverted-x: true
251053653fSSebastian Reichel  touchscreen-inverted-y: true
261053653fSSebastian Reichel  touchscreen-swapped-x-y: true
271053653fSSebastian Reichel
281053653fSSebastian Reichelrequired:
291053653fSSebastian Reichel  - compatible
301053653fSSebastian Reichel  - reg
311053653fSSebastian Reichel  - interrupts
321053653fSSebastian Reichel  - touchscreen-size-x
331053653fSSebastian Reichel  - touchscreen-size-y
341053653fSSebastian Reichel
351053653fSSebastian ReicheladditionalProperties: false
361053653fSSebastian Reichel
371053653fSSebastian Reichelexamples:
381053653fSSebastian Reichel  - |
391053653fSSebastian Reichel    #include "dt-bindings/interrupt-controller/irq.h"
401053653fSSebastian Reichel    i2c {
411053653fSSebastian Reichel        #address-cells = <1>;
421053653fSSebastian Reichel        #size-cells = <0>;
431053653fSSebastian Reichel        touchscreen@2a {
441053653fSSebastian Reichel                compatible = "eeti,exc3000";
451053653fSSebastian Reichel                reg = <0x2a>;
461053653fSSebastian Reichel                interrupt-parent = <&gpio1>;
471053653fSSebastian Reichel                interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
481053653fSSebastian Reichel                touchscreen-size-x = <4096>;
491053653fSSebastian Reichel                touchscreen-size-y = <4096>;
501053653fSSebastian Reichel                touchscreen-inverted-x;
511053653fSSebastian Reichel                touchscreen-swapped-x-y;
521053653fSSebastian Reichel        };
531053653fSSebastian Reichel    };
54