xref: /linux/net/rfkill/Kconfig (revision 58e16d792a6a8c6b750f637a4649967fcac853dc)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# RF switch subsystem configuration
4#
5menuconfig RFKILL
6	tristate "RF switch subsystem support"
7	help
8	  Say Y here if you want to have control over RF switches
9	  found on many WiFi and Bluetooth cards.
10
11	  To compile this driver as a module, choose M here: the
12	  module will be called rfkill.
13
14# LED trigger support
15config RFKILL_LEDS
16	bool
17	depends on RFKILL
18	depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
19	default y
20
21config RFKILL_INPUT
22	bool "RF switch input support" if EXPERT
23	depends on RFKILL
24	depends on INPUT = y || RFKILL = INPUT
25	default y if !EXPERT
26
27config RFKILL_GPIO
28	tristate "GPIO RFKILL driver"
29	depends on RFKILL
30	depends on GPIOLIB || COMPILE_TEST
31	default n
32	help
33	  If you say yes here you get support of a generic gpio RFKILL
34	  driver.
35