1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/input/touchscreen/elan,ektf2127.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: Elan eKTF2127 I2C touchscreen controller 8 9 maintainers: 10 - Siebren Vroegindeweij <siebren.vroegindeweij@hotmail.com> 11 12 allOf: 13 - $ref: touchscreen.yaml# 14 15 properties: 16 compatible: 17 enum: 18 - elan,ektf2127 19 - elan,ektf2132 20 - elan,ektf2232 21 22 reg: 23 maxItems: 1 24 25 interrupts: 26 maxItems: 1 27 28 power-gpios: 29 maxItems: 1 30 31 required: 32 - compatible 33 - reg 34 - interrupts 35 - power-gpios 36 37 unevaluatedProperties: false 38 39 examples: 40 - | 41 #include <dt-bindings/gpio/gpio.h> 42 #include <dt-bindings/interrupt-controller/irq.h> 43 44 i2c { 45 #address-cells = <1>; 46 #size-cells = <0>; 47 48 touchscreen@15 { 49 compatible = "elan,ektf2127"; 50 reg = <0x15>; 51 interrupt-parent = <&pio>; 52 interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>; 53 power-gpios = <&pio 1 3 GPIO_ACTIVE_HIGH>; 54 touchscreen-inverted-x; 55 touchscreen-swapped-x-y; 56 }; 57 }; 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.