1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only 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/elan,ektf2127.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Elan eKTF2127 I2C touchscreen controlle 7 title: Elan eKTF2127 I2C touchscreen controller 8 8 9 maintainers: 9 maintainers: 10 - Siebren Vroegindeweij <siebren.vroegindewei 10 - Siebren Vroegindeweij <siebren.vroegindeweij@hotmail.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 enum: 17 enum: 18 - elan,ektf2127 18 - elan,ektf2127 19 - elan,ektf2132 19 - elan,ektf2132 20 - elan,ektf2232 20 - elan,ektf2232 21 21 22 reg: 22 reg: 23 maxItems: 1 23 maxItems: 1 24 24 25 interrupts: 25 interrupts: 26 maxItems: 1 26 maxItems: 1 27 27 28 power-gpios: 28 power-gpios: 29 maxItems: 1 29 maxItems: 1 30 30 31 required: 31 required: 32 - compatible 32 - compatible 33 - reg 33 - reg 34 - interrupts 34 - interrupts 35 - power-gpios 35 - power-gpios 36 36 37 unevaluatedProperties: false 37 unevaluatedProperties: false 38 38 39 examples: 39 examples: 40 - | 40 - | 41 #include <dt-bindings/gpio/gpio.h> 41 #include <dt-bindings/gpio/gpio.h> 42 #include <dt-bindings/interrupt-controller 42 #include <dt-bindings/interrupt-controller/irq.h> 43 43 44 i2c { 44 i2c { 45 #address-cells = <1>; 45 #address-cells = <1>; 46 #size-cells = <0>; 46 #size-cells = <0>; 47 47 48 touchscreen@15 { 48 touchscreen@15 { 49 compatible = "elan,ektf2127"; 49 compatible = "elan,ektf2127"; 50 reg = <0x15>; 50 reg = <0x15>; 51 interrupt-parent = <&pio>; 51 interrupt-parent = <&pio>; 52 interrupts = <6 11 IRQ_TYPE_EDGE_F 52 interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>; 53 power-gpios = <&pio 1 3 GPIO_ACTIV 53 power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; 54 touchscreen-inverted-x; 54 touchscreen-inverted-x; 55 touchscreen-swapped-x-y; 55 touchscreen-swapped-x-y; 56 }; 56 }; 57 }; 57 }; 58 ... 58 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.