clk: qcom: gcc-msm8917: Enable GPLL0_SLEEP_CLK_SRC
authorOtto Pflüger <otto.pflueger@abscue.de>
Wed, 2 Aug 2023 17:03:18 +0000 (19:03 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 14 Aug 2023 03:20:11 +0000 (20:20 -0700)
commitd863492886930a1a6f7c0d9dda8f728077b540f0
treea9946d8f7cc217983e20aabaa0441f9178470fd7
parent593576a369ec885275a1a368a6838844b78b4f35
clk: qcom: gcc-msm8917: Enable GPLL0_SLEEP_CLK_SRC

This is the parent clock of gpll0_early, so it needs to be enabled
for gpll0_early to return the correct rate. Enable GPLL0_SLEEP_CLK_SRC
by adding its existing definition to the clock list.

This clock also doesn't work with clk_alpha_pll_ops, use
clk_branch_simple_ops instead to make it enable and disable correctly.

Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de>
Link: https://lore.kernel.org/r/20230802170317.205112-3-otto.pflueger@abscue.de
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-msm8917.c