rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # |
| 2 | # RF switch subsystem configuration |
| 3 | # |
| 4 | menuconfig RFKILL |
| 5 | tristate "RF switch subsystem support" |
| 6 | help |
| 7 | Say Y here if you want to have control over RF switches |
| 8 | found on many WiFi and Bluetooth cards. |
| 9 | |
| 10 | To compile this driver as a module, choose M here: the |
| 11 | module will be called rfkill. |
| 12 | |
| 13 | config RFKILL_PM |
| 14 | bool "Power off on suspend" |
| 15 | depends on RFKILL && PM |
| 16 | default y |
| 17 | |
| 18 | # LED trigger support |
| 19 | config RFKILL_LEDS |
| 20 | bool |
| 21 | depends on RFKILL |
| 22 | depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS |
| 23 | default y |
| 24 | |
| 25 | config RFKILL_INPUT |
| 26 | bool "RF switch input support" if EXPERT |
| 27 | depends on RFKILL |
| 28 | depends on INPUT = y || RFKILL = INPUT |
| 29 | default y if !EXPERT |
| 30 | |
| 31 | config RFKILL_GPIO |
| 32 | tristate "GPIO RFKILL driver" |
| 33 | depends on RFKILL |
| 34 | depends on GPIOLIB || COMPILE_TEST |
| 35 | default n |
| 36 | help |
| 37 | If you say yes here you get support of a generic gpio RFKILL |
| 38 | driver. |