1# Copyright (c) 2020 Qingsong Gou <gouqs@hotmail.com> 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig INPUT_CST816S 5 bool "CST816S capacitive touch panel driver" 6 default y 7 depends on DT_HAS_HYNITRON_CST816S_ENABLED 8 select I2C 9 help 10 Enable driver for hynitron cst816s touch panel. 11 12if INPUT_CST816S 13 14config INPUT_CST816S_PERIOD 15 int "Sample period" 16 depends on !INPUT_CST816S_INTERRUPT 17 default 20 18 help 19 Sample period in milliseconds when in polling mode. 20 21config INPUT_CST816S_INTERRUPT 22 bool "Interrupt support" 23 default y 24 depends on GPIO 25 help 26 Enable interrupt support (requires GPIO). 27 28endif # INPUT_CST816S 29