clk: qcom: cpu-8996: setup PLLs before registering clocks
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 13 Jan 2023 12:05:38 +0000 (14:05 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 19 Jan 2023 04:50:00 +0000 (22:50 -0600)
commit61dc1a73684b9ff5c44f22d9cbc994a2e5db6d6f
treed6d6e668fc9e3b79bc8d8be0bccfb49fb82a6ba7
parentb3b274bc9d3d7307308aeaf75f70731765ac999a
clk: qcom: cpu-8996: setup PLLs before registering clocks

Setup all PLLs before registering clocks in the common clock framework.
This ensures that the clocks are not accessed before being setup in the
known way and that the CCF is in sync with the actual HW programming.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113120544.59320-9-dmitry.baryshkov@linaro.org
drivers/clk/qcom/clk-cpu-8996.c