]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drivers: clk: qcom: ipq5424: fix the freq table of sdcc1_apps clock
authorManikanta Mylavarapu <quic_mmanikan@quicinc.com>
Thu, 6 Mar 2025 11:29:00 +0000 (16:59 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 13 Mar 2025 22:43:35 +0000 (17:43 -0500)
commite9ed0ac3ccba65c17ed0d59c77a340a75abc317b
treea48d07157bbd734e00303b6d50d3f103e2f4ca02
parentcdbbc480f4146cb659af97f4020601fde5fb65a7
drivers: clk: qcom: ipq5424: fix the freq table of sdcc1_apps clock

The divider values in the sdcc1_apps frequency table were incorrectly
updated, assuming the frequency of gpll2_out_main to be 1152MHz.
However, the frequency of the gpll2_out_main clock is actually 576MHz
(gpll2/2).

Due to these incorrect divider values, the sdcc1_apps clock is running
at half of the expected frequency.

Fixing the frequency table of sdcc1_apps allows the sdcc1_apps clock to
run according to the frequency plan.

Fixes: 21b5d5a4a311 ("clk: qcom: add Global Clock controller (GCC) driver for IPQ5424 SoC")
Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Reviewed-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250306112900.3319330-1-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-ipq5424.c