]> err.no Git - linux-2.6/commit
[ARM] 2950/1: i.MX gpio setup function
authorSascha Hauer <sascha@saschahauer.de>
Tue, 4 Oct 2005 22:17:52 +0000 (23:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 4 Oct 2005 22:17:52 +0000 (23:17 +0100)
commit0a5b0aa8a331f4346b4b02bc653107304a6abdc5
tree10476f4758b174a86a133493da992d6fb7adc636
parentd78795b6930956fb66238d4d26242482d4a31470
[ARM] 2950/1: i.MX gpio setup function

Patch from Sascha Hauer

Current implementation of imx_gpio_mode does not allow to
configure all alternate routing possibilities of the i.MX. With
this patch every bit in the gpio setup registers has a
corresponding bit in the gpio_mode parameter, so every routing
should be possible now.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-imx/generic.c
arch/arm/mach-imx/mx1ads.c
include/asm-arm/arch-imx/imx-regs.h