zephyr/drivers/kscan/Kconfig.ft5336
Mark Olsson f79699108a drivers: kscan: add support for the interrupt on the ft5336
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>
2020-04-02 16:48:15 -05:00

18 lines
409 B
Plaintext

# 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