duos 8inch 800x1280 display add TP driver

modify in loadsystemko.sh
when you need to install the gt9xx TP driver
This commit is contained in:
carbon
2024-05-20 20:46:30 +08:00
parent 5d8e680321
commit e0a7273617
6 changed files with 37 additions and 8 deletions

View File

@ -40,19 +40,22 @@
#ifdef CONFIG_OF
#include <linux/of_gpio.h>
#include <linux/regulator/consumer.h>
#define GTP_CONFIG_OF
#endif
#ifdef CONFIG_FB
#include <linux/notifier.h>
#include <linux/fb.h>
#endif
#ifdef CONFIG_HAS_EARLYSUSPEND
#include <linux/earlysuspend.h>
#endif
//***************************PART1:ON/OFF define*******************************
#define GTP_CUSTOM_CFG 1
#define GTP_CUSTOM_CFG 0
#define GTP_CHANGE_X2Y 0 //swap x y
#define GTP_DRIVER_SEND_CFG 1 //driver send config
#define GTP_DRIVER_SEND_CFG 0 //driver send config
#define GTP_HAVE_TOUCH_KEY 0
#define GTP_POWER_CTRL_SLEEP 0 //power off when suspend
#define GTP_ICS_SLOT_REPORT 0 // slot protocol