• Paul Walmsley's avatar
    [ARM] OMAP2 PRCM: clean up CM_IDLEST bits · da0747d4
    Paul Walmsley authored
    This patch fixes a few OMAP2xxx CM_IDLEST bits that were incorrectly
    marked as being OMAP2xxx-wide, when they were actually 2420-specific.
    
    Also, originally when the PRCM register macros were defined, bit shift
    macros used a "_SHIFT" suffix, and mask macros used none.  This became
    a source of bugs and confusion, as the mask macros were mistakenly
    used for shift values.  Gradually, the mask macros have been updated,
    piece by piece, to add a "_MASK" suffix on the end to clarify.  This
    patch applies this change to the CM_IDLEST_* register bits.
    
    The patch also adds a few bits that were missing, mostly from the 3430ES1
    to ES2 revisions.
    
    linux-omap source commits are d18eff5b5fa15e170794397a6a94486d1f774f77,
    e1f1a5cc24615fb790cc763c96d1c5cfe6296f5b, and part of
    9fe6b6cf8d9e0cbb429fd64553a4b3160a9e99e1
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    da0747d4
cm-regbits-34xx.h 25.4 KB