Skip to content

Commit 2682265

Browse files
Mis012dtor
authored andcommitted
Input: add zinitix touchscreen driver
Add support for the bt541 touchscreen IC from zinitix, loosely based on downstream driver. The driver currently supports multitouch (5 touch points). The bt541 seems to support touch keys, but the support was not added because that functionality is not being utilized by the touchscreen used for testing. Based on the similartities between downstream drivers, it seems likely that other similar touchscreen ICs can be supported with this driver in the future. Signed-off-by: Michael Srba <Michael.Srba@seznam.cz> Link: https://lore.kernel.org/r/20201001122949.16846-1-michael.srba@seznam.cz Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 8f445ff commit 2682265

3 files changed

Lines changed: 594 additions & 0 deletions

File tree

drivers/input/touchscreen/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,4 +1322,16 @@ config TOUCHSCREEN_IQS5XX
13221322
To compile this driver as a module, choose M here: the
13231323
module will be called iqs5xx.
13241324

1325+
config TOUCHSCREEN_ZINITIX
1326+
tristate "Zinitix touchscreen support"
1327+
depends on I2C
1328+
help
1329+
Say Y here if you have a touchscreen using Zinitix bt541,
1330+
or something similar enough.
1331+
1332+
If unsure, say N.
1333+
1334+
To compile this driver as a module, choose M here: the
1335+
module will be called zinitix.
1336+
13251337
endif

drivers/input/touchscreen/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,4 @@ obj-$(CONFIG_TOUCHSCREEN_COLIBRI_VF50) += colibri-vf50-ts.o
111111
obj-$(CONFIG_TOUCHSCREEN_ROHM_BU21023) += rohm_bu21023.o
112112
obj-$(CONFIG_TOUCHSCREEN_RASPBERRYPI_FW) += raspberrypi-ts.o
113113
obj-$(CONFIG_TOUCHSCREEN_IQS5XX) += iqs5xx.o
114+
obj-$(CONFIG_TOUCHSCREEN_ZINITIX) += zinitix.o

0 commit comments

Comments
 (0)