• Stephen Boyd's avatar
    clk: qcom: Fix sdc 144kHz frequency entry · d8210e28
    Stephen Boyd authored
    The pre-divider for the sdc clocks only has 2 bits in it, so we
    can't possibly divide by anything larger than 4 here.
    Furthermore, we program the value of ~(n - m) and the n value is
    larger than 8 bits (max of 256). Replace this entry with 200kHz
    which is close enough to 144kHz to be usable.
    
    Cc: Kumar Gala <galak@codeaurora.org>
    Cc: Andy Gross <agross@codeaurora.org>
    Fixes: 24d8fba4 "clk: qcom: Add support for IPQ8064's global clock controller (GCC)"
    Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
    d8210e28
gcc-ipq806x.c 51.6 KB