summaryrefslogtreecommitdiff
path: root/net/rfkill/Kconfig
diff options
context:
space:
mode:
authorRhyland Klein <rklein@nvidia.com>2011-05-16 14:41:48 -0700
committerJohn W. Linville <linville@tuxdriver.com>2011-05-19 13:53:54 -0400
commit7176ba23f8b589b1df3229574ff46fb904ce9ec5 (patch)
treee0811eed20f2f636c217f719862a63b6652543b8 /net/rfkill/Kconfig
parentc6820f1e6c8273ca4b8f94c2354193d19e1a5c47 (diff)
downloadlinux-3.10-7176ba23f8b589b1df3229574ff46fb904ce9ec5.tar.gz
linux-3.10-7176ba23f8b589b1df3229574ff46fb904ce9ec5.tar.bz2
linux-3.10-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/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/rfkill/Kconfig b/net/rfkill/Kconfig
index 48464ca13b2..78efe895b66 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.