]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: Add driver for Zynq GPIO controller
authorHarini Katakam <harini.katakam@xilinx.com>
Tue, 8 Jul 2014 11:02:35 +0000 (16:32 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Jul 2014 09:11:41 +0000 (11:11 +0200)
commit3cbedd4c7768917e69c638189f7b339e48545e58
treeac01c36057b3aa43eab356ede0d4f507e056d0fc
parent16b603772b266cecdc18c20e8a4eccbb39df64d8
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>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-zynq.c [new file with mode: 0644]