]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: Renesas R-Car GPIO driver V3
authorMagnus Damm <damm@opensource.se>
Wed, 13 Mar 2013 11:32:13 +0000 (20:32 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 27 Mar 2013 05:08:32 +0000 (14:08 +0900)
commitc67bce4cbb533709e4537f7c9e2ddded12a882db
treee6ad43212ed73329a7c2cee829296eb6b34ee46e
parentf3d525a5711294dd227efacbda0449b8bf44dcf8
gpio: Renesas R-Car GPIO driver V3

This patch is V3 of a GPIO driver for the R-Car series of
SoCs from Renesas. 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 R-Car H1 (r8a7779).

Each driver instance handles 32 GPIOs with individually
maskable IRQs. The driver operates on a single I/O memory
range and the 32 GPIOs are hooked up a single interrupt.

In the case of R-Car H1 either external IRQ pins or GPIOs
with interrupts can be used for on-board interupts. For
external IRQs 4 pins are supported, and in the case of GPIO
there are 202 GPIOS as 202 interrupts hooked up via 6 driver
instances and to the GIC and the Cortex-A9 Quad.

At this point this driver is interfacing as a regular
platform device driver. In the future DT support will be
submitted as an incremental feature patch.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-rcar.c [new file with mode: 0644]
include/linux/platform_data/gpio-rcar.h [new file with mode: 0644]