162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# RF switch subsystem configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_cimenuconfig RFKILL
662306a36Sopenharmony_ci	tristate "RF switch subsystem support"
762306a36Sopenharmony_ci	help
862306a36Sopenharmony_ci	  Say Y here if you want to have control over RF switches
962306a36Sopenharmony_ci	  found on many WiFi and Bluetooth cards.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
1262306a36Sopenharmony_ci	  module will be called rfkill.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci# LED trigger support
1562306a36Sopenharmony_ciconfig RFKILL_LEDS
1662306a36Sopenharmony_ci	bool
1762306a36Sopenharmony_ci	depends on RFKILL
1862306a36Sopenharmony_ci	depends on LEDS_TRIGGERS = y || RFKILL = LEDS_TRIGGERS
1962306a36Sopenharmony_ci	default y
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciconfig RFKILL_INPUT
2262306a36Sopenharmony_ci	bool "RF switch input support" if EXPERT
2362306a36Sopenharmony_ci	depends on RFKILL
2462306a36Sopenharmony_ci	depends on INPUT = y || RFKILL = INPUT
2562306a36Sopenharmony_ci	default y if !EXPERT
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig RFKILL_GPIO
2862306a36Sopenharmony_ci	tristate "GPIO RFKILL driver"
2962306a36Sopenharmony_ci	depends on RFKILL
3062306a36Sopenharmony_ci	depends on GPIOLIB || COMPILE_TEST
3162306a36Sopenharmony_ci	default n
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  If you say yes here you get support of a generic gpio RFKILL
3462306a36Sopenharmony_ci	  driver.
35