Skip to content

Commit 4065d1e

Browse files
martinezjavierdtor
authored andcommitted
Input: add Cypress TTSP capacitive multi-touch screen support
Cypress TrueTouch(tm) Standard Product controllers are found in a wide range of embedded devices. This driver add support for a variety of TTSP controllers. Since the hardware is capable of tracking identifiable contacts, multi-touch protocol type B (stateful) is used to report contact information. The driver is composed of a core driver that process the data sent by the contacts and a set of bus specific interface modules. This patch adds the base core TTSP driver. Signed-off-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Henrik Rydberg <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 31175a8 commit 4065d1e

File tree

7 files changed

+1223
-2
lines changed

7 files changed

+1223
-2
lines changed

drivers/input/touchscreen/Kconfig

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ config TOUCHSCREEN_CY8CTMG110
139139
tristate "cy8ctmg110 touchscreen"
140140
depends on I2C
141141
depends on GPIOLIB
142-
143142
help
144143
Say Y here if you have a cy8ctmg110 capacitive touchscreen on
145144
an AAVA device.
@@ -149,6 +148,37 @@ config TOUCHSCREEN_CY8CTMG110
149148
To compile this driver as a module, choose M here: the
150149
module will be called cy8ctmg110_ts.
151150

151+
config TOUCHSCREEN_CYTTSP_CORE
152+
tristate "Cypress TTSP touchscreen"
153+
help
154+
Say Y here if you have a touchscreen using controller from
155+
the Cypress TrueTouch(tm) Standard Product family connected
156+
to your system. You will also need to select appropriate
157+
bus connection below.
158+
159+
If unsure, say N.
160+
161+
To compile this driver as a module, choose M here: the
162+
module will be called cyttsp_core.
163+
164+
config TOUCHSCREEN_CYTTSP_I2C
165+
tristate "support I2C bus connection"
166+
depends on TOUCHSCREEN_CYTTSP_CORE && I2C
167+
help
168+
Say Y here if the touchscreen is connected via I2C bus.
169+
170+
To compile this driver as a module, choose M here: the
171+
module will be called cyttsp_i2c.
172+
173+
config TOUCHSCREEN_CYTTSP_SPI
174+
tristate "support SPI bus connection"
175+
depends on TOUCHSCREEN_CYTTSP_CORE && SPI_MASTER
176+
help
177+
Say Y here if the touchscreen is connected via SPI bus.
178+
179+
To compile this driver as a module, choose M here: the
180+
module will be called cyttsp_spi.
181+
152182
config TOUCHSCREEN_DA9034
153183
tristate "Touchscreen support for Dialog Semiconductor DA9034"
154184
depends on PMIC_DA903X

drivers/input/touchscreen/Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ obj-$(CONFIG_TOUCHSCREEN_ATMEL_MXT) += atmel_mxt_ts.o
1616
obj-$(CONFIG_TOUCHSCREEN_ATMEL_TSADCC) += atmel_tsadcc.o
1717
obj-$(CONFIG_TOUCHSCREEN_AUO_PIXCIR) += auo-pixcir-ts.o
1818
obj-$(CONFIG_TOUCHSCREEN_BITSY) += h3600_ts_input.o
19-
obj-$(CONFIG_TOUCHSCREEN_BU21013) += bu21013_ts.o
19+
obj-$(CONFIG_TOUCHSCREEN_BU21013) += bu21013_ts.o
2020
obj-$(CONFIG_TOUCHSCREEN_CY8CTMG110) += cy8ctmg110_ts.o
21+
obj-$(CONFIG_TOUCHSCREEN_CYTTSP_CORE) += cyttsp_core.o
22+
obj-$(CONFIG_TOUCHSCREEN_CYTTSP_I2C) += cyttsp_i2c.o
23+
obj-$(CONFIG_TOUCHSCREEN_CYTTSP_SPI) += cyttsp_spi.o
2124
obj-$(CONFIG_TOUCHSCREEN_DA9034) += da9034-ts.o
2225
obj-$(CONFIG_TOUCHSCREEN_DYNAPRO) += dynapro.o
2326
obj-$(CONFIG_TOUCHSCREEN_HAMPSHIRE) += hampshire.o

0 commit comments

Comments
 (0)