clk: qcom: apss-ipq-pll: refactor the driver to accommodate different PLL types
authorKathiravan T <quic_kathirav@quicinc.com>
Fri, 17 Feb 2023 08:33:04 +0000 (14:03 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 23 Mar 2023 14:27:01 +0000 (07:27 -0700)
commit1d83f18be5ad3054636322925f6614e62cb5ff91
tree80751ea3d4b86e9b5a90f9faffa5af83a8f271bf
parent22ead09ba40745e50970565af1996c2c1cc4e909
clk: qcom: apss-ipq-pll: refactor the driver to accommodate different PLL types

APSS PLL found on the IPQ8074 and IPQ6018 are of type Huayra PLL. But,
IPQ5332 APSS PLL is of type Stromer Plus. To accommodate both these PLLs,
refactor the driver to take the clk_alpha_pll, alpha_pll_config via driver
data.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Kathiravan T <quic_kathirav@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230217083308.12017-2-quic_kathirav@quicinc.com
drivers/clk/qcom/apss-ipq-pll.c