[ARM] 4275/1: generic gpio layer for ixp4xx
authorMilan Svoboda <msvoboda@ra.rockwell.com>
Wed, 21 Mar 2007 13:04:08 +0000 (14:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Apr 2007 19:51:42 +0000 (20:51 +0100)
commit25735d10ba477d5128b1e5ccef42062bea429075
tree0307fa07e1443ebe0de45c637c85d6e7cb03539b
parent235b185ce47ce64793362bd3ae4bcd8afc6b57b8
[ARM] 4275/1: generic gpio layer for ixp4xx

This patch brings generic gpio layer support to ixp4xx. It creates
functions needed for gpio->irq and irq->gpio translation.

It expects and initial value to be passed to
gpio_direction_output() which has been introduced by
commit 28735a7253a6c24364765e80a5428b4a151fccc2 in Linus git tree.

Generic gpio layer is going to be used by pxa2xx_udc driver.

Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp4xx/common.c
include/asm-arm/arch-ixp4xx/gpio.h [new file with mode: 0644]