Files
android/drivers/input/touchscreen/mediatek/GT1151/Kconfig
T
threeeye bc1d038eac REVVL 6 Pro kernel bring-up: full working tree snapshot (2026-09-12)
Squashed backup commit (no shallow-clone history issues) of
xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream
commit 9eece662e) plus all fixes applied to get everpal_defconfig building
clean against a modern (GCC 15.2.0) toolchain -- see the previous commit
message on the lineage-23.2 branch (also in this repo history is not
available here since this is a squashed snapshot; full incremental history
lives in the local DL380 checkout and the upstream GitHub remote).

Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
2026-09-12 13:36:46 +00:00

231 lines
5.2 KiB
Plaintext

#
# Touchscreen driver configuration
#
if TOUCHSCREEN_MTK_GT1151
config GT1151_FIRMWARE
string "GT1151 for Mediatek firmware"
config GT1151_CONFIG
string "GT1151 for Mediatek config"
config GTP_DRIVER_SEND_CFG
bool "GT1151 for Mediatek send config"
default n
help
Say Y here if you have GT1151 touch panel GTP_DRIVER_SEND_CFG
to enable driver to send config.
Enable this feature if driver needs to send config to touch.
If unsure, say N.
config GTP_CUSTOM_CFG
bool "GT1151 for Mediatek custome cfg"
default n
help
Say Y here if you have GT1151 touch panel GTP_CUSTOM_CFG
to enable custom config.
It enables user to use custom cfg.
If unsure, say N.
config GTP_CHANGE_X2Y
bool "GT1151 for Mediatek change x to y"
default n
help
Say Y here if you have GT1151 touch panel GTP_CHANGE_X2Y
to enable change X to Y.
It is used in touch rotation case.
If unsure, say N.
config GTP_WARP_X_ON
bool "GT1151 for Mediatek warp x"
default n
help
Say Y here if you have GT1151 touch panel GTP_WARP_X_ON
to switch warp X on.
It is used in touch rotation case.
If unsure, say N.
config GTP_WARP_Y_ON
bool "GT1151 for Mediatek warp y"
default n
help
Say Y here if you have GT1151 touch panel GTP_WARP_Y_ON
to switch warp Y on.
It is used in touch rotation case.
If unsure, say N.
config GTP_GESTURE_WAKEUP
bool "GT1151 for Mediatek gesture wakeup"
default n
help
Say Y here if you have GT1151 touch panel GTP_GESTURE_WAKEUP
to enable gesture wakeup mode.
If this feature is enabled, touch can be waked up by gesture.
If unsure, say N.
config GTP_HOTKNOT
bool "GT1151 for Mediatek hotknot"
default n
help
Say Y here if you have GT1151 touch panel GTP_HOTKNOT
to enable hotknot.
Enable this feature if hotknot is used.
If unsure, say N.
config HOTKNOT_TYPE
bool "GT1151 for Mediatek hotknot type"
default n
help
Say Y here if you have GT1151 touch panel HOTKNOT_TYPE
to enable hotknot.
Enable this feature if hotknot is used.
If unsure, say N.
config HOTKNOT_BLOCK_RW
bool "GT1151 for Mediatek hotknot block rw"
default n
help
Say Y here if you have GT1151 touch panel HOTKNOT_BLOCK_RW
to enable hotknot block rw.
Enable this feature if hotknot is used.
If unsure, say N.
config GTP_PROXIMITY
bool "GT1151 for Mediatek proximity"
default n
help
Say Y here if you have GT1151 touch panel GTP_PROXIMITY
to enable proximity.
Enable this feature if proximity is needed.
If unsure, say N.
config GTP_WITH_STYLUS
bool "GT1151 for Mediatek with stylus"
default n
help
Say Y here if you have GT1151 touch panel GTP_WITH_STYLUS
to support stylus.
Enable this feature if stylus is used.
If unsure, say N.
config GTP_HAVE_STYLUS_KEY
bool "GT1151 for Mediatek have stylus key"
default n
help
Say Y here if you have GT1151 touch panel GTP_HAVE_STYLUS_KEY
to enable stylus key.
Enable this feature if stylus is used.
If unsure, say N.
config GTP_AUTO_UPDATE
bool "GT1151 for Mediatek auto update"
default n
help
Say Y here if you have GT1151 touch panel GTP_AUTO_UPDATE
to enable auto update.
Enable this feature if firmware auto update is needed.
If unsure, say N.
config GTP_HEADER_FW_UPDATE
bool "GT1151 for Mediatek header fw update"
default n
help
Say Y here if you have GT1151 touch panel GTP_HEADER_FW_UPDATE
to enable header fw update which means to get firmware from .h
file.
If unsure, say N.
config GTP_REQUEST_FW_UPDATE
bool "GT1151 for Mediatek request fw update"
default n
help
Say Y here if you have GT1151 touch panel GTP_REQUEST_FW_UPDATE
to enable request fw update which means to get firmware using
request method.
If unsure, say N.
config GTP_CREATE_WR_NODE
bool "GT1151 for Mediatek create wr node"
default n
help
Say Y here if you have GT1151 touch panel GTP_CREATE_WR_NODE
to create WR node.
it is used for debug.
If unsure, say N.
config GTP_ESD_PROTECT
bool "GT1151 for Mediatek esd protect"
default n
help
Say Y here if you have GT1151 touch panel GTP_ESD_PROTECT
to add GTP esd protect.
It is used for esd protect feature.
If unsure, say N.
config GTP_CHARGER_SWITCH
bool "GT1151 for Mediatek charger switch"
default n
help
Say Y here if you have GT1151 touch panel GTP_CHARGER_SWITCH
to enable charger switch.
It is ued for charger switch.
If unsure, say N.
config GTP_DEBUG_ARRAY_ON
bool "GT1151 for Mediatek debug array on"
default n
help
Say Y here if you have GT1151 touch panel GTP_DEBUG_ARRAY_ON.
It enables debug array on.
It is used for debug.
If unsure, say N.
config GTP_DEBUG_FUNC_ON
bool "GT1151 for Mediatek debug func on"
default n
help
Say Y here if you have GT1151 touch panel GTP_DEBUG_FUNC_ON.
It enables debug func on.
It is used for debug.
If unsure, say N.
config GTP_POWER_CTRL_SLEEP
bool "GT1151 for Mediatek power ctrl sleep"
default n
help
Say Y here if you have GT1151 touch panel GTP_POWER_CTRL_SLEEP.
It's use power control to enter sleep.
Touch enter sleep when power down.
If unsure, say N.
config GTP_ICS_SLOT_REPORT
bool "GT1151 for TYPE_B_PROTOCOL"
default n
help
Say Y here if you have GT1151 touch panel GTP_ICS_SLOT_REPORT
to support TYPE_B_PROTOCOL.
If unsure, say N.
endif