Skip to contentSkip to conversation

dt-bindings: input: Goodix GT7986U SPI HID Touchscreen

PATCH Superseded Charles Wang 3 participants 13 messages Nov 8, 2024 – Nov 11, 2024

Subsystems (3)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v3 cover dt-bindings: input: Goodix GT7986U SPI HID Touchscreen

The Goodix GT7986U touch controller report touch data according to the HID protocol through the SPI bus. However, it is incompatible with Microsoft's HID-over-SPI protocol.

The patchset introduces the following two changes:
1) Add goodix,gt7986u-spifw.yaml.
2) Drop the 'goodix,hid-report-addr' property.

---
Changes in v3:
- Split the commit into two patches.

Changes in v2:
- Change compatible to 'goodix,gt7986u-spifw'.
- Remove 'goodix,hid-report-addr' property.
- Change additionalProperties to unevaluatedProperties.
- v1: https://lore.kernel.org/all/[email protected]/
---
Charles Wang (2):
dt-bindings: input: Goodix GT7986U SPI HID Touchscreen
dt-bindings: input: gt7986u-spifw: Remove hid-report-addr property

 .../bindings/input/goodix,gt7986u-spifw.yaml  | 68 +++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml
Signature · 1 line
2.43.0
#1 lore raw

PATCH v3 1/2 dt-bindings: input: Goodix GT7986U SPI HID Touchscreen

The Goodix GT7986U touch controller report touch data according to the HID protocol through the SPI bus. However, it is incompatible with Microsoft's HID-over-SPI protocol.

NOTE: these bindings are distinct from the bindings used with the GT7986U when the chip is running I2C firmware. For some background, see discussion on the mailing lists in the thread:

https://lore.kernel.org/r/[email protected]

---
 .../bindings/input/goodix,gt7986u-spifw.yaml  | 75 +++++++++++++++++++
 1 file changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml new file +75 -0
new file mode 100644
index 000000000..8105b9ce2
@@ -0,0 +1,75 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/goodix,gt7986u-spifw.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Goodix GT7986U SPI HID Touchscreen
+
+maintainers:
+  - Charles Wang <[email protected]>
+
+description: Supports the Goodix GT7986U touchscreen.
+  This touch controller reports data packaged according to the HID protocol
+  over the SPI bus, but it is incompatible with Microsoft's HID-over-SPI protocol.
+
+  NOTE: these bindings are distinct from the bindings used with the
+  GT7986U when the chip is running I2C firmware. This is because there's
+  not a single device that talks over both I2C and SPI but rather
+  distinct touchscreens that happen to be built with the same ASIC but
+  that are distinct products running distinct firmware.
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+properties:
+  compatible:
+    enum:
+      - goodix,gt7986u-spifw
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  reset-gpios:
+    maxItems: 1
+
+  goodix,hid-report-addr:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description:
+      The register address for retrieving HID report data.
+
+  spi-max-frequency: true
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - reset-gpios
+  - goodix,hid-report-addr
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+    #include <dt-bindings/gpio/gpio.h>
+
+    spi {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      touchscreen@0 {
+        compatible = "goodix,gt7986u-spifw";
+        reg = <0>;
+        interrupt-parent = <&gpio>;
+        interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
+        reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
+        spi-max-frequency = <10000000>;
+        goodix,hid-report-addr = <0x22c8c>;
+      };
+    };
+
+...
Signature · 1 line
2.43.0
#2 lore raw
Quoted 8 lines · Charles Wang

The Goodix GT7986U touch controller report touch data according to the HID protocol through the SPI bus. However, it is incompatible with Microsoft's HID-over-SPI protocol.

NOTE: these bindings are distinct from the bindings used with the GT7986U when the chip is running I2C firmware. For some background, see discussion on the mailing lists in the thread:

Quoted 8 lines

https://lore.kernel.org/r/[email protected]

---
 .../bindings/input/goodix,gt7986u-spifw.yaml  | 75 +++++++++++++++++++
 1 file changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:
./Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml:16:7: [error] syntax error: mapping values are not allowed here (syntax)

dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml: ignoring, error parsing file ./Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml:16:7: mapping values are not allowed in this context make[2]: *** Deleting file 'Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.example.dts' Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml:16:7: mapping values are not allowed in this context make[2]: *** [Documentation/devicetree/bindings/Makefile:26: Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.example.dts] Error 1 make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1442: dt_binding_check] Error 2
make: *** [Makefile:224: __sub-make] Error 2

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]

The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.

#3 lore raw

Hi,

Quoted 20 lines · Rob Herring (Arm)
Quoted 8 lines · Charles Wang

The Goodix GT7986U touch controller report touch data according to the HID protocol through the SPI bus. However, it is incompatible with Microsoft's HID-over-SPI protocol.

NOTE: these bindings are distinct from the bindings used with the GT7986U when the chip is running I2C firmware. For some background, see discussion on the mailing lists in the thread:

Quoted 8 lines

https://lore.kernel.org/r/[email protected]

---
 .../bindings/input/goodix,gt7986u-spifw.yaml  | 75 +++++++++++++++++++
 1 file changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml
Quoted 4 lines

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:
./Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml:16:7: [error] syntax error: mapping values are not allowed here (syntax)

FWIW, I think it's objecting to the "NOTE: " in the description looking like yaml. Maybe just change it to "Note that". It's also a good idea to get yourself setup to validate your bindings _before_ posting them to the list.

-Doug

#4 lore raw

Hi Doug,

Quoted 25 lines · Doug Anderson

Hi,

Quoted 22 lines · Rob Herring (Arm)
Quoted 8 lines · Charles Wang

The Goodix GT7986U touch controller report touch data according to the HID protocol through the SPI bus. However, it is incompatible with Microsoft's HID-over-SPI protocol.

NOTE: these bindings are distinct from the bindings used with the GT7986U when the chip is running I2C firmware. For some background, see discussion on the mailing lists in the thread:

Quoted 8 lines

https://lore.kernel.org/r/[email protected]

---
 .../bindings/input/goodix,gt7986u-spifw.yaml  | 75 +++++++++++++++++++
 1 file changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml

My bot found errors running 'make dt_binding_check' on your patch:

Quoted 8 lines
Quoted 2 lines

yamllint warnings/errors:
./Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml:16:7: [error] syntax error: mapping values are not allowed here (syntax)

FWIW, I think it's objecting to the "NOTE: " in the description looking like yaml. Maybe just change it to "Note that". It's also a good idea to get yourself setup to validate your bindings _before_ posting them to the list.

Change to 'description: |' fixed the issue.

Thanks,
Charles

maintainer
#5 lore raw
In reply to Charles Wang
Quoted 24 lines · Charles Wang

The Goodix GT7986U touch controller report touch data according to the HID protocol through the SPI bus. However, it is incompatible with Microsoft's HID-over-SPI protocol.

NOTE: these bindings are distinct from the bindings used with the GT7986U when the chip is running I2C firmware. For some background, see discussion on the mailing lists in the thread:

https://lore.kernel.org/r/[email protected]

---
 .../bindings/input/goodix,gt7986u-spifw.yaml  | 75 +++++++++++++++++++
 1 file changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml new file +2 -0
new file mode 100644
index 000000000..8105b9ce2
@@ -0,0 +1,75 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2

Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml line 12

Quoted 10 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml new file +10 -0
+---
+$id: http://devicetree.org/schemas/input/goodix,gt7986u-spifw.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Goodix GT7986U SPI HID Touchscreen
+
+maintainers:
+  - Charles Wang <[email protected]>
+
+description: Supports the Goodix GT7986U touchscreen.

Move to next line.

Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml line 15

Quoted 3 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml new file +3 -0
+  This touch controller reports data packaged according to the HID protocol
+  over the SPI bus, but it is incompatible with Microsoft's HID-over-SPI protocol.
+

If you want to maintain paragraphs you need '>' or '|' after 'description:'. IIRC, it has to be '|' due to the "NOTE: " here:

Quoted 63 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml new file +60 -0
+  NOTE: these bindings are distinct from the bindings used with the
+  GT7986U when the chip is running I2C firmware. This is because there's
+  not a single device that talks over both I2C and SPI but rather
+  distinct touchscreens that happen to be built with the same ASIC but
+  that are distinct products running distinct firmware.
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+properties:
+  compatible:
+    enum:
+      - goodix,gt7986u-spifw
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  reset-gpios:
+    maxItems: 1
+
+  goodix,hid-report-addr:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description:
+      The register address for retrieving HID report data.
+
+  spi-max-frequency: true
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - reset-gpios
+  - goodix,hid-report-addr
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+    #include <dt-bindings/gpio/gpio.h>
+
+    spi {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      touchscreen@0 {
+        compatible = "goodix,gt7986u-spifw";
+        reg = <0>;
+        interrupt-parent = <&gpio>;
+        interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
+        reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
+        spi-max-frequency = <10000000>;
+        goodix,hid-report-addr = <0x22c8c>;
+      };
+    };
+
+...
Signature · 1 line
2.43.0
#6 lore raw

Hi Rob,

Quoted 29 lines · Rob Herring
Quoted 28 lines · Charles Wang

The Goodix GT7986U touch controller report touch data according to the HID protocol through the SPI bus. However, it is incompatible with Microsoft's HID-over-SPI protocol.

NOTE: these bindings are distinct from the bindings used with the GT7986U when the chip is running I2C firmware. For some background, see discussion on the mailing lists in the thread:

https://lore.kernel.org/r/[email protected]

---
 .../bindings/input/goodix,gt7986u-spifw.yaml  | 75 +++++++++++++++++++
 1 file changed, 75 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml new file +6 -0
new file mode 100644
index 000000000..8105b9ce2
@@ -0,0 +1,75 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/goodix,gt7986u-spifw.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
Quoted 9 lines

Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml line 12

Quoted 6 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml new file +6 -0
+title: Goodix GT7986U SPI HID Touchscreen
+
+maintainers:
+  - Charles Wang <[email protected]>
+
+description: Supports the Goodix GT7986U touchscreen.

Move to next line.

Ack,

Quoted 8 lines

Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml line 15

Quoted 4 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml new file +3 -0
+  This touch controller reports data packaged according to the HID protocol
+  over the SPI bus, but it is incompatible with Microsoft's HID-over-SPI protocol.
+

If you want to maintain paragraphs you need '>' or '|' after 'description:'. IIRC, it has to be '|' due to the "NOTE: " here:

Ack, using '|' works.

Best regars,
Charles

Quoted 64 lines
Quoted 64 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml new file +60 -0
+  NOTE: these bindings are distinct from the bindings used with the
+  GT7986U when the chip is running I2C firmware. This is because there's
+  not a single device that talks over both I2C and SPI but rather
+  distinct touchscreens that happen to be built with the same ASIC but
+  that are distinct products running distinct firmware.
+
+allOf:
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+properties:
+  compatible:
+    enum:
+      - goodix,gt7986u-spifw
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+  reset-gpios:
+    maxItems: 1
+
+  goodix,hid-report-addr:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description:
+      The register address for retrieving HID report data.
+
+  spi-max-frequency: true
+
+required:
+  - compatible
+  - reg
+  - interrupts
+  - reset-gpios
+  - goodix,hid-report-addr
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/interrupt-controller/irq.h>
+    #include <dt-bindings/gpio/gpio.h>
+
+    spi {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      touchscreen@0 {
+        compatible = "goodix,gt7986u-spifw";
+        reg = <0>;
+        interrupt-parent = <&gpio>;
+        interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
+        reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
+        spi-max-frequency = <10000000>;
+        goodix,hid-report-addr = <0x22c8c>;
+      };
+    };
+
+...
Signature · 1 line
2.43.0
#7 lore raw

PATCH v3 2/2 dt-bindings: input: gt7986u-spifw: Remove hid-report-addr property

In reply to Charles Wang

Since all boards use the same address, drop the goodix,hid-report-addr property and hardcode it in the driver as a default value.

---
 .../devicetree/bindings/input/goodix,gt7986u-spifw.yaml    | 7 -------
 1 file changed, 7 deletions(-)
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml +0 -7
index 8105b9ce2..c9e346a60 100644
@@ -36,11 +36,6 @@ properties:
   reset-gpios:
     maxItems: 1
 
-  goodix,hid-report-addr:
-    $ref: /schemas/types.yaml#/definitions/uint32
-    description:
-      The register address for retrieving HID report data.
-
   spi-max-frequency: true
 
 required:
@@ -48,7 +43,6 @@ required:
   - reg
   - interrupts
   - reset-gpios
-  - goodix,hid-report-addr
 
 unevaluatedProperties: false
 
@@ -68,7 +62,6 @@ examples:
         interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
         reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
         spi-max-frequency = <10000000>;
-        goodix,hid-report-addr = <0x22c8c>;
       };
     };
 
Signature · 1 line
2.43.0
#8 lore raw

Re: [PATCH v3 2/2] dt-bindings: input: gt7986u-spifw: Remove hid-report-addr property

Quoted 8 lines · Charles Wang

Since all boards use the same address, drop the goodix,hid-report-addr property and hardcode it in the driver as a default value.

---
 .../devicetree/bindings/input/goodix,gt7986u-spifw.yaml    | 7 -------
 1 file changed, 7 deletions(-)

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/[email protected]

The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.

maintainer
#9 lore raw

Re: [PATCH v3 2/2] dt-bindings: input: gt7986u-spifw: Remove hid-report-addr property

In reply to Charles Wang
Quoted 2 lines · Charles Wang

Since all boards use the same address, drop the goodix,hid-report-addr property and hardcode it in the driver as a default value.

Where's the driver change?

I don't see the point in defining this and then removing it in the next patch.

Quoted 23 lines
---
 .../devicetree/bindings/input/goodix,gt7986u-spifw.yaml    | 7 -------
 1 file changed, 7 deletions(-)
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml +0 -5
index 8105b9ce2..c9e346a60 100644
@@ -36,11 +36,6 @@ properties:
   reset-gpios:
     maxItems: 1
 
-  goodix,hid-report-addr:
-    $ref: /schemas/types.yaml#/definitions/uint32
-    description:
-      The register address for retrieving HID report data.
-
   spi-max-frequency: true
 
 required:

Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml required: · line 51

Quoted 4 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml +0 -1
@@ -48,7 +43,6 @@ required:
   - reg
   - interrupts
   - reset-gpios
-  - goodix,hid-report-addr

Dropping a required property is an ABI break.

A devicetree that passes with the schema will not work on current kernels that require this property.

Quoted 14 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml +0 -1
 unevaluatedProperties: false
 
@@ -68,7 +62,6 @@ examples:
         interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
         reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
         spi-max-frequency = <10000000>;
-        goodix,hid-report-addr = <0x22c8c>;
       };
     };
 
Signature · 1 line
2.43.0
#10 lore raw

Re: [PATCH v3 2/2] dt-bindings: input: gt7986u-spifw: Remove hid-report-addr property

Hi Rob,

Quoted 9 lines · Rob Herring
Quoted 2 lines · Charles Wang

Since all boards use the same address, drop the goodix,hid-report-addr property and hardcode it in the driver as a default value.

Where's the driver change?

I don't see the point in defining this and then removing it in the next patch.

Apologies for the confusion. The driver changes will be included in the next version.

Quoted 31 lines
Quoted 24 lines
---
 .../devicetree/bindings/input/goodix,gt7986u-spifw.yaml    | 7 -------
 1 file changed, 7 deletions(-)
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml +0 -5
index 8105b9ce2..c9e346a60 100644
@@ -36,11 +36,6 @@ properties:
   reset-gpios:
     maxItems: 1
 
-  goodix,hid-report-addr:
-    $ref: /schemas/types.yaml#/definitions/uint32
-    description:
-      The register address for retrieving HID report data.
-
   spi-max-frequency: true
 
 required:

Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml required: · line 51

Quoted 4 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml +0 -1
@@ -48,7 +43,6 @@ required:
   - reg
   - interrupts
   - reset-gpios
-  - goodix,hid-report-addr

Dropping a required property is an ABI break.

Quoted 3 lines

A devicetree that passes with the schema will not work on current kernels that require this property.

Thank you for pointing this out. The next version will include the necessary driver modifications.

Quoted 11 lines
Quoted 11 lines
Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml +0 -1
 unevaluatedProperties: false
 
@@ -68,7 +62,6 @@ examples:
         interrupts = <25 IRQ_TYPE_LEVEL_LOW>;
         reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
         spi-max-frequency = <10000000>;
-        goodix,hid-report-addr = <0x22c8c>;
       };
     };
 
Quoted 3 lines
Quoted 3 lines
Signature · 1 line
2.43.0

Best regards,
Charles

#11 lore raw
In reply to Charles Wang

Hi,

Quoted 5 lines · Charles Wang

The Goodix GT7986U touch controller report touch data according to the HID protocol through the SPI bus. However, it is incompatible with Microsoft's HID-over-SPI protocol.

Quoted 8 lines

The patchset introduces the following two changes:
1) Add goodix,gt7986u-spifw.yaml.
2) Drop the 'goodix,hid-report-addr' property.

---
Changes in v3:
- Split the commit into two patches.

LOL, this isn't what I meant. You should have one patch adding the proper bindings, but you need a second patch to _the "driver_. Right now the driver (AKA the file "drivers/hid/hid-goodix-spi.c" in Linux) is still looking for "goodix,hid-report-addr". The driver needs to be updated and that was what I was saying should be patch #2. You'll also need to fix the driver to update the compatible string it's looking for.

-Doug

#12 lore raw

Hi Doug,

Quoted 17 lines · Doug Anderson

Hi,

Quoted 5 lines · Charles Wang

The Goodix GT7986U touch controller report touch data according to the HID protocol through the SPI bus. However, it is incompatible with Microsoft's HID-over-SPI protocol.

Quoted 8 lines

The patchset introduces the following two changes:
1) Add goodix,gt7986u-spifw.yaml.
2) Drop the 'goodix,hid-report-addr' property.

---
Changes in v3:
- Split the commit into two patches.

Quoted 8 lines

LOL, this isn't what I meant. You should have one patch adding the proper bindings, but you need a second patch to _the "driver_. Right now the driver (AKA the file "drivers/hid/hid-goodix-spi.c" in Linux) is still looking for "goodix,hid-report-addr". The driver needs to be updated and that was what I was saying should be patch #2. You'll also need to fix the driver to update the compatible string it's looking for.

Oops, my apologies for the misunderstanding!

Thanks,
Charles