From 856e16bb9ab5ae886988093f5aa6fa53797600f8 Mon Sep 17 00:00:00 2001 From: Wu Liangqing Date: Thu, 19 Oct 2017 21:33:45 +0800 Subject: [PATCH] driver: input: touchscreen: add gslx680 for rk3126c d708 Change-Id: I59594bf83d2de744eb187fe0570366ddb56d8386 Signed-off-by: Wu Liangqing --- drivers/input/touchscreen/Kconfig | 5 +++++ drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index aa901f5b869f..4a37d0d4170e 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig @@ -399,6 +399,11 @@ config TOUCHSCREEN_GOODIX To compile this driver as a module, choose M here: the module will be called goodix. +config TOUCHSCREEN_GSLX680_D708 + tristate "gslX680 d708 touchpad driver for rk3126 pad" + help + gslX680 d708 touchpad driver for RK3126 pad + config TOUCHSCREEN_GSLX680_PAD tristate "gslX680 touchpad driver for pad" help diff --git a/drivers/input/touchscreen/Makefile b/drivers/input/touchscreen/Makefile index e281809951c4..5f883ab2a6d2 100644 --- a/drivers/input/touchscreen/Makefile +++ b/drivers/input/touchscreen/Makefile @@ -45,6 +45,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_D708) += gslx680_d708/ gsl_point_id.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 diff --git a/drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c b/drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c index 1a2758357b5c..a2f42f4738f6 100644 --- a/drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c +++ b/drivers/input/touchscreen/gslx680_d708/rockchip_gslX680.c @@ -72,7 +72,7 @@ static int gsl_gesture_flag = -1; #define TPD_PROC_DEBUG #ifdef TPD_PROC_DEBUG #include -#include +#include #define GSL_CONFIG_PROC_FILE "gsl_config" #define CONFIG_LEN 31 static char gsl_read[CONFIG_LEN];