]> git.hungrycats.org Git - linux/commitdiff
clk: qcom: gcc-sc8180x: Fix the sdcc2 and sdcc4 clocks freq table
authorSatya Priya Kakitapalli <quic_skakitap@quicinc.com>
Mon, 12 Aug 2024 05:13:04 +0000 (10:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:01:01 +0000 (12:01 +0200)
commit b8acaf2de8081371761ab4cf1e7a8ee4e7acc139 upstream.

Update the frequency tables of gcc_sdcc2_apps_clk and gcc_sdcc4_apps_clk
as per the latest frequency plan.

Fixes: 4433594bbe5d ("clk: qcom: gcc: Add global clock controller driver for SC8180x")
Cc: stable@vger.kernel.org
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
Link: https://lore.kernel.org/r/20240812-gcc-sc8180x-fixes-v2-4-8b3eaa5fb856@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/qcom/gcc-sc8180x.c

index e7523908f56da6b1970e7ef4423b05affa8a5c90..71ab56adab7cc7398dd49987e1a5b4d47a444a2e 100644 (file)
@@ -911,7 +911,7 @@ static const struct freq_tbl ftbl_gcc_sdcc2_apps_clk_src[] = {
        F(25000000, P_GPLL0_OUT_MAIN, 12, 1, 2),
        F(50000000, P_GPLL0_OUT_MAIN, 12, 0, 0),
        F(100000000, P_GPLL0_OUT_MAIN, 6, 0, 0),
-       F(200000000, P_GPLL0_OUT_MAIN, 3, 0, 0),
+       F(202000000, P_GPLL9_OUT_MAIN, 4, 0, 0),
        { }
 };
 
@@ -934,9 +934,8 @@ static const struct freq_tbl ftbl_gcc_sdcc4_apps_clk_src[] = {
        F(400000, P_BI_TCXO, 12, 1, 4),
        F(9600000, P_BI_TCXO, 2, 0, 0),
        F(19200000, P_BI_TCXO, 1, 0, 0),
-       F(37500000, P_GPLL0_OUT_MAIN, 16, 0, 0),
        F(50000000, P_GPLL0_OUT_MAIN, 12, 0, 0),
-       F(75000000, P_GPLL0_OUT_MAIN, 8, 0, 0),
+       F(100000000, P_GPLL0_OUT_MAIN, 6, 0, 0),
        { }
 };