2022-05-09 17:45:40 +08:00
|
|
|
# Copyright (c) 2022 Keiya Nobuta
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig KSCAN_CAP1203
|
|
|
|
bool "CAP1203 3-cannel capacitive touch sensor driver"
|
2022-08-09 20:38:57 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_MICROCHIP_CAP1203_ENABLED
|
|
|
|
select I2C
|
2022-05-09 17:45:40 +08:00
|
|
|
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
|