From: Neil Armstrong <neil.armstrong@linaro.org>
To: Jens Reidel <adrian@mainlining.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Hans de Goede <hansg@kernel.org>,
Henrik Rydberg <rydberg@bitmath.org>
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux@mainlining.org,
phone-devel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH RFC 0/3] Input: add initial support for Goodix GTX8 touchscreen ICs
Date: Mon, 27 Oct 2025 15:59:23 +0100 [thread overview]
Message-ID: <4a22b05d-24f8-44dc-affa-5cc28201fb53@linaro.org> (raw)
In-Reply-To: <20250918-gtx8-v1-0-cba879c84775@mainlining.org>
Hi,
On 9/18/25 16:02, Jens Reidel wrote:
> These ICs support SPI and I2C interfaces, up to 10 finger touch, stylus
> and gesture events.
>
> This driver is derived from the Goodix gtx8_driver_linux available at
> [1] and only supports the GT9886 and GT9896 ICs present in the Xiaomi
> Mi 9T and Xiaomi Redmi Note 10 Pro smartphones.
>
> The current implementation only supports Normandy and Yellowstone type
> ICs, aka only GT9886 and GT9896. It is also limited to I2C only, since I
> don't have a device with GTX8 over SPI at hand. Adding support for SPI
> should be fairly easy in the future, since the code uses a regmap.
You didn't explain why you didn't integrate with goodix_berlin or at least
try to reuse part of the code.
Neil
>
> Support for advanced features like:
> - Firmware updates
> - Stylus events
> - Gesture events
> - Nanjing IC support
> is not included in current version.
>
> The current support requires a previously flashed firmware to be
> present.
>
> As I did not have access to datasheets for these ICs, I extracted the
> addresses from a couple of config files using a small tool [2]. The
> addresses are identical for the same IC families in all configs I
> observed, however not all of them make sense and I stubbed out firmware
> request support due to this.
>
> [1] https://github.com/goodix/gtx8_driver_linux
> [2] https://github.com/sm7150-mainline/goodix-cfg-bin
>
> Signed-off-by: Jens Reidel <adrian@mainlining.org>
> ---
> Jens Reidel (3):
> dt-bindings: input: document Goodix GTX8 Touchscreen ICs
> Input: add support for Goodix GTX8 Touchscreen ICs
> MAINTAINERS: add an entry for Goodix GTX8 Touchscreen driver
>
> .../bindings/input/touchscreen/goodix,gt9886.yaml | 71 +++
> MAINTAINERS | 7 +
> drivers/input/touchscreen/Kconfig | 15 +
> drivers/input/touchscreen/Makefile | 1 +
> drivers/input/touchscreen/goodix_gtx8.c | 562 +++++++++++++++++++++
> drivers/input/touchscreen/goodix_gtx8.h | 137 +++++
> 6 files changed, 793 insertions(+)
> ---
> base-commit: ae2d20002576d2893ecaff25db3d7ef9190ac0b6
> change-id: 20250918-gtx8-59a50ccd78a5
>
> Best regards,
next prev parent reply other threads:[~2025-10-27 14:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-18 14:02 [PATCH RFC 0/3] Input: add initial support for Goodix GTX8 touchscreen ICs Jens Reidel
2025-09-18 14:02 ` [PATCH RFC 1/3] dt-bindings: input: document Goodix GTX8 Touchscreen ICs Jens Reidel
2025-09-22 17:35 ` Rob Herring (Arm)
2025-09-18 14:02 ` [PATCH RFC 2/3] Input: add support for " Jens Reidel
2025-09-18 14:02 ` [PATCH RFC 3/3] MAINTAINERS: add an entry for Goodix GTX8 Touchscreen driver Jens Reidel
2025-10-27 14:59 ` Neil Armstrong [this message]
2025-10-27 15:31 ` [PATCH RFC 0/3] Input: add initial support for Goodix GTX8 touchscreen ICs Jens Reidel
2025-10-27 15:02 ` Piyush Raj Chouhan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4a22b05d-24f8-44dc-affa-5cc28201fb53@linaro.org \
--to=neil.armstrong@linaro.org \
--cc=adrian@mainlining.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=hansg@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@mainlining.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=rydberg@bitmath.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).