xref: /openbmc/linux/net/rfkill/Kconfig (revision 58e16d792a6a8c6b750f637a4649967fcac853dc)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2cf4328cdSIvo van Doorn#
3cf4328cdSIvo van Doorn# RF switch subsystem configuration
4cf4328cdSIvo van Doorn#
5cf4328cdSIvo van Doornmenuconfig RFKILL
6cf4328cdSIvo van Doorn	tristate "RF switch subsystem support"
7cf4328cdSIvo van Doorn	help
8cf4328cdSIvo van Doorn	  Say Y here if you want to have control over RF switches
9234a0ca6SIvo van Doorn	  found on many WiFi and Bluetooth cards.
10cf4328cdSIvo van Doorn
11cf4328cdSIvo van Doorn	  To compile this driver as a module, choose M here: the
12cf4328cdSIvo van Doorn	  module will be called rfkill.
13cf4328cdSIvo van Doorn
14135900c1SMichael Buesch# LED trigger support
15135900c1SMichael Bueschconfig RFKILL_LEDS
16135900c1SMichael Buesch	bool
1719d337dfSJohannes Berg	depends on RFKILL
1819d337dfSJohannes Berg	depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
19135900c1SMichael Buesch	default y
20135900c1SMichael Buesch
2119d337dfSJohannes Bergconfig RFKILL_INPUT
226a108a14SDavid Rientjes	bool "RF switch input support" if EXPERT
2319d337dfSJohannes Berg	depends on RFKILL
2419d337dfSJohannes Berg	depends on INPUT = y || RFKILL = INPUT
256a108a14SDavid Rientjes	default y if !EXPERT
26cbc6a6edSAntonio Ospite
277176ba23SRhyland Kleinconfig RFKILL_GPIO
287176ba23SRhyland Klein	tristate "GPIO RFKILL driver"
2936890997SGeert Uytterhoeven	depends on RFKILL
3036890997SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
317176ba23SRhyland Klein	default n
327176ba23SRhyland Klein	help
337176ba23SRhyland Klein	  If you say yes here you get support of a generic gpio RFKILL
34fb2e6b7bSHeikki Krogerus	  driver.
35