]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: qcom: clk-alpha-pll: Update the PLL support for cal_l
authorTaniya Das <taniya.das@oss.qualcomm.com>
Wed, 7 Jan 2026 09:43:04 +0000 (15:13 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 7 Jan 2026 15:52:57 +0000 (09:52 -0600)
commit0f85ef379064b50ad573c6af4c0ffd39673f6968
tree02505d8fddfe4b7cff1286d69a261e3a2071babb
parent86f5c81f24610943844613c865318cc2fc0e5776
clk: qcom: clk-alpha-pll: Update the PLL support for cal_l

Recent QCOM PLLs require the CAL_L field to be programmed according to
specific hardware recommendations, rather than using the legacy default
value of 0x44. Hardcoding this value can lead to suboptimal or incorrect
behavior on newer platforms.

To address this, introduce a `cal_l` field in the PLL configuration
structure, allowing CAL_L to be set explicitly based on platform
requirements. This improves flexibility and ensures correct PLL
initialization across different hardware variants.

Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Taniya Das <taniya.das@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260107-kaanapali-mmcc-v3-v3-1-8e10adc236a8@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c
drivers/clk/qcom/clk-alpha-pll.h