83 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---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 controller8 9maintainers:10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>11 12allOf:13 - $ref: touchscreen.yaml#14 15properties:16 compatible:17 enum:18 - goodix,gt115119 - goodix,gt115820 - goodix,gt566321 - goodix,gt568822 - goodix,gt91123 - goodix,gt911024 - goodix,gt91225 - goodix,gt914726 - goodix,gt917s27 - goodix,gt92728 - goodix,gt927129 - goodix,gt92830 - goodix,gt928631 - goodix,gt96732 33 reg:34 enum: [ 0x5d, 0x14 ]35 36 interrupts:37 maxItems: 138 39 irq-gpios:40 description: GPIO pin used for IRQ input. Additionally, this line is41 sampled by the device on reset deassertion to select the I2C client42 address, thus it can be driven by the host during the reset sequence.43 maxItems: 144 45 reset-gpios:46 maxItems: 147 48 AVDD28-supply:49 description: Analog power supply regulator on AVDD28 pin50 51 VDDIO-supply:52 description: GPIO power supply regulator on VDDIO pin53 54 touchscreen-inverted-x: true55 touchscreen-inverted-y: true56 touchscreen-size-x: true57 touchscreen-size-y: true58 touchscreen-swapped-x-y: true59 60additionalProperties: false61 62required:63 - compatible64 - reg65 - interrupts66 67examples:68 - |69 i2c {70 #address-cells = <1>;71 #size-cells = <0>;72 touchscreen@5d {73 compatible = "goodix,gt928";74 reg = <0x5d>;75 interrupt-parent = <&gpio>;76 interrupts = <0 0>;77 irq-gpios = <&gpio1 0 0>;78 reset-gpios = <&gpio1 1 0>;79 };80 };81 82...83