diff options
author | Rhyland Klein <rklein@nvidia.com> | 2011-05-16 23:41:48 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-19 19:53:54 +0200 |
commit | 7176ba23f8b589b1df3229574ff46fb904ce9ec5 (patch) | |
tree | e0811eed20f2f636c217f719862a63b6652543b8 /net/rfkill/Kconfig | |
parent | ath9k: fix ad-hoc mode beacon selection (diff) | |
download | linux-7176ba23f8b589b1df3229574ff46fb904ce9ec5.tar.xz linux-7176ba23f8b589b1df3229574ff46fb904ce9ec5.zip |
net: rfkill: add generic gpio rfkill driver
This adds a new generic gpio rfkill driver to support rfkill switches
which are controlled by gpios. The driver also supports passing in
data about the clock for the radio, so that when rfkill is blocking,
it can disable the clock.
This driver assumes platform data is passed from the board files to
configure it for specific devices.
Original-patch-by: Anantha Idapalapati <aidapalapati@nvidia.com>
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rfkill/Kconfig')
-rw-r--r-- | net/rfkill/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/net/rfkill/Kconfig b/net/rfkill/Kconfig index 48464ca13b24..78efe895b663 100644 --- a/net/rfkill/Kconfig +++ b/net/rfkill/Kconfig @@ -33,3 +33,12 @@ config RFKILL_REGULATOR To compile this driver as a module, choose M here: the module will be called rfkill-regulator. + +config RFKILL_GPIO + tristate "GPIO RFKILL driver" + depends on RFKILL && GPIOLIB && HAVE_CLK + default n + help + If you say yes here you get support of a generic gpio RFKILL + driver. The platform should fill in the appropriate fields in the + rfkill_gpio_platform_data structure and pass that to the driver. |