1# SPDX-License-Identifier: GPL-2.0 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/input/touchscreen/goodix.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Goodix GT9xx series touchscreen controller Bindings 8 9maintainers: 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 11 12allOf: 13 - $ref: touchscreen.yaml# 14 15properties: 16 compatible: 17 enum: 18 - goodix,gt1151 19 - goodix,gt5663 20 - goodix,gt5688 21 - goodix,gt911 22 - goodix,gt9110 23 - goodix,gt912 24 - goodix,gt9147 25 - goodix,gt917s 26 - goodix,gt927 27 - goodix,gt9271 28 - goodix,gt928 29 - goodix,gt967 30 31 reg: 32 enum: [ 0x5d, 0x14 ] 33 34 interrupts: 35 maxItems: 1 36 37 irq-gpios: 38 description: GPIO pin used for IRQ. The driver uses the interrupt gpio pin 39 as output to reset the device. 40 maxItems: 1 41 42 reset-gpios: 43 maxItems: 1 44 45 AVDD28-supply: 46 description: Analog power supply regulator on AVDD28 pin 47 48 VDDIO-supply: 49 description: GPIO power supply regulator on VDDIO pin 50 51 touchscreen-inverted-x: true 52 touchscreen-inverted-y: true 53 touchscreen-size-x: true 54 touchscreen-size-y: true 55 touchscreen-swapped-x-y: true 56 57additionalProperties: false 58 59required: 60 - compatible 61 - reg 62 - interrupts 63 64examples: 65 - | 66 i2c { 67 #address-cells = <1>; 68 #size-cells = <0>; 69 gt928@5d { 70 compatible = "goodix,gt928"; 71 reg = <0x5d>; 72 interrupt-parent = <&gpio>; 73 interrupts = <0 0>; 74 irq-gpios = <&gpio1 0 0>; 75 reset-gpios = <&gpio1 1 0>; 76 }; 77 }; 78 79... 80