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