xref: /openbmc/linux/net/rfkill/Kconfig (revision 36890997b0d219427e9d9d2aad5d46eb44fe808d)
1cf4328cdSIvo van Doorn#
2cf4328cdSIvo van Doorn# RF switch subsystem configuration
3cf4328cdSIvo van Doorn#
4cf4328cdSIvo van Doornmenuconfig RFKILL
5cf4328cdSIvo van Doorn	tristate "RF switch subsystem support"
6cf4328cdSIvo van Doorn	help
7cf4328cdSIvo van Doorn	  Say Y here if you want to have control over RF switches
8234a0ca6SIvo van Doorn	  found on many WiFi and Bluetooth cards.
9cf4328cdSIvo van Doorn
10cf4328cdSIvo van Doorn	  To compile this driver as a module, choose M here: the
11cf4328cdSIvo van Doorn	  module will be called rfkill.
12cf4328cdSIvo van Doorn
13135900c1SMichael Buesch# LED trigger support
14135900c1SMichael Bueschconfig RFKILL_LEDS
15135900c1SMichael Buesch	bool
1619d337dfSJohannes Berg	depends on RFKILL
1719d337dfSJohannes Berg	depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
18135900c1SMichael Buesch	default y
19135900c1SMichael Buesch
2019d337dfSJohannes Bergconfig RFKILL_INPUT
216a108a14SDavid Rientjes	bool "RF switch input support" if EXPERT
2219d337dfSJohannes Berg	depends on RFKILL
2319d337dfSJohannes Berg	depends on INPUT = y || RFKILL = INPUT
246a108a14SDavid Rientjes	default y if !EXPERT
25cbc6a6edSAntonio Ospite
26cbc6a6edSAntonio Ospiteconfig RFKILL_REGULATOR
27cbc6a6edSAntonio Ospite	tristate "Generic rfkill regulator driver"
28cbc6a6edSAntonio Ospite	depends on RFKILL || !RFKILL
29cbc6a6edSAntonio Ospite	depends on REGULATOR
30cbc6a6edSAntonio Ospite	help
31cbc6a6edSAntonio Ospite          This options enable controlling radio transmitters connected to
32cbc6a6edSAntonio Ospite          voltage regulator using the regulator framework.
33cbc6a6edSAntonio Ospite
34cbc6a6edSAntonio Ospite          To compile this driver as a module, choose M here: the module will
35cbc6a6edSAntonio Ospite          be called rfkill-regulator.
367176ba23SRhyland Klein
377176ba23SRhyland Kleinconfig RFKILL_GPIO
387176ba23SRhyland Klein	tristate "GPIO RFKILL driver"
39*36890997SGeert Uytterhoeven	depends on RFKILL
40*36890997SGeert Uytterhoeven	depends on GPIOLIB || COMPILE_TEST
417176ba23SRhyland Klein	default n
427176ba23SRhyland Klein	help
437176ba23SRhyland Klein	  If you say yes here you get support of a generic gpio RFKILL
447176ba23SRhyland Klein	  driver. The platform should fill in the appropriate fields in the
457176ba23SRhyland Klein	  rfkill_gpio_platform_data structure and pass that to the driver.
46