]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: qcom: clk-alpha-pll: Add support for common PLL configuration function
authorTaniya Das <quic_tdas@quicinc.com>
Fri, 30 May 2025 13:20:49 +0000 (18:50 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 10 Jun 2025 17:59:19 +0000 (12:59 -0500)
commit0f698c16358ef300ed28a608368b89a4f6a8623a
tree19353ab12c4e7974ac3244b4005b617e1aca6924
parent842fa748291553d2f56410034991d0eb36b70900
clk: qcom: clk-alpha-pll: Add support for common PLL configuration function

To properly configure the PLLs on recent chipsets, it often requires more
than one power domain to be kept ON. The support to enable multiple power
domains is being added in qcom_cc_really_probe() and PLLs should be
configured post all the required power domains are enabled.

Hence integrate PLL configuration into clk_alpha_pll structure and add
support for qcom_clk_alpha_pll_configure() function which can be called
from qcom_cc_really_probe() to configure the clock controller PLLs after
all required power domains are enabled.

Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com>
Link: https://lore.kernel.org/r/20250530-videocc-pll-multi-pd-voting-v5-4-02303b3a582d@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c
drivers/clk/qcom/clk-alpha-pll.h