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