• Paul Walmsley's avatar
    OMAP3 clock: add omap3_core_dpll_m2_set_rate() · 7f8b2b0f
    Paul Walmsley authored
    Add the omap3_core_dpll_m2_set_rate() function to the OMAP3 clock code,
    which calls into the SRAM function omap3_sram_configure_core_dpll() to
    change the CORE DPLL M2 divider.  (SRAM code is necessary since rate changes
    on clocks upstream from the SDRC can glitch SDRAM accesses.)
    
    Use this function for the set_rate function pointer in the dpll3_m2_ck
    struct clk.  With this function in place, PM/OPP code should be able to
    alter SDRAM speed via code similar to:
    
          clk_set_rate(&dpll3_m2_ck, target_rate).
    Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    7f8b2b0f
clock34xx.h 93.3 KB