Skip to content

Commit

Permalink
Input: Add driver for Cypress Generation 5 touchscreen
Browse files Browse the repository at this point in the history
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>
Message-Id: <20180703094309.18514-2-mylene.josserand@bootlin.com>
Signed-off-by: Alistair Francis <alistair@alistair23.me>
  • Loading branch information
Mylène Josserand authored and intel-lab-lkp committed Dec 2, 2021
1 parent 1360572 commit 737a89f
Show file tree
Hide file tree
Showing 3 changed files with 1,017 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drivers/input/touchscreen/Kconfig
Expand Up @@ -284,6 +284,20 @@ config TOUCHSCREEN_CYTTSP4_SPI
To compile this driver as a module, choose M here: the
module will be called cyttsp4_spi.

config TOUCHSCREEN_CYTTSP5
tristate "Cypress TrueTouch Gen5 Touchscreen Driver"
depends on OF && I2C
select REGMAP_I2C
select CRC_ITU_T
help
Driver for Parade TrueTouch Standard Product
Generation 5 touchscreen controllers.
I2C bus interface support only.
Say Y here if you have a Cypress Gen5 touchscreen.
If unsure, say N.
To compile this driver as a module, choose M here: the
module will be called cyttsp5.

config TOUCHSCREEN_DA9034
tristate "Touchscreen support for Dialog Semiconductor DA9034"
depends on PMIC_DA903X
Expand Down
1 change: 1 addition & 0 deletions drivers/input/touchscreen/Makefile
Expand Up @@ -30,6 +30,7 @@ obj-$(CONFIG_TOUCHSCREEN_CYTTSP_SPI) += cyttsp_spi.o
obj-$(CONFIG_TOUCHSCREEN_CYTTSP4_CORE) += cyttsp4_core.o
obj-$(CONFIG_TOUCHSCREEN_CYTTSP4_I2C) += cyttsp4_i2c.o cyttsp_i2c_common.o
obj-$(CONFIG_TOUCHSCREEN_CYTTSP4_SPI) += cyttsp4_spi.o
obj-$(CONFIG_TOUCHSCREEN_CYTTSP5) += cyttsp5.o
obj-$(CONFIG_TOUCHSCREEN_DA9034) += da9034-ts.o
obj-$(CONFIG_TOUCHSCREEN_DA9052) += da9052_tsi.o
obj-$(CONFIG_TOUCHSCREEN_DYNAPRO) += dynapro.o
Expand Down

0 comments on commit 737a89f

Please sign in to comment.