drm/panel: panel-himax-hx83102: support for csot-pna957qt1-1 MIPI-DSI panel
[drm/drm-misc.git] / Documentation / devicetree / bindings / input / goodix,gt7986u-spifw.yaml
blob92bd0041febaf5e98691becdfcea6ab7bacde057
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/input/goodix,gt7986u-spifw.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Goodix GT7986U SPI HID Touchscreen
9 maintainers:
10   - Charles Wang <charles.goodix@gmail.com>
12 description: |
13   Supports the Goodix GT7986U touchscreen.
14   This touch controller reports data packaged according to the HID protocol
15   over the SPI bus, but it is incompatible with Microsoft's HID-over-SPI protocol.
17   NOTE: these bindings are distinct from the bindings used with the
18   GT7986U when the chip is running I2C firmware. This is because there's
19   not a single device that talks over both I2C and SPI but rather
20   distinct touchscreens that happen to be built with the same ASIC but
21   that are distinct products running distinct firmware.
23 allOf:
24   - $ref: /schemas/spi/spi-peripheral-props.yaml#
26 properties:
27   compatible:
28     enum:
29       - goodix,gt7986u-spifw
31   reg:
32     maxItems: 1
34   interrupts:
35     maxItems: 1
37   reset-gpios:
38     maxItems: 1
40   spi-max-frequency: true
42 required:
43   - compatible
44   - reg
45   - interrupts
46   - reset-gpios
48 unevaluatedProperties: false
50 examples:
51   - |
52     #include <dt-bindings/interrupt-controller/irq.h>
53     #include <dt-bindings/gpio/gpio.h>
55     spi {
56       #address-cells = <1>;
57       #size-cells = <0>;
59       touchscreen@0 {
60         compatible = "goodix,gt7986u-spifw";
61         reg = <0>;
62         interrupt-parent = <&gpio>;
63         interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
64         reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
65         spi-max-frequency = <10000000>;
66       };
67     };
69 ...