touch: pineapple: enable touch drivers for pineapple

Add touch config files and enable for pineapple platform

Change-Id: Ibad6ce0e661a5d2c0e8794573e18abbf1fe2b88f
Signed-off-by: Simranjeet Thind <quic_sthind@quicinc.com>
This commit is contained in:
Simranjeet Thind 2022-10-27 10:15:24 -07:00 committed by Gerrit - the friendly Code Review server
parent 32642e58bc
commit 3127a1879a
4 changed files with 22 additions and 0 deletions

5
Kbuild
View File

@ -16,6 +16,11 @@ endif
LINUX_INC += -include $(TOUCH_ROOT)/config/gki_khajetouchconf.h
#endif
#ifeq ($(CONFIG_ARCH_PINEAPPLE), y)
include $(TOUCH_ROOT)/config/gki_pineappletouch.conf
LINUX_INC += -include $(TOUCH_ROOT)/config/gki_pineappletouchconf.h
#endif
LINUX_INC += -Iinclude/linux \
-Iinclude/linux/drm \
-Iinclude/linux/gunyah \

View File

@ -6,6 +6,10 @@ ifeq ($(TARGET_SUPPORT),genericarmv8)
KBUILD_OPTIONS += CONFIG_ARCH_WAIPIO=y
endif
ifeq ($(TARGET_SUPPORT),genericarmv8)
KBUILD_OPTIONS += CONFIG_ARCH_PINEAPPLE=y
endif
all:
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)

View File

@ -0,0 +1,5 @@
export CONFIG_TOUCHSCREEN_NT36XXX_I2C=y
export CONFIG_TOUCHSCREEN_GOODIX_BRL=y
export CONFIG_TOUCHSCREEN_ATMEL_MXT=y
export CONFIG_TOUCHSCREEN_DUMMY=y
export CONFIG_MSM_TOUCH=m

View File

@ -0,0 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#define CONFIG_TOUCHSCREEN_NT36XXX_I2C 1
#define CONFIG_TOUCHSCREEN_GOODIX_BRL 1
#define CONFIG_TOUCHSCREEN_ATMEL_MXT 1