2020-01-21 04:27:19 +08:00
|
|
|
# Copyright (c) 2020 NXP
|
2020-07-23 15:55:25 +08:00
|
|
|
# Copyright (c) 2020 Teslabs Engineering S.L.
|
2020-01-21 04:27:19 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig KSCAN_FT5336
|
2020-07-23 15:55:25 +08:00
|
|
|
bool "FT5XX6/FT6XX6 capacitive touch panel driver"
|
2022-08-09 20:38:57 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_FOCALTECH_FT5336_ENABLED
|
|
|
|
select I2C
|
2020-01-21 04:27:19 +08:00
|
|
|
help
|
2020-07-23 15:55:25 +08:00
|
|
|
Enable driver for multiple Focaltech capacitive touch panel
|
|
|
|
controllers. This driver should support FT5x06, FT5606, FT5x16,
|
|
|
|
FT6x06, Ft6x36, FT5x06i, FT5336, FT3316, FT5436i, FT5336i and FT5x46.
|
|
|
|
|
|
|
|
if KSCAN_FT5336
|
2020-01-21 04:27:19 +08:00
|
|
|
|
|
|
|
config KSCAN_FT5336_PERIOD
|
2020-07-23 15:55:25 +08:00
|
|
|
int "Sample period"
|
|
|
|
depends on !KSCAN_FT5336_INTERRUPT
|
2020-01-21 04:27:19 +08:00
|
|
|
default 10
|
2020-07-23 15:55:25 +08:00
|
|
|
help
|
|
|
|
Sample period in milliseconds when in polling mode.
|
2020-03-20 05:32:33 +08:00
|
|
|
|
|
|
|
config KSCAN_FT5336_INTERRUPT
|
2022-03-09 19:05:12 +08:00
|
|
|
bool "Interrupt"
|
2020-07-23 15:55:25 +08:00
|
|
|
help
|
|
|
|
Enable interrupt support (requires GPIO).
|
|
|
|
|
|
|
|
endif # KSCAN_FT5336
|