Input: goodix-berlin - add SPI support for Goodix Berlin Touchscreen IC
authorNeil Armstrong <neil.armstrong@linaro.org>
Mon, 29 Jan 2024 09:16:38 +0000 (10:16 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 30 Jan 2024 23:16:32 +0000 (15:16 -0800)
commit3aa182bbc5b657329a8b85fa5303b8af0f461636
treec09da776a636649772c097e94156b6c0de1bd537
parentfba09e817c66f9731c71fe7cdd4556f7d989f1cb
Input: goodix-berlin - add SPI support for Goodix Berlin Touchscreen IC

Add initial support for the new Goodix "Berlin" touchscreen ICs
over the SPI interface.

The driver doesn't use the regmap_spi code since the SPI messages
needs to be prefixed, thus this custom regmap code.

This initial driver is derived from the Goodix goodix_ts_berlin
available at [1] and [2] and only supports the GT9916 IC
present on the Qualcomm SM8550 MTP & QRD touch panel.

The current implementation only supports BerlinD, aka GT9916.

[1] https://github.com/goodix/goodix_ts_berlin
[2] https://git.codelinaro.org/clo/la/platform/vendor/opensource/touch-drivers

Reviewed-by: Jeff LaBundy <jeff@labundy.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240129-topic-goodix-berlin-upstream-initial-v15-4-6f7d096c0a0a@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile
drivers/input/touchscreen/goodix_berlin_spi.c [new file with mode: 0644]