RK3399-Android7.1
TP芯片厂商主要有:Goodix(汇顶)、FocalTech(敦泰)、synaptics(新思)、cypress(赛普拉斯)
RK的源码中虽然有 focaltech 的代码,但没有调试过,找供应商要代码,供应商会提供一个名为 focaltech_touch 的文件夹,里面包括触屏所有代码
将文件夹拷贝到 kernel/drivers/input/touchscreen/ 目录下
在 touchscreen 目录下的 Kconfig 文件添加
source "drivers/input/touchscreen/focaltech_touch/Kconfig"
在touchscreen 目录下的 Makefile 文件添加
obj-y +
= focaltech_touch/
kernel/arch/arm64/configs/firefly_defconfig修改,加入编译,相当于修改 .config 文件
+#CONFIG_TOUCHSCREEN