cbc6a6ed09
Add a regulator consumer driver for rfkill to enable controlling radio transmitters connected to voltage regulators using the regulator framework. A new "vrfkill" virtual supply is provided to use in platform code. Signed-off-by: Guiming Zhuo <gmzhuo@gmail.com> Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
36 lines
952 B
Plaintext
36 lines
952 B
Plaintext
#
|
|
# RF switch subsystem configuration
|
|
#
|
|
menuconfig RFKILL
|
|
tristate "RF switch subsystem support"
|
|
help
|
|
Say Y here if you want to have control over RF switches
|
|
found on many WiFi and Bluetooth cards.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called rfkill.
|
|
|
|
# LED trigger support
|
|
config RFKILL_LEDS
|
|
bool
|
|
depends on RFKILL
|
|
depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
|
|
default y
|
|
|
|
config RFKILL_INPUT
|
|
bool "RF switch input support" if EXPERT
|
|
depends on RFKILL
|
|
depends on INPUT = y || RFKILL = INPUT
|
|
default y if !EXPERT
|
|
|
|
config RFKILL_REGULATOR
|
|
tristate "Generic rfkill regulator driver"
|
|
depends on RFKILL || !RFKILL
|
|
depends on REGULATOR
|
|
help
|
|
This options enable controlling radio transmitters connected to
|
|
voltage regulator using the regulator framework.
|
|
|
|
To compile this driver as a module, choose M here: the module will
|
|
be called rfkill-regulator.
|