Input: Add driver for Cypress Generation 5 touchscreen
authorAlistair Francis <alistair@alistair23.me>
Mon, 31 Oct 2022 23:36:53 +0000 (16:36 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 1 Nov 2022 14:57:33 +0000 (07:57 -0700)
commit5b0c03e24a061f9c9e8b28fa157b80990c559a37
treefec7d4305c094896e9e57142cac8c8289c1274e1
parentcdb51323360c9d3cc33831a2eb3ea75b967985af
Input: Add driver for Cypress Generation 5 touchscreen

This is the basic driver for the Cypress TrueTouch Gen5 touchscreen
controllers. This driver supports only the I2C bus but it uses regmap
so SPI support could be added later.
The touchscreen can retrieve some defined zone that are handled as
buttons (according to the hardware). That is why it handles
button and multitouch events.

Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Mylène Josserand <mylene.josserand@bootlin.com>
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Tested-by: Andreas Kemnade <andreas@kemnade.info> # Kobo Clara HD
Tested-by: Peter Geis <pgwipeout@gmail.com>
Link: https://lore.kernel.org/r/20221026114908.191472-2-alistair@alistair23.me
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile
drivers/input/touchscreen/cyttsp5.c [new file with mode: 0644]