guam: input update touch ilitek fw 02

input update touch
ilitek fw 02 and enable esd
NO_PROP_NEEDED

Change-Id: I7f6a1f0cf74e6304436da25ea18d0f51a781c9cb
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1735679
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
dengwei1 2020-08-28 10:36:54 +08:00 • committed by Wang Wang
commit d66e25e68c
3 changed files with 11 additions and 0 deletions

View file

@ -13,6 +13,10 @@ ifneq ($(DL_FW_BY_DISPLAY),)
KERNEL_CFLAGS += CONFIG_ILITEK_RESUME_BY_DDI=y
endif
ifeq ($(ILITEK_ESD),true)
KERNEL_CFLAGS += CONFIG_ILITEK_ESD=y
endif
include $(CLEAR_VARS)
LOCAL_MODULE := ili9882_mmi.ko
LOCAL_MODULE_TAGS := optional

View file

@ -17,6 +17,9 @@ endif
ifneq ($(filter m y,$(CONFIG_ILITEK_RESUME_BY_DDI)),)
EXTRA_CFLAGS += -DILI_CONFIG_RESUME_BY_DDI
endif
ifneq ($(filter m y,$(CONFIG_ILITEK_ESD)),)
EXTRA_CFLAGS += -DILI_CONFIG_ESD
endif
ili9882_mmi-objs += ili9882.o
ili9882_mmi-objs += ili9882_spi.o

View file

@ -128,7 +128,11 @@
#define MT_B_TYPE ENABLE
#define TDDI_RST_BIND DISABLE
#define MT_PRESSURE DISABLE
#ifdef ILI_CONFIG_ESD
#define ENABLE_WQ_ESD ENABLE
#else
#define ENABLE_WQ_ESD DISABLE
#endif
#define ENABLE_WQ_BAT DISABLE
#define ENABLE_GESTURE DISABLE
#define REGULATOR_POWER DISABLE