mbox series

[v4,0/2] dt-bindings: input: Goodix GT7986U SPI HID Touchscreen

Message ID 20241111075000.111509-1-charles.goodix@gmail.com (mailing list archive)
Headers show
Series dt-bindings: input: Goodix GT7986U SPI HID Touchscreen | expand

Message

Charles Wang Nov. 11, 2024, 7:49 a.m. UTC
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) Modify the driver to align with the device binding file.

Signed-off-by: Charles Wang <charles.goodix@gmail.com>
---
Changes in v4:
- Fix dt build warnings.
- Modify the driver to align with the device binding file.

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/20241025114642.40793-2-charles.goodix@gmail.com/
---
Charles Wang (2):
  dt-bindings: input: Goodix GT7986U SPI HID Touchscreen
  HID: hid-goodix: Add OF supports

 .../bindings/input/goodix,gt7986u-spifw.yaml  | 69 +++++++++++++++++++
 drivers/hid/hid-goodix-spi.c                  | 17 +++--
 2 files changed, 80 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/goodix,gt7986u-spifw.yaml

Comments

Jiri Kosina Nov. 13, 2024, 9:57 a.m. UTC | #1
On Mon, 11 Nov 2024, Charles Wang wrote:

> 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) Modify the driver to align with the device binding file.
> 
> Signed-off-by: Charles Wang <charles.goodix@gmail.com>
> ---
> Changes in v4:
> - Fix dt build warnings.
> - Modify the driver to align with the device binding file.
> 
> 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/20241025114642.40793-2-charles.goodix@gmail.com/

Now queued in hid.git#for-6.13/goodix. Thanks,