summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorSergio Paracuellos2018-07-05 15:43:10 +0200
committerLinus Walleij2018-07-09 13:41:48 +0200
commit4ba9c3afda41213ec98c30053e32963892e6dc7c (patch)
tree8deed62de58b769def4b2876c44c5b571fe5c23f /drivers/gpio/Kconfig
parentgpio: mt7621: Add DT bindings (diff)
downloadkernel-qcow2-linux-4ba9c3afda41213ec98c30053e32963892e6dc7c.tar.gz
kernel-qcow2-linux-4ba9c3afda41213ec98c30053e32963892e6dc7c.tar.xz
kernel-qcow2-linux-4ba9c3afda41213ec98c30053e32963892e6dc7c.zip
gpio: mt7621: Add a driver for MT7621
Add driver support for gpio of MT7621 SoC. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Reviewed-by: NeilBrown <neil@brown.name> [Switched wording WIDTH to STRIDE] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 71c0ab46f216..836aa2173e44 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -359,6 +359,14 @@ config GPIO_MPC8XXX
Say Y here if you're going to use hardware that connects to the
MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs.
+config GPIO_MT7621
+ bool "Mediatek MT7621 GPIO Support"
+ depends on SOC_MT7620 || SOC_MT7621 || COMPILE_TEST
+ select GPIO_GENERIC
+ select GPIOLIB_IRQCHIP
+ help
+ Say yes here to support the Mediatek MT7621 SoC GPIO device
+
config GPIO_MVEBU
def_bool y
depends on PLAT_ORION || ARCH_MVEBU