1# Copyright (c) 2020 NXP
2# Copyright (c) 2020 Teslabs Engineering S.L.
3# SPDX-License-Identifier: Apache-2.0
4
5menuconfig INPUT_GT911
6	bool "GT9xx / GT9xxx capacitive touch panel driver"
7	default y
8	depends on DT_HAS_GOODIX_GT911_ENABLED
9	select I2C
10	help
11	  Enable driver for multiple Goodix capacitive touch panel controllers.
12	  This driver should support gt9110, gt912, gt927, gt9271, gt928,
13	  gt967.
14
15if INPUT_GT911
16
17config INPUT_GT911_PERIOD_MS
18	int "Sample period"
19	depends on !INPUT_GT911_INTERRUPT
20	default 10
21	help
22	  Sample period in milliseconds when in polling mode.
23
24config INPUT_GT911_INTERRUPT
25	bool "Interrupt"
26	help
27	  Enable interrupt support (requires GPIO).
28
29endif # INPUT_GT911
30