fix gt911 touchscreen driver for milkv 8inch panel
Signed-off-by: carbon <carbon@milkv.io>
This commit is contained in:
@ -40,7 +40,9 @@
|
||||
#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>
|
||||
@ -50,9 +52,9 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user