Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: apss-ipq-pll: Fix 'l' value for ipq5332_pll_config

The earlier 'l' value of 0x3e is for 1.5GHz. Not all SKUs support
this frequency. Hence set it to 0x2d to get 1.1GHz which is
supported in all SKUs.

The frequency can still increase above this initial configuration
made here when the cpufreq driver picks a different OPP.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Fixes: c7ef7fbb1ccf ("clk: qcom: apss-ipq-pll: add support for IPQ5332")
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Link: https://lore.kernel.org/r/00e6be6cb9cee56628123a64ade118d0a752018b.1697781921.git.quic_varada@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Varadarajan Narayanan and committed by
Bjorn Andersson
5b7a4d3d 267e2919

+1 -1
+1 -1
drivers/clk/qcom/apss-ipq-pll.c
··· 74 74 }; 75 75 76 76 static const struct alpha_pll_config ipq5332_pll_config = { 77 - .l = 0x3e, 77 + .l = 0x2d, 78 78 .config_ctl_val = 0x4001075b, 79 79 .config_ctl_hi_val = 0x304, 80 80 .main_output_mask = BIT(0),