]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: goodix_berlin - add support for Berlin-A series
authorJens Reidel <adrian@mainlining.org>
Sun, 9 Mar 2025 06:23:15 +0000 (07:23 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 10 Mar 2025 17:46:08 +0000 (10:46 -0700)
commit4d395cb071a343196ca524d3694790f06978fe91
tree2a132bffb68af8d3abd8fe10a1df00ebfddb7832
parent8d2764251ffec556261efbc7a3e19d9149ec95a7
Input: goodix_berlin - add support for Berlin-A series

The current implementation of the goodix_berlin driver lacks support for
revisions A and B of the Berlin IC. This change adds support for the
gt9897 IC, which is a Berlin-A revision part.

The differences between revision D and A are rather minor, a handful of
address changes and a slightly larger read buffer. They were taken from
the driver published by Goodix, which does a few more things that don't
appear to be necessary for the touchscreen to work properly.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Tested-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Jens Reidel <adrian@mainlining.org>
Link: https://lore.kernel.org/r/20250309062315.35720-3-adrian@mainlining.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix_berlin.h
drivers/input/touchscreen/goodix_berlin_core.c
drivers/input/touchscreen/goodix_berlin_i2c.c
drivers/input/touchscreen/goodix_berlin_spi.c