• Tony Lindgren's avatar
    clk: ti: Implement FAPLL set_rate for the synthesizer · cafeb002
    Tony Lindgren authored
    We can pretty much get any rate out of the FAPLL because of the fractional
    divider. Let's first try just adjusting the post divider, and if that is
    not enough, then reprogram both the fractional divider and the post divider.
    
    Let's also add a define for the fixed SYNTH_PHASE_K instead of using 8.
    
    Cc: Brian Hutchinson <b.hutchman@gmail.com>
    Cc: Matthijs van Duin <matthijsvanduin@gmail.com>
    Cc: Tero Kristo <t-kristo@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
    cafeb002
fapll.c 12.7 KB