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. 39 The driver uses the interrupt gpio pin as 40 output to reset the device. 41 maxItems: 1 42 43 reset-gpios: 44 maxItems: 1 45 46 AVDD28-supply: 47 description: Analog power supply regulator on AVDD28 pin 48 49 VDDIO-supply: 50 description: GPIO power supply regulator on VDDIO pin 51 52 touchscreen-inverted-x: true 53 touchscreen-inverted-y: true 54 touchscreen-size-x: true 55 touchscreen-size-y: true 56 touchscreen-swapped-x-y: true 57 58additionalProperties: false 59 60required: 61 - compatible 62 - reg 63 - interrupts 64 65examples: 66 - | 67 i2c { 68 #address-cells = <1>; 69 #size-cells = <0>; 70 gt928@5d { 71 compatible = "goodix,gt928"; 72 reg = <0x5d>; 73 interrupt-parent = <&gpio>; 74 interrupts = <0 0>; 75 irq-gpios = <&gpio1 0 0>; 76 reset-gpios = <&gpio1 1 0>; 77 }; 78 }; 79 80... 81