diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-05-20 00:40:17 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-05-20 00:40:17 -0600 |
commit | 31029116ebc1f2481bd2380437e9f7a18f18dca5 (patch) | |
tree | 09f616736afbc6ffefc88a7662c3bd1871e58f9d /lib/iomap.c | |
parent | dd86a0cc5e35161538c10e35eb85e2ad0adfe14d (diff) |
basic_mmio_gpio: support direction registers
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>
Diffstat (limited to 'lib/iomap.c')
0 files changed, 0 insertions, 0 deletions