0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # RF switch subsystem configuration
0004 #
0005 menuconfig RFKILL
0006 tristate "RF switch subsystem support"
0007 help
0008 Say Y here if you want to have control over RF switches
0009 found on many WiFi and Bluetooth cards.
0010
0011 To compile this driver as a module, choose M here: the
0012 module will be called rfkill.
0013
0014 # LED trigger support
0015 config RFKILL_LEDS
0016 bool
0017 depends on RFKILL
0018 depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
0019 default y
0020
0021 config RFKILL_INPUT
0022 bool "RF switch input support" if EXPERT
0023 depends on RFKILL
0024 depends on INPUT = y || RFKILL = INPUT
0025 default y if !EXPERT
0026
0027 config RFKILL_GPIO
0028 tristate "GPIO RFKILL driver"
0029 depends on RFKILL
0030 depends on GPIOLIB || COMPILE_TEST
0031 default n
0032 help
0033 If you say yes here you get support of a generic gpio RFKILL
0034 driver.