Skip to content
Commit fa87931a authored by Kevin Hilman's avatar Kevin Hilman
Browse files

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: default avatarKevin Hilman <khilman@ti.com>
parent a8be8daf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment