linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add Goodix Berlin-A series support
@ 2025-02-14  5:29 Jens Reidel
  2025-02-14  5:29 ` [PATCH v2 1/2] dt-bindings: input: goodix,gt9916: Document gt9897 compatible Jens Reidel
  2025-02-14  5:29 ` [PATCH v2 2/2] Input: goodix_berlin - Add support for Berlin-A series Jens Reidel
  0 siblings, 2 replies; 5+ messages in thread
From: Jens Reidel @ 2025-02-14  5:29 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Bastien Nocera, Hans de Goede, Neil Armstrong
  Cc: Luca Weiss, linux-input, devicetree, linux-kernel, phone-devel,
	linux, ~postmarketos/upstreaming, Jens Reidel

This series adds support for the Goodix Berlin-A series touch ICs
(gt9897). This was tested on a Xiaomi 11 Lite 5G NE (xiaomi-lisa),
which uses the gt9897 IC connected over SPI. I am not aware of any
device that has gt9897 connected over I2C and therefore could not
test it, so I didn't add a compatible in the I2C driver.

Changes in v2:
- Added Rob's A-b tag (patch no. 1)
- Added Luca's T-b tag (patch no. 2)
- Updated the i2c and spi device id tables with the driver data and
  switched to spi_get_device_match_data where possible (requested by
  Neil)
- Switched to device_get_match_data in goodix_berlin_core.c
- Move all revision specific addresses and other properties into the
  goodix_berlin_ic_data struct (requested by Dmitry)
- Link to v1:
  https://lore.kernel.org/all/20250203174309.21574-1-adrian@travitia.xyz/

To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Bastien Nocera <hadess@hadess.net>
To: Hans de Goede <hdegoede@redhat.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Luca Weiss <luca.weiss@fairphone.com>
Cc: linux-input@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: phone-devel@vger.kernel.org
Cc: linux@mainlining.org
Cc: ~postmarketos/upstreaming@lists.sr.ht
Signed-off-by: Jens Reidel <adrian@travitia.xyz>

Jens Reidel (2):
  dt-bindings: input: goodix,gt9916: Document gt9897 compatible
  Input: goodix_berlin - Add support for Berlin-A series

 .../input/touchscreen/goodix,gt9916.yaml      |  1 +
 drivers/input/touchscreen/goodix_berlin.h     | 13 ++++++
 .../input/touchscreen/goodix_berlin_core.c    | 15 ++++---
 drivers/input/touchscreen/goodix_berlin_i2c.c |  9 +++-
 drivers/input/touchscreen/goodix_berlin_spi.c | 45 ++++++++++++++-----
 5 files changed, 62 insertions(+), 21 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-24  8:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-14  5:29 [PATCH v2 0/2] Add Goodix Berlin-A series support Jens Reidel
2025-02-14  5:29 ` [PATCH v2 1/2] dt-bindings: input: goodix,gt9916: Document gt9897 compatible Jens Reidel
2025-02-14  5:29 ` [PATCH v2 2/2] Input: goodix_berlin - Add support for Berlin-A series Jens Reidel
2025-02-24  8:17   ` Luca Weiss
2025-02-24  8:28   ` Neil Armstrong

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).