• Chen-Yu Tsai's avatar
    clk: sunxi-ng: mult: Support PLL lock detection · cf719012
    Chen-Yu Tsai authored
    Some PLL clocks are N (multiplier) type clocks, or can be simplified
    as such. An example of the former is the DDR1 PLL clock on the A33.
    An example of the latter is the CPU PLL clock on the A80, in which
    the P divider is only used for low frequencies that are of little
    use. Both clocks support PLL lock detection.
    
    The mult clock macro implies support for this, but that is not true.
    The field is simply discarded. This patch adds proper support for it.
    Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
    Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
    cf719012
ccu_mult.h 1.56 KB