xref: /OK3568_Linux_fs/kernel/net/rfkill/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# RF switch subsystem configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunmenuconfig RFKILL
6*4882a593Smuzhiyun	tristate "RF switch subsystem support"
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  Say Y here if you want to have control over RF switches
9*4882a593Smuzhiyun	  found on many WiFi and Bluetooth cards.
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun	  To compile this driver as a module, choose M here: the
12*4882a593Smuzhiyun	  module will be called rfkill.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun# LED trigger support
15*4882a593Smuzhiyunconfig RFKILL_LEDS
16*4882a593Smuzhiyun	bool
17*4882a593Smuzhiyun	depends on RFKILL
18*4882a593Smuzhiyun	depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
19*4882a593Smuzhiyun	default y
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunconfig RFKILL_INPUT
22*4882a593Smuzhiyun	bool "RF switch input support" if EXPERT
23*4882a593Smuzhiyun	depends on RFKILL
24*4882a593Smuzhiyun	depends on INPUT = y || RFKILL = INPUT
25*4882a593Smuzhiyun	default y if !EXPERT
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig RFKILL_GPIO
28*4882a593Smuzhiyun	tristate "GPIO RFKILL driver"
29*4882a593Smuzhiyun	depends on RFKILL
30*4882a593Smuzhiyun	depends on GPIOLIB || COMPILE_TEST
31*4882a593Smuzhiyun	default n
32*4882a593Smuzhiyun	help
33*4882a593Smuzhiyun	  If you say yes here you get support of a generic gpio RFKILL
34*4882a593Smuzhiyun	  driver.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunconfig RFKILL_RK
37*4882a593Smuzhiyun	tristate "Rockchip RFKILL driver"
38*4882a593Smuzhiyun	depends on RFKILL
39*4882a593Smuzhiyun	depends on MMC
40*4882a593Smuzhiyun	depends on ARCH_ROCKCHIP
41*4882a593Smuzhiyun	default n
42*4882a593Smuzhiyun	help
43*4882a593Smuzhiyun	  Rockchip rfkill driver for rk29/rk3X
44