]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
MIPS: RB532: Provide functions for gpio configuration
authorPhil Sutter <n0-1@freewrt.org>
Sat, 1 Nov 2008 14:13:21 +0000 (15:13 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 20 Nov 2008 19:42:33 +0000 (19:42 +0000)
commit2e373952cc893207a8b47a5e68c2f5155f912449
treeb0c5dedca901bcac6f040e21a8f406df994411dd
parentf43909dfb39c63ce54a598cbd7921643029afdeb
MIPS: RB532: Provide functions for gpio configuration

As gpiolib doesn't support pin multiplexing, it provides no way to
access the GPIOFUNC register. Also there is no support for setting
interrupt status and level. These functions provide access to them and
are needed by the CompactFlash driver.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-rc32434/gpio.h
arch/mips/rb532/gpio.c