[ARM] Orion: make gpio /input/output validation separate
authorNicolas Pitre <nico@cam.org>
Mon, 2 Feb 2009 20:27:55 +0000 (15:27 -0500)
committerNicolas Pitre <nico@cam.org>
Fri, 20 Feb 2009 03:26:58 +0000 (22:26 -0500)
commit28d27cf4ce8378180eda32aa7d8e778c9e72a54f
treeb774e297b88a3df9e4bd89dcd7efa42f323c2c77
parent22fc1db12515e1b528570c547fd27e38df792f1f
[ARM] Orion: make gpio /input/output validation separate

Especially on Kirkwood, a couple GPIOs are actually only output capable.
Let's separate the ability to configure a GPIO as input or output to
accommodate this restriction.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/plat-orion/gpio.c
arch/arm/plat-orion/include/plat/gpio.h