2022-08-08 08:41:55 +08:00
|
|
|
# Copyright (c) 2020 NXP
|
|
|
|
# Copyright (c) 2020 Teslabs Engineering S.L.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2023-07-08 01:03:54 +08:00
|
|
|
menuconfig INPUT_GT911
|
2022-08-08 08:41:55 +08:00
|
|
|
bool "GT9xx / GT9xxx capacitive touch panel driver"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_GOODIX_GT911_ENABLED
|
|
|
|
select I2C
|
|
|
|
help
|
2023-07-08 01:03:54 +08:00
|
|
|
Enable driver for multiple Goodix capacitive touch panel controllers.
|
|
|
|
This driver should support gt9110, gt912, gt927, gt9271, gt928,
|
|
|
|
gt967.
|
2022-08-08 08:41:55 +08:00
|
|
|
|
2023-07-08 01:03:54 +08:00
|
|
|
if INPUT_GT911
|
2022-08-08 08:41:55 +08:00
|
|
|
|
2023-07-08 01:03:54 +08:00
|
|
|
config INPUT_GT911_PERIOD_MS
|
2022-08-08 08:41:55 +08:00
|
|
|
int "Sample period"
|
2023-07-08 01:03:54 +08:00
|
|
|
depends on !INPUT_GT911_INTERRUPT
|
2022-08-08 08:41:55 +08:00
|
|
|
default 10
|
|
|
|
help
|
|
|
|
Sample period in milliseconds when in polling mode.
|
|
|
|
|
2023-07-08 01:03:54 +08:00
|
|
|
config INPUT_GT911_INTERRUPT
|
2022-08-08 08:41:55 +08:00
|
|
|
bool "Interrupt"
|
|
|
|
help
|
|
|
|
Enable interrupt support (requires GPIO).
|
|
|
|
|
2023-07-08 01:03:54 +08:00
|
|
|
endif # INPUT_GT911
|