1、RK3566调试cst3xx触屏驱动
SDK中加入驱动文件
在kernel/driver/input/touchscreen下加入cst3xx的驱动文件夹,修改目前下的Makefile文件和Kconfig文件。
文件夹下的Makefile内容如下:
obj-$(CONFIG_TOUCHSCREEN_HYN_CST3XX) += hyn_cst3xx.o
Makefile文件加入:
obj-$(CONFIG_TOUCHSCREEN_HYN_CST3XX) += hyn_cst3xx/
Kconfig文件加入:
config TOUCHSCREEN_HYN_CST3XX
tristate “hyn cst3xx based touchscreens”
depends on I2C
help
Say Y here if you have a hyn based touchscreen
controller.
If unsure, say N.
To compile this driver as a module, choose M here: the
module will be called hyn_ts.
原作者:火柴棍mcu
更多回帖