1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
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
10 - Charles Wang <charles.goodix@gmail.com>
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.
24 - $ref: /schemas/spi/spi-peripheral-props.yaml#
29 - goodix,gt7986u-spifw
40 spi-max-frequency: true
48 unevaluatedProperties: false
52 #include <dt-bindings/interrupt-controller/irq.h>
53 #include <dt-bindings/gpio/gpio.h>
60 compatible = "goodix,gt7986u-spifw";
62 interrupt-parent = <&gpio>;
63 interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
64 reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
65 spi-max-frequency = <10000000>;