• O
    OMAP2+: mux: Fixed gpio mux mode analysis · 421e8450
    Oleg Matcovschi 提交于
    OMAP_MODE_GPIO() macro verified only OMAP_MUX_MODE4.
    It is not correct for following platforms:
        2430 - gpio mux mode 3
        44xx - gpio mux mode 3
        54xx - gpio mux mode 6
    
    Patch reserves first 3 bits in partition flags for storing gpio mux
    mode in same format as stored in control pad register.
    Modified OMAP_MODE_GPIO() macro to handle all possible cases of gpio mux mode.
    Modified omap_mux_init() flags of omap34xx to include OMAP_MUX_GPIO_IN_MODE4.
    Signed-off-by: NOleg Matcovschi <oleg.matcovschi@ti.com>
    Signed-off-by: NTony Lindgren <tony@atomide.com>
    421e8450
mux.h 9.9 KB