summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorHarini Katakam <harini.katakam@xilinx.com>2014-07-08 16:32:35 +0530
committerLinus Walleij <linus.walleij@linaro.org>2014-07-10 11:11:41 +0200
commit3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52 (patch)
treeac01c36057b3aa43eab356ede0d4f507e056d0fc /drivers/gpio/Kconfig
parent85ea29ac1c4838a720e6fcde2805ddb33451f21b (diff)
downloadop-kernel-dev-3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52.zip
op-kernel-dev-3242ba117e9bd29eb748afd6f6fbfbd6dd7cfe52.tar.gz
gpio: Add driver for Zynq GPIO controller
Add support for GPIO controller used by Xilinx Zynq. v3 changes: - Use linux/gpio/driver.h instead of linux/gpio.h - Make irq a local variable in probe v2 changes: - convert to pm_runtime_force_(suspend|resume) - add pm_runtime_set_active in probe() - also (un)prepare clocks when they are dis-/enabled - add some missing calls to pm_runtime_get() - use pm_runtime_put() instead of sync variant - remove gpio chip in driver remove() - remove redundant type casts - directly use IO helpers - use BIT macro to set/clear bits - migrate to GPIOLIB_IRQCHIP Signed-off-by: Harini Katakam <harinik@xilinx.com> Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.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 690904a..345da63 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -340,6 +340,13 @@ config GPIO_XILINX
help
Say yes here to support the Xilinx FPGA GPIO device
+config GPIO_ZYNQ
+ tristate "Xilinx Zynq GPIO support"
+ depends on ARCH_ZYNQ
+ select GPIOLIB_IRQCHIP
+ help
+ Say yes here to support Xilinx Zynq GPIO controller.
+
config GPIO_XTENSA
bool "Xtensa GPIO32 support"
depends on XTENSA
OpenPOWER on IntegriCloud