clk: qcom: gcc-msm8939: Add missing USB HS system clock frequencies
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>
Tue, 12 Jul 2022 12:59:22 +0000 (13:59 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Jul 2022 23:55:31 +0000 (18:55 -0500)
The shipped qcom driver defines:
static struct clk_freq_tbl ftbl_gcc_usb_hs_system_clk[] = {
        F(  57140000,      gpll0_out_main,  14,    0,    0),
        F(  80000000,      gpll0_out_main,  10,   0,    0),
        F( 100000000,      gpll0_out_main,   8,   0,    0),
        F_END
};
In the upstream code we omit 57.14 MHz and 100 MHz.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220712125922.3461675-7-bryan.odonoghue@linaro.org
drivers/clk/qcom/gcc-msm8939.c

index 75a7b20..8e2d9fb 100644 (file)
@@ -1480,7 +1480,9 @@ static struct clk_rcg2 bimc_gpu_clk_src = {
 };
 
 static const struct freq_tbl ftbl_gcc_usb_hs_system_clk[] = {
+       F(57140000, P_GPLL0, 14, 0, 0),
        F(80000000, P_GPLL0, 10, 0, 0),
+       F(100000000, P_GPLL0, 8, 0, 0),
        { }
 };