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