1# Copyright (c) 2022 Keiya Nobuta 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig KSCAN_CAP1203 5 bool "CAP1203 3-cannel capacitive touch sensor driver" 6 default y 7 depends on DT_HAS_MICROCHIP_CAP1203_ENABLED 8 select I2C 9 help 10 Enable driver for microchip CAP1203 3-cannel capacitive 11 touch sensor. 12 13if KSCAN_CAP1203 14 15config KSCAN_CAP1203_POLL 16 bool "Polling" 17 help 18 Enable polling mode when interrupt GPIO is not specified. 19 20config KSCAN_CAP1203_PERIOD 21 int "Sample period" 22 depends on KSCAN_CAP1203_POLL 23 default 10 24 help 25 Sample period in milliseconds when in polling mode. 26 27endif # KSCAN_CAP1203 28