summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorKelvin Cheung <keguang.zhang@gmail.com>2016-04-06 14:34:53 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-04-09 20:14:35 +0200
commitbd37c999c7ca76afd4f28987314e98e022875dbc (patch)
tree1a38907c581e07cb9843f3ab4651fc9cc6cf670a /drivers/gpio/Kconfig
parentgpio: document open drain/source behaviour (diff)
downloadlinux-bd37c999c7ca76afd4f28987314e98e022875dbc.tar.xz
linux-bd37c999c7ca76afd4f28987314e98e022875dbc.zip
gpio: Loongson1: add Loongson1 GPIO driver
This patch adds GPIO driver for Loongson1B. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 08a93e0b35c5..37f03786b0e6 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -511,6 +511,13 @@ config GPIO_ZX
help
Say yes here to support the GPIO device on ZTE ZX SoCs.
+config GPIO_LOONGSON1
+ tristate "Loongson1 GPIO support"
+ depends on MACH_LOONGSON32
+ select GPIO_GENERIC
+ help
+ Say Y or M here to support GPIO on Loongson1 SoCs.
+
endmenu
menu "Port-mapped I/O GPIO drivers"