linuxOS_AP05/kernel/drivers/switch/Kconfig
2025-06-02 13:59:07 +08:00

17 lines
363 B
Plaintext

# SPDX-License-Identifier: GPL-2.0
menuconfig SWITCH
tristate "Switch class support"
help
Say Y here to enable switch class support. This allows
monitoring switches by userspace via sysfs and uevent.
if SWITCH
config SWITCH_GPIO
tristate "GPIO Swith support"
depends on GPIOLIB
help
Say Y here to enable GPIO based switch support.
endif # SWITCH