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"
|
2020-09-18 22:21:59 +08:00
|
|
|
depends on 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
|
|
|
|
bool "Enable interrupt"
|
2020-07-23 15:55:25 +08:00
|
|
|
help
|
|
|
|
Enable interrupt support (requires GPIO).
|
|
|
|
|
|
|
|
endif # KSCAN_FT5336
|