clk: qcom: ipq5332: fix the src parameter in ftbl_gcc_apss_axi_clk_src
authorKathiravan T <quic_kathirav@quicinc.com>
Mon, 17 Apr 2023 04:43:42 +0000 (10:13 +0530)
committerBjorn Andersson <andersson@kernel.org>
Fri, 26 May 2023 20:29:23 +0000 (13:29 -0700)
480MHz is derived from P_GPLL4_OUT_AUX not from P_GPLL4_OUT_MAIN. Update
the freq_tbl with the correct src.

Fixes: 3d89d52970fd ("clk: qcom: add Global Clock controller (GCC) driver for IPQ5332 SoC")
Reported-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230417044342.9406-1-quic_kathirav@quicinc.com
drivers/clk/qcom/gcc-ipq5332.c

index 1ad23aa..b9ab676 100644 (file)
@@ -366,7 +366,7 @@ static struct clk_rcg2 gcc_adss_pwm_clk_src = {
 };
 
 static const struct freq_tbl ftbl_gcc_apss_axi_clk_src[] = {
-       F(480000000, P_GPLL4_OUT_MAIN, 2.5, 0, 0),
+       F(480000000, P_GPLL4_OUT_AUX, 2.5, 0, 0),
        F(533333333, P_GPLL0_OUT_MAIN, 1.5, 0, 0),
        { }
 };