From 57f3ce1f245b1bf936532d4735a7011d083091e7 Mon Sep 17 00:00:00 2001 From: Guochun Huang Date: Tue, 28 Mar 2017 09:58:27 +0800 Subject: [PATCH] input: touchscreen: add touch screen of gslx680 for rk3399-firefly-edp Change-Id: Ic4fa205f8f71353c4703d745e96ec9056181c198 Signed-off-by: Guochun Huang --- drivers/input/touchscreen/Kconfig | 5 +++++ drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/gslx680_pad.c | 1 + 3 files changed, 7 insertions(+) diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 6c5874fd2847..f8a29ac08eda 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -390,6 +390,11 @@ config TOUCHSCREEN_GOODIX To compile this driver as a module, choose M here: the module will be called goodix. +config TOUCHSCREEN_GSLX680_PAD + tristate "gslX680 touchpad driver for pad" + help + gslX680 touchpad driver for pad + config TOUCHSCREEN_GSLX680_VR tristate "gslX680 touchpad driver for VR" help diff --git a/drivers/input/touchscreen/Makefile b/drivers/input/touchscreen/Makefile index c3351e2a1632..a4ca849d8767 100644 --- a/drivers/input/touchscreen/Makefile +++ b/drivers/input/touchscreen/Makefile @@ -44,6 +44,7 @@ obj-$(CONFIG_TOUCHSCREEN_EGALAX_SERIAL) += egalax_ts_serial.o obj-$(CONFIG_TOUCHSCREEN_EXC3000) += exc3000.o obj-$(CONFIG_TOUCHSCREEN_FUJITSU) += fujitsu_ts.o obj-$(CONFIG_TOUCHSCREEN_GOODIX) += goodix.o +obj-$(CONFIG_TOUCHSCREEN_GSLX680_PAD) += gslx680_pad.o gsl_point_id.o obj-$(CONFIG_TOUCHSCREEN_GSLX680_VR) += gslx680.o gsl_point_id.o obj-$(CONFIG_TOUCHSCREEN_GSL3673) += gsl3673.o gsl_point_id.o obj-$(CONFIG_TOUCHSCREEN_GT9XX) += gt9xx/ diff --git a/drivers/input/touchscreen/gslx680_pad.c b/drivers/input/touchscreen/gslx680_pad.c index d7fd1c70d420..060b7a74d204 100644 --- a/drivers/input/touchscreen/gslx680_pad.c +++ b/drivers/input/touchscreen/gslx680_pad.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include