f79699108a
The ft5336 has an interrupt that can be used instead of polling this commit adds support for using it but as an option to maintain compatibility. Tested on the stm32f746g_disco board. Signed-off-by: Mark Olsson <mark@markolsson.se>
17 lines
409 B
Text
17 lines
409 B
Text
# Copyright (c) 2020 NXP
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig KSCAN_FT5336
|
|
bool "FT5336 capacitive touch panel driver"
|
|
depends on I2C && HAS_DTS_I2C
|
|
help
|
|
Enable driver for the FT5336 capacitive touch panel controller.
|
|
|
|
config KSCAN_FT5336_PERIOD
|
|
int "Sample period (ms)"
|
|
default 10
|
|
depends on KSCAN_FT5336
|
|
|
|
config KSCAN_FT5336_INTERRUPT
|
|
bool "Enable interrupt"
|
|
depends on KSCAN_FT5336
|