^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menuconfig SWITCH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) tristate "Switch class support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Say Y here to enable switch class support. This allows
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) monitoring switches by userspace via sysfs and uevent.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) if SWITCH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) config SWITCH_GPIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) tristate "GPIO Swith support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) depends on GPIOLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Say Y here to enable GPIO based switch support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) endif # SWITCH