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)
commitda5daae8b412c922e08f86979e84ea80b60092a1
tree89077fc0ea2c61432dfde2961cc6b64e534c8bdf
parentb4feed4a3d0a6b8cef4a574a9df707c556928ec2
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