zephyr/drivers/kscan/Kconfig.cap1203
Keiya Nobuta 5d662ae3f8 drivers: kscan: Add CAP1203 driver
Add driver for Microchip CAP1203 3-Channel Capacitive Touch Sensor

datasheet: https://ww1.microchip.com/downloads/en/DeviceDoc/00001572B.pdf

Signed-off-by: Keiya Nobuta <nobuta.keiya@fujitsu.com>
2022-05-15 21:31:54 +02:00

28 lines
668 B
Text

# Copyright (c) 2022 Keiya Nobuta
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_MICROCHIP_CAP1203 := microchip,cap1203
menuconfig KSCAN_CAP1203
bool "CAP1203 3-cannel capacitive touch sensor driver"
depends on I2C
default $(dt_compat_enabled,$(DT_COMPAT_MICROCHIP_CAP1203))
help
Enable driver for microchip CAP1203 3-cannel capacitive
touch sensor.
if KSCAN_CAP1203
config KSCAN_CAP1203_POLL
bool "Polling"
help
Enable polling mode when interrupt GPIO is not specified.
config KSCAN_CAP1203_PERIOD
int "Sample period"
depends on KSCAN_CAP1203_POLL
default 10
help
Sample period in milliseconds when in polling mode.
endif # KSCAN_CAP1203