From e460611bfe258b6c46aa7afa9905ae084f1d0812 Mon Sep 17 00:00:00 2001 From: Ravikanth Tuniki Date: Tue, 22 Dec 2020 14:50:25 +0530 Subject: [PATCH] input: touchscreen: Enable Novatek nt36xxx Module Add Novatek Touch Driver as Module for Yupik GKI. Change-Id: I93650e56f81b4facd6ad969008060a9e130b82e2 Signed-off-by: Ravikanth Tuniki --- arch/arm64/configs/vendor/lahaina_GKI.config | 2 +- drivers/input/touchscreen/nt36xxx/Kconfig | 2 +- drivers/input/touchscreen/nt36xxx/Makefile | 4 +++- drivers/input/touchscreen/nt36xxx/nt36xxx.c | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm64/configs/vendor/lahaina_GKI.config b/arch/arm64/configs/vendor/lahaina_GKI.config index 5d744e9b69b4..867e2f96f508 100644 --- a/arch/arm64/configs/vendor/lahaina_GKI.config +++ b/arch/arm64/configs/vendor/lahaina_GKI.config @@ -208,7 +208,7 @@ CONFIG_TOUCHSCREEN_FTS=m CONFIG_FTS_TRUSTED_TOUCH=y CONFIG_TOUCHSCREEN_ATMEL_MXT=m CONFIG_TOUCHSCREEN_SYNAPTICS_DSX=m -CONFIG_TOUCHSCREEN_NT36XXX=y +CONFIG_TOUCHSCREEN_NT36XXX=m CONFIG_SPS=m CONFIG_SPS_SUPPORT_NDP_BAM=y # CONFIG_SPS_SUPPORT_BAMDMA is not set diff --git a/drivers/input/touchscreen/nt36xxx/Kconfig b/drivers/input/touchscreen/nt36xxx/Kconfig index fbdf03fdc29a..04cff5faba62 100644 --- a/drivers/input/touchscreen/nt36xxx/Kconfig +++ b/drivers/input/touchscreen/nt36xxx/Kconfig @@ -3,7 +3,7 @@ # Novatek NT36xxx touchscreen driver configuration # config TOUCHSCREEN_NT36XXX - bool "Novatek NT36xxx" + tristate "Novatek NT36xxx" help Say Y here if you have a Novatek NT36xxx touchscreen connected to your system. diff --git a/drivers/input/touchscreen/nt36xxx/Makefile b/drivers/input/touchscreen/nt36xxx/Makefile index ad3fedd437ca..cf4662cdc134 100644 --- a/drivers/input/touchscreen/nt36xxx/Makefile +++ b/drivers/input/touchscreen/nt36xxx/Makefile @@ -5,4 +5,6 @@ # Each configuration option enables a list of files. -obj-$(CONFIG_TOUCHSCREEN_NT36XXX) += nt36xxx.o nt36xxx_fw_update.o nt36xxx_ext_proc.o nt36xxx_mp_ctrlram.o +obj-$(CONFIG_TOUCHSCREEN_NT36XXX) += nvt_36xxx.o + +nvt_36xxx-y := nt36xxx.o nt36xxx_fw_update.o nt36xxx_ext_proc.o nt36xxx_mp_ctrlram.o diff --git a/drivers/input/touchscreen/nt36xxx/nt36xxx.c b/drivers/input/touchscreen/nt36xxx/nt36xxx.c index c2bdc214892c..99e5daf0a510 100644 --- a/drivers/input/touchscreen/nt36xxx/nt36xxx.c +++ b/drivers/input/touchscreen/nt36xxx/nt36xxx.c @@ -1984,3 +1984,4 @@ late_initcall(nvt_driver_init); module_exit(nvt_driver_exit); MODULE_DESCRIPTION("Novatek Touchscreen Driver"); +MODULE_LICENSE("GPL v2");