[PATCH 0/2] Add Goodix Berlin-A series support

From: Jens Reidel
Date: Mon Feb 03 2025 - 12:51:30 EST


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.

To: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
To: Rob Herring <robh@xxxxxxxxxx>
To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
To: Conor Dooley <conor+dt@xxxxxxxxxx>
To: Bastien Nocera <hadess@xxxxxxxxxx>
To: Hans de Goede <hdegoede@xxxxxxxxxx>
To: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
Cc: Luca Weiss <luca.weiss@xxxxxxxxxxxxx>
Cc: linux-input@xxxxxxxxxxxxxxx
Cc: devicetree@xxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: phone-devel@xxxxxxxxxxxxxxx
Cc: linux@xxxxxxxxxxxxxx
Cc: ~postmarketos/upstreaming@xxxxxxxxxxx
Signed-off-by: Jens Reidel <adrian@xxxxxxxxxxxx>

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 | 9 ++++
.../input/touchscreen/goodix_berlin_core.c | 27 +++++++++---
drivers/input/touchscreen/goodix_berlin_i2c.c | 6 ++-
drivers/input/touchscreen/goodix_berlin_spi.c | 44 +++++++++++++++----
5 files changed, 73 insertions(+), 14 deletions(-)

--
2.48.1