• K
    gpio/omap: consolidate direction, input, output, remove #ifdefs · fa87931a
    Kevin Hilman 提交于
    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: NKevin Hilman <khilman@ti.com>
    fa87931a
gpio.h 7.4 KB