linuxOS_AP05/kernel/drivers/switch/Kconfig

17 lines
363 B
Plaintext
Raw Normal View History

2025-06-02 05:59:07 +00:00
# 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