]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: msm8996-cpu: Use parent_data/_hws for all clocks
authorYassine Oudjana <y.oudjana@protonmail.com>
Thu, 14 Jul 2022 10:03:46 +0000 (13:03 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 26 Sep 2022 16:12:44 +0000 (11:12 -0500)
commite98127e729b58309c2a79ac166730111ecfc990e
tree89077fc0ea2c61432dfde2961cc6b64e534c8bdf
parent888d45f621f8d765c2bc820b235cc2db8ffb1a44
clk: qcom: msm8996-cpu: Use parent_data/_hws for all clocks

Replace parent_names in PLLs, secondary muxes and primary muxes with
parent_data. For primary muxes there were never any *cl_pll_acd clocks,
so instead of adding them, put the primary PLLs in both PLL_INDEX and
ACD_INDEX, then make sure ACD_INDEX is always picked over PLL_INDEX when
setting parent since we always want ACD when using the primary PLLs.

Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
[DB: switch to parent_hws for pmux clocks]
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220714100351.1834711-2-dmitry.baryshkov@linaro.org
drivers/clk/qcom/clk-cpu-8996.c