input: makefile: Add makefile and kconfig for GT9xx CTP

Add Makefile and Kconfig to build Goodix GT9xx Touchscreen
Driver.

Change-Id: Ibbcdcbb4563bc022d6e4034c37bc633eb9b34315
Signed-off-by: Figo Wang <figow@codeaurora.org>
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
This commit is contained in:
Figo Wang 2013-06-26 12:47:39 +08:00 committed by Abinaya P
parent b7bf6d2b63
commit 6ae8594368
4 changed files with 71 additions and 0 deletions

View file

@ -1217,4 +1217,15 @@ config TOUCHSCREEN_IT7260_I2C
To compile this driver as a module, choose M here: the
module will be called it7258_ts_i2c.
config TOUCHSCREEN_GT9XX
bool "Goodix touchpanel GT9xx series"
depends on I2C
help
Say Y here if you have a Goodix GT9xx touchscreen.
Gt9xx controllers are multi touch controllers which can
report 5 touches at a time.
If unsure, say N.
source "drivers/input/touchscreen/gt9xx/Kconfig"
endif

View file

@ -98,3 +98,4 @@ obj-$(CONFIG_TOUCHSCREEN_ZFORCE) += zforce_ts.o
obj-$(CONFIG_TOUCHSCREEN_COLIBRI_VF50) += colibri-vf50-ts.o
obj-$(CONFIG_TOUCHSCREEN_ROHM_BU21023) += rohm_bu21023.o
obj-$(CONFIG_TOUCHSCREEN_MSTAR21XX) += msg21xx_ts.o
obj-$(CONFIG_TOUCHSCREEN_GT9XX) += gt9xx/

View file

@ -0,0 +1,51 @@
#
# Goodix GT9xx Touchscreen driver
#
config GT9XX_TOUCHPANEL_DRIVER
tristate "Goodix GT9xx touchpanel driver"
depends on TOUCHSCREEN_GT9XX
default n
help
This is the main file for touchpanel driver for Goodix GT9xx
touchscreens.
Say Y here if you have a Goodix GT9xx touchscreen connected
to your system.
If unsure, say N.
To compile this driver as a module, choose M here: the
module will be called gt9xx.
config GT9XX_TOUCHPANEL_UPDATE
tristate "Goodix GT9xx touchpanel auto update support"
depends on GT9XX_TOUCHPANEL_DRIVER
default n
help
This enables support for firmware update for Goodix GT9xx
touchscreens.
Say Y here if you have a Goodix GT9xx touchscreen connected
to your system.
If unsure, say N.
To compile this driver as a module, choose M here: the
module will be called gt9xx_update.
config GT9XX_TOUCHPANEL_DEBUG
tristate "Goodix GT9xx Tools for debuging"
depends on GT9XX_TOUCHPANEL_DRIVER
default n
help
This is application debug interface support for Goodix GT9xx
touchscreens.
Say Y here if you want to have a Android app debug interface
to your system.
If unsure, say N.
To compile this driver as a module, choose M here: the
module will be called gt9xx_tool.

View file

@ -0,0 +1,8 @@
#gt915 touchpanel driver
obj-$(CONFIG_GT9XX_TOUCHPANEL_DRIVER) += gt9xx.o
#gt915 update file
obj-$(CONFIG_GT9XX_TOUCHPANEL_UPDATE) += gt9xx_update.o
#debug tool
obj-$(CONFIG_GT9XX_TOUCHPANEL_DEBUG) += goodix_tool.o