• Peter 'p2' De Schrijver's avatar
    OMAP3: PM: Erratum i581 support: dll kick strategy · 9d93b8a2
    Peter 'p2' De Schrijver authored
    Erratum i581 impacts OMAP3 platforms.
    PRCM DPLL control FSM removes SDRC_IDLEREQ before DPLL3 locks causing
    the DPLL not to be locked at times.
    
    IMPORTANT:
    *) This is not a complete workaround implementation as recommended
    by the silicon erratum. This is a support logic for detecting lockups and
    attempting to recover where possible and is known to provide stability
    in multiple platforms.
    *) This code is mostly important for inactive and retention. The ROM code
    waits for the maximum DLL lock time when resuming from off mode. So for
    off mode this code isn't really needed.
    *) counters are introduced here for eventual export to userspace once the
    cleanups are completed.
    
    This should eventually get refactored as part of cleanups to sleep34xx.S
    
    Cc: Kevin Hilman <khilman@deeprootsystems.com>
    Cc: Tony Lindgren <tony@atomide.com>
    Signed-off-by: default avatarPeter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
    Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
    9d93b8a2
sleep34xx.S 18.9 KB