Skip to content

Commit 9965865

Browse files
author
eng33
committed
drivers:input:touchscreen: Add ilitek_2511 driver
Signed-off-by: eng33 <[email protected]>
1 parent d128c12 commit 9965865

File tree

14 files changed

+9607
-0
lines changed

14 files changed

+9607
-0
lines changed

drivers/input/touchscreen/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,4 +1399,6 @@ config TOUCHSCREEN_HIMAX_HX83112B
13991399
To compile this driver as a module, choose M here: the
14001400
module will be called himax_hx83112b.
14011401

1402+
source "drivers/input/touchscreen/ilitek_2511/Kconfig"
1403+
14021404
endif

drivers/input/touchscreen/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,4 @@ obj-$(CONFIG_TOUCHSCREEN_IQS5XX) += iqs5xx.o
118118
obj-$(CONFIG_TOUCHSCREEN_IQS7211) += iqs7211.o
119119
obj-$(CONFIG_TOUCHSCREEN_ZINITIX) += zinitix.o
120120
obj-$(CONFIG_TOUCHSCREEN_HIMAX_HX83112B) += himax_hx83112b.o
121+
obj-y += ilitek_2511/
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
config TOUCHSCREEN_ILITEK_2511
2+
tristate "ilitek 2511 I2C touchscreen"
3+
depends on I2C
4+
depends on GPIOLIB || COMPILE_TEST
5+
default y
6+
help
7+
If unsure, say N.
8+
9+
To compile this driver as a module, choose M here: the
10+
module will be called ilitek 2511.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ccflags-y += -Wall
2+
3+
obj-$(CONFIG_TOUCHSCREEN_ILITEK_2511) += ilitek.o
4+
5+
ilitek-y += ilitek_main.o \
6+
ilitek_platform_init.o \
7+
ilitek_protocol.o

0 commit comments

Comments
 (0)