Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 421e8450 authored by Oleg Matcovschi's avatar Oleg Matcovschi Committed by Tony Lindgren
Browse files

OMAP2+: mux: Fixed gpio mux mode analysis



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: default avatarOleg Matcovschi <oleg.matcovschi@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent ca2e16fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment