1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/input/touch 4 $id: http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: EETI EXC3000 series touchscreen control 7 title: EETI EXC3000 series touchscreen controller 8 8 9 maintainers: 9 maintainers: 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 11 11 12 allOf: 12 allOf: 13 - $ref: touchscreen.yaml# 13 - $ref: touchscreen.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 oneOf: 17 oneOf: 18 - const: eeti,exc3000 18 - const: eeti,exc3000 19 - const: eeti,exc80h60 19 - const: eeti,exc80h60 20 - const: eeti,exc80h84 20 - const: eeti,exc80h84 21 - items: 21 - items: 22 - enum: 22 - enum: 23 - eeti,exc81w32 23 - eeti,exc81w32 24 - const: eeti,exc80h84 24 - const: eeti,exc80h84 25 reg: 25 reg: 26 const: 0x2a 26 const: 0x2a 27 interrupts: 27 interrupts: 28 maxItems: 1 28 maxItems: 1 29 reset-gpios: 29 reset-gpios: 30 maxItems: 1 30 maxItems: 1 31 vdd-supply: 31 vdd-supply: 32 description: Power supply regulator for th 32 description: Power supply regulator for the chip 33 touchscreen-size-x: true 33 touchscreen-size-x: true 34 touchscreen-size-y: true 34 touchscreen-size-y: true 35 touchscreen-inverted-x: true 35 touchscreen-inverted-x: true 36 touchscreen-inverted-y: true 36 touchscreen-inverted-y: true 37 touchscreen-swapped-x-y: true 37 touchscreen-swapped-x-y: true 38 38 39 required: 39 required: 40 - compatible 40 - compatible 41 - reg 41 - reg 42 - interrupts 42 - interrupts 43 - touchscreen-size-x 43 - touchscreen-size-x 44 - touchscreen-size-y 44 - touchscreen-size-y 45 45 46 additionalProperties: false 46 additionalProperties: false 47 47 48 examples: 48 examples: 49 - | 49 - | 50 #include "dt-bindings/interrupt-controller 50 #include "dt-bindings/interrupt-controller/irq.h" 51 i2c { 51 i2c { 52 #address-cells = <1>; 52 #address-cells = <1>; 53 #size-cells = <0>; 53 #size-cells = <0>; 54 touchscreen@2a { 54 touchscreen@2a { 55 compatible = "eeti,exc3000"; 55 compatible = "eeti,exc3000"; 56 reg = <0x2a>; 56 reg = <0x2a>; 57 interrupt-parent = <&gpio1>; 57 interrupt-parent = <&gpio1>; 58 interrupts = <9 IRQ_TYPE_LEVEL 58 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 59 touchscreen-size-x = <4096>; 59 touchscreen-size-x = <4096>; 60 touchscreen-size-y = <4096>; 60 touchscreen-size-y = <4096>; 61 touchscreen-inverted-x; 61 touchscreen-inverted-x; 62 touchscreen-swapped-x-y; 62 touchscreen-swapped-x-y; 63 }; 63 }; 64 }; 64 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.