18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# RF switch subsystem configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_cimenuconfig RFKILL
68c2ecf20Sopenharmony_ci	tristate "RF switch subsystem support"
78c2ecf20Sopenharmony_ci	help
88c2ecf20Sopenharmony_ci	  Say Y here if you want to have control over RF switches
98c2ecf20Sopenharmony_ci	  found on many WiFi and Bluetooth cards.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
128c2ecf20Sopenharmony_ci	  module will be called rfkill.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci# LED trigger support
158c2ecf20Sopenharmony_ciconfig RFKILL_LEDS
168c2ecf20Sopenharmony_ci	bool
178c2ecf20Sopenharmony_ci	depends on RFKILL
188c2ecf20Sopenharmony_ci	depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
198c2ecf20Sopenharmony_ci	default y
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciconfig RFKILL_INPUT
228c2ecf20Sopenharmony_ci	bool "RF switch input support" if EXPERT
238c2ecf20Sopenharmony_ci	depends on RFKILL
248c2ecf20Sopenharmony_ci	depends on INPUT = y || RFKILL = INPUT
258c2ecf20Sopenharmony_ci	default y if !EXPERT
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig RFKILL_GPIO
288c2ecf20Sopenharmony_ci	tristate "GPIO RFKILL driver"
298c2ecf20Sopenharmony_ci	depends on RFKILL
308c2ecf20Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
318c2ecf20Sopenharmony_ci	default n
328c2ecf20Sopenharmony_ci	help
338c2ecf20Sopenharmony_ci	  If you say yes here you get support of a generic gpio RFKILL
348c2ecf20Sopenharmony_ci	  driver.
35