• Paul Walmsley's avatar
    OMAP3 clock: 34xx clock: add enable/disable for non-CORE DPLLs · 975424a4
    Paul Walmsley authored
    This patch implements enable/disable for non-CORE DPLLs (DPLLs 1, 2,
    4, 5) in the OMAP34xx clock framework.
    
    "Enabling" a DPLL in this context means taking the DPLL from off to
    lock, off to bypass, or bypass to lock.  If the clock's target rate is
    set to the DPLL parent's clock rate, the DPLL will go to bypass.
    Otherwise, the DPLL will attempt to lock.  "Disabling" means going
    from bypass or lock to off.
    
    Jouni Högander contributed a fix for _omap3_noncore_dpll_lock().to
    bypass the DPLL state test when the DPLL is in autoidle mode.
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    975424a4
clock34xx.c 13.1 KB