summaryrefslogtreecommitdiff
path: root/drivers/ssb/Kconfig
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-11-21 02:24:33 +0400
committerJohn Crispin <blogic@openwrt.org>2012-11-22 00:55:52 +0400
commitec43b08b5733494ad88aa618ecdf534320dd8207 (patch)
tree0d11a7fca2c2baef2d8d3b14564f747b6319c20a /drivers/ssb/Kconfig
parent394bc7e38be79987ed15de203920c3cddb724cc1 (diff)
downloadlinux-ec43b08b5733494ad88aa618ecdf534320dd8207.tar.xz
ssb: add GPIO driver
Register a GPIO driver to access the GPIOs provided by the chip. The GPIOs of the SoC should always start at 0 and the other GPIOs could start at a random position. There is just one SoC in a system and when they start at 0 the number is predictable. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Patchwork: http://patchwork.linux-mips.org/patch/4591 Acked-by: Florian Fainelli <florian@openwrt.org>
Diffstat (limited to 'drivers/ssb/Kconfig')
-rw-r--r--drivers/ssb/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 42cdaa9a4d8a..ff3c8a21f10d 100644
--- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig
@@ -160,4 +160,13 @@ config SSB_DRIVER_GIGE
If unsure, say N
+config SSB_DRIVER_GPIO
+ bool "SSB GPIO driver"
+ depends on SSB
+ select GPIOLIB
+ help
+ Driver to provide access to the GPIO pins on the bus.
+
+ If unsure, say N
+
endmenu