basic_mmio_gpio: support direction registers
authorJamie Iles <jamie@jamieiles.com>
Fri, 20 May 2011 06:40:17 +0000 (00:40 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 20 May 2011 06:40:17 +0000 (00:40 -0600)
Most controllers require the direction of a GPIO to be set by writing to
a direction register.  Add support for either an input direction
register or an output direction register.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/basic_mmio_gpio.c

Simple merge