aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2016-01-28 14:44:29 -0500
committerLinus Walleij <linus.walleij@linaro.org>2016-02-10 05:07:24 -0500
commitab32770ec8d64254503d85128ba05de41d792ff2 (patch)
treeab8bdfa9d9f3f9512909dd7ee46919af42dc53f1 /drivers/gpio/Kconfig
parent60afe31d1f6245c3156d540b0c7e5381ea8069d1 (diff)
gpio: ath79: Move to the generic GPIO driver
Drop most of the code in favor of the generic MMIO GPIO driver. As the driver now depend on CONFIG_GPIO_GENERIC also add a Kconfig entry to make the driver optional. We leave the base pointer and lock in the data struct because they are needed for the IRQ support. Signed-off-by: Alban Bedel <albeu@free.fr> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 77df86635480..020a44a52331 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -126,6 +126,15 @@ config GPIO_AMDPT
126 driver for GPIO functionality on Promontory IOHub 126 driver for GPIO functionality on Promontory IOHub
127 Require ACPI ASL code to enumerate as a platform device. 127 Require ACPI ASL code to enumerate as a platform device.
128 128
129config GPIO_ATH79
130 tristate "Atheros AR71XX/AR724X/AR913X GPIO support"
131 default y if ATH79
132 depends on ATH79
133 select GPIO_GENERIC
134 help
135 Select this option to enable GPIO driver for
136 Atheros AR71XX/AR724X/AR913X SoC devices.
137
129config GPIO_BCM_KONA 138config GPIO_BCM_KONA
130 bool "Broadcom Kona GPIO" 139 bool "Broadcom Kona GPIO"
131 depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST) 140 depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST)