diff options
author | Kevin Hilman <khilman@ti.com> | 2011-04-20 16:31:23 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-06-16 11:13:42 -0700 |
commit | fa87931acb8203a1f40a3c637863ad238f70cd40 (patch) | |
tree | fd79e56fb9819bbb1096c9d3904f0ba04bec832a /scripts | |
parent | a8be8dafd00e3ccf4f85e2f30babf42be5076324 (diff) | |
download | blackbird-op-linux-fa87931acb8203a1f40a3c637863ad238f70cd40.tar.gz blackbird-op-linux-fa87931acb8203a1f40a3c637863ad238f70cd40.zip |
gpio/omap: consolidate direction, input, output, remove #ifdefs
Add register offset fields to GPIO platform_data for registers.
This patch adds registers that control direction, input and output
data. Using these register offsets in the common driver allows
removal of #ifdefs and greatly improves readability.
Also create dedicated data out functions: one for banks with dedicated
set/clear registers, and another for banks with a single mask
register.
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions