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:
parent
32642e58bc
commit
3127a1879a
5
Kbuild
5
Kbuild
@ -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 \
|
||||
|
@ -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)
|
||||
|
||||
|
5
config/gki_pineappletouch.conf
Normal file
5
config/gki_pineappletouch.conf
Normal 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
|
8
config/gki_pineappletouchconf.h
Normal file
8
config/gki_pineappletouchconf.h
Normal 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
|
Loading…
Reference in New Issue
Block a user