blob: 8e12c8a2b82b613a5637537685b71174c412c028 [file] [log] [blame]
Ivo van Doorncf4328c2007-05-07 00:34:20 -07001#
2# RF switch subsystem configuration
3#
4menuconfig RFKILL
5 tristate "RF switch subsystem support"
6 help
7 Say Y here if you want to have control over RF switches
Ivo van Doorn234a0ca2007-09-13 09:20:42 +02008 found on many WiFi and Bluetooth cards.
Ivo van Doorncf4328c2007-05-07 00:34:20 -07009
10 To compile this driver as a module, choose M here: the
11 module will be called rfkill.
12
Nick Pelly261a7992008-12-04 17:37:05 -080013config RFKILL_PM
14 bool "Power off on suspend"
15 depends on RFKILL && PM
16 default y
17
Michael Buesch135900c2007-09-27 21:33:12 +020018# LED trigger support
19config RFKILL_LEDS
20 bool
Johannes Berg19d337d2009-06-02 13:01:37 +020021 depends on RFKILL
22 depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
Michael Buesch135900c2007-09-27 21:33:12 +020023 default y
24
Johannes Berg19d337d2009-06-02 13:01:37 +020025config RFKILL_INPUT
David Rientjes6a108a12011-01-20 14:44:16 -080026 bool "RF switch input support" if EXPERT
Johannes Berg19d337d2009-06-02 13:01:37 +020027 depends on RFKILL
28 depends on INPUT = y || RFKILL = INPUT
David Rientjes6a108a12011-01-20 14:44:16 -080029 default y if !EXPERT
Antonio Ospitecbc6a6e2011-04-13 21:40:45 +020030
31config RFKILL_REGULATOR
32 tristate "Generic rfkill regulator driver"
33 depends on RFKILL || !RFKILL
34 depends on REGULATOR
35 help
36 This options enable controlling radio transmitters connected to
37 voltage regulator using the regulator framework.
38
39 To compile this driver as a module, choose M here: the module will
40 be called rfkill-regulator.
Rhyland Klein7176ba22011-05-16 14:41:48 -070041
42config RFKILL_GPIO
43 tristate "GPIO RFKILL driver"
44 depends on RFKILL && GPIOLIB && HAVE_CLK
45 default n
46 help
47 If you say yes here you get support of a generic gpio RFKILL
48 driver. The platform should fill in the appropriate fields in the
49 rfkill_gpio_platform_data structure and pass that to the driver.