gpio: Emma Mobile GPIO driver V2
authorMagnus Damm <damm@opensource.se>
Thu, 17 May 2012 06:22:23 +0000 (15:22 +0900)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 17 May 2012 22:00:45 +0000 (00:00 +0200)
commita07e103ef08c6907d695a06467d7ee950796fccf
tree9670ebf990788fc46bd8ac3648b01eb8846bdc23
parent4da773193414788b52ae14bc246543390faca5ce
gpio: Emma Mobile GPIO driver V2

This patch is V2 of the Emma Mobile GPIO driver. This
driver is designed to be reusable between multiple SoCs
that share the same basic building block, but so far it
has only been used on Emma Mobile EV2.

Each driver instance handles 32 GPIOs with individually
maskable IRQs. The driver operates on two I/O memory
ranges and the 32 GPIOs are hooked up to two interrupts.

In the case of Emma Mobile EV2 this GPIO building block
is used as main external interrupt controller hooking up
159 GPIOS as 159 interrupts via 5 driver instances and
10 interrupts to the GIC and the Cortex-A9 Dual.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-em.c [new file with mode: 0644]
include/linux/platform_data/gpio-em.h [new file with mode: 0644]