zephyr/drivers/kscan/Kconfig.cst816s
Gerard Marull-Paretas 95fb0ded6b kconfig: remove Enable from boolean prompts
According to Kconfig guidelines, boolean prompts must not start with
"Enable...". The following command has been used to automate the changes
in this patch:

sed -i "s/bool \"[Ee]nables\? \(\w\)/bool \"\U\1/g" **/Kconfig*

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-03-09 15:35:54 +01:00

30 lines
683 B
Plaintext

# Copyright (c) 2020 Qingsong Gou <gouqs@hotmail.com>
# SPDX-License-Identifier: Apache-2.0
DT_COMPAT_HYNITRON_CST816S := hynitron,cst816s
menuconfig KSCAN_CST816S
bool "CST816S capacitive touch panel driver"
default $(dt_compat_enabled,$(DT_COMPAT_HYNITRON_CST816S))
depends on I2C
help
Enable driver for hynitron cst816s touch panel.
if KSCAN_CST816S
config KSCAN_CST816S_PERIOD
int "Sample period"
depends on !KSCAN_CST816S_INTERRUPT
default 20
help
Sample period in milliseconds when in polling mode.
config KSCAN_CST816S_INTERRUPT
bool "Interrupt support"
default y
depends on GPIO
help
Enable interrupt support (requires GPIO).
endif # KSCAN_CST816S