1# Copyright (c) 2020 NXP
2# Copyright (c) 2020 Teslabs Engineering S.L.
3# SPDX-License-Identifier: Apache-2.0
4
5menuconfig INPUT_FT5336
6	bool "FT3267/FT5XX6/FT6XX6 capacitive touch panel driver"
7	default y
8	depends on DT_HAS_FOCALTECH_FT5336_ENABLED
9	select I2C
10	select INPUT_TOUCH
11	help
12	  Enable driver for multiple Focaltech capacitive touch panel
13	  controllers. This driver should support FT5x06, FT5606, FT5x16,
14	  FT6x06, Ft6x36, FT5x06i, FT5336, FT3316, FT5436i, FT3267,
15	  FT5336i and FT5x46.
16
17if INPUT_FT5336
18
19config INPUT_FT5336_PERIOD
20	int "Sample period"
21	depends on !INPUT_FT5336_INTERRUPT
22	default 10
23	help
24	  Sample period in milliseconds when in polling mode.
25
26config INPUT_FT5336_INTERRUPT
27	bool "Interrupt"
28	help
29	  Enable interrupt support (requires GPIO).
30
31endif # INPUT_FT5336
32