249 lines
5.7 KiB
Plaintext
249 lines
5.7 KiB
Plaintext
|
#
|
||
|
# Touchscreen driver configuration
|
||
|
#
|
||
|
if TOUCHSCREEN_MTK_GT911
|
||
|
|
||
|
config GT911_CONFIG
|
||
|
string "GT911 for Mediatek config"
|
||
|
|
||
|
config GTP_DRIVER_SEND_CFG
|
||
|
bool "GT911 send config by driver feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_DRIVER_SEND_CFG.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for send config. Should check your config with goodix.
|
||
|
Sometimes it is not latest
|
||
|
|
||
|
config GTP_CUSTOM_CFG
|
||
|
bool "GT911 custom config option"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_CUSTOM_CFG.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for send custom config. Usually we modify touch resoluton
|
||
|
through it.
|
||
|
|
||
|
config GTP_HAVE_TOUCH_KEY
|
||
|
bool "GT911 touch key option"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_HAVE_TOUCH_KEY.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for touch keypad. such as some virtual key, home key, search
|
||
|
key, back key etc.
|
||
|
|
||
|
config GTP_CHANGE_X2Y
|
||
|
bool "GT911 chang x2y option"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_CHANGE_X2Y.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for change coordinate x to y. Usually we make coodirnate map
|
||
|
same as lcm rotation through it.
|
||
|
|
||
|
config GTP_COMPATIBLE_MODE
|
||
|
bool "GT911 compatible mode option"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_COMPATIBLE_MODE.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for enable compatible mode. If enable ,will compatibel some
|
||
|
gt9xxF chip in this driver
|
||
|
|
||
|
config GTP_WARP_X_ON
|
||
|
bool "GT911 warp x option"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_WARP_X_ON.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for warp coordinate x on.
|
||
|
comaptible for GT9XX chip.
|
||
|
|
||
|
config GTP_WARP_Y_ON
|
||
|
bool "GT911 warp y option"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_WARP_Y_ON.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for warp coordinate y on.
|
||
|
compatible for GT9XX chip.
|
||
|
|
||
|
config GTP_GESTURE_WAKEUP
|
||
|
bool "GT911 gesture wakeup feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_GESTURE_WAKEUP.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for enable gesture wake up. Should not diasble power while
|
||
|
driver suspend.
|
||
|
|
||
|
config GTP_HOTKNOT
|
||
|
bool "GT911 hotknot feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_HOTKNOT.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for enable hotknot. Should check your firmware
|
||
|
whether support with goodix.
|
||
|
|
||
|
config HOTKNOT_TYPE
|
||
|
bool "GT911 hotknot type option"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel HOTKNOT_TYPE.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for config hotknot type. Should check your firmware
|
||
|
whether support with goodix.
|
||
|
|
||
|
config HOTKNOT_BLOCK_RW
|
||
|
bool "GT911 hotknot block RW option"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel HOTKNOT_BLOCK_RW.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for config hotknot block read or write. Should check your
|
||
|
firmware whether support with goodix.
|
||
|
|
||
|
config GTP_PROXIMITY
|
||
|
bool "GT911 proximity feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_PROXIMITY.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for enable proximity feature. Should check your firmware
|
||
|
whether support with goodix.
|
||
|
|
||
|
config GTP_WITH_STYLUS
|
||
|
bool "GT911 with stylus option"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_WITH_STYLUS.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for stylus feature. Should check your firmware
|
||
|
whether support with goodix.
|
||
|
|
||
|
config GTP_HAVE_STYLUS_KEY
|
||
|
bool "GT911 stylus key feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_HAVE_STYLUS_KEY.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for stylus key option. Should check your firmware
|
||
|
whether support with goodix.
|
||
|
|
||
|
config GTP_AUTO_UPDATE
|
||
|
bool "GT911 firmware auto update feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_AUTO_UPDATE.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for auto update firmware feature.
|
||
|
compatible for GT9XX chip.
|
||
|
|
||
|
config GTP_HEADER_FW_UPDATE
|
||
|
bool "GT911 firmware header update feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_HEADER_FW_UPDATE.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for auto update firmware header feature.
|
||
|
compatible for GT9XX chip.
|
||
|
|
||
|
config GTP_FW_DOWNLOAD
|
||
|
bool "GT911 firmware download feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_FW_DOWNLOAD.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for download firmware feature. Usually it will be enable while
|
||
|
we use apk to update firmware.
|
||
|
|
||
|
config GTP_CREATE_WR_NODE
|
||
|
bool "GT911 create WR node feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_CREATE_WR_NODE.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for create write and read node , which user space will debug touch
|
||
|
through proc node.
|
||
|
|
||
|
config GTP_ESD_PROTECT
|
||
|
bool "GT911 ESD protect feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_ESD_PROTECT.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for esd protect. Should check your firmware
|
||
|
whether support with goodix.
|
||
|
|
||
|
config GTP_CHARGER_DETECT
|
||
|
bool "GT911 charger detect feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_CHARGER_DETECT.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for charger protect. Should check your firmware
|
||
|
whether support with goodix.
|
||
|
|
||
|
config GTP_CHARGER_SWITCH
|
||
|
bool "GT911 charger switch feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_CHARGER_SWITCH.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for charger switch. Should check your firmware
|
||
|
whether support with goodix.
|
||
|
|
||
|
config GTP_DEBUG_ARRAY_ON
|
||
|
bool "GT911 debug array feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_DEBUG_ARRAY_ON.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for debug array feature.
|
||
|
comaptible for GT9XX chip.
|
||
|
|
||
|
config GTP_DEBUG_FUNC_ON
|
||
|
bool "GT911 debug feature"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_DEBUG_FUNC_ON.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Used for debug feature.
|
||
|
compatible for GT9XX chip.
|
||
|
|
||
|
config GTP_POWER_CTRL_SLEEP
|
||
|
bool "GT911 power cntrol while sleep"
|
||
|
help
|
||
|
Say Y here if you have GT911 touch panel GTP_POWER_CTRL_SLEEP.
|
||
|
|
||
|
If unsure, say N.
|
||
|
|
||
|
Will disable power while device suspend. if you support gesture
|
||
|
wake up feature, do not enable this feature.
|
||
|
endif
|