clk: qcom: mmcc-msm8998: Properly consume GPLL0 inputs
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 3 Jul 2023 18:20:08 +0000 (20:20 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 14 Aug 2023 02:51:03 +0000 (19:51 -0700)
commit932d8c56884ad847844c7e25ec73f712893a2b57
treea3cec910f330e288fef35a5bb49853b4fde70809
parent9c76c5cf4b3177a22978893c2312d73bcc911739
clk: qcom: mmcc-msm8998: Properly consume GPLL0 inputs

Up until now, the GPLL0_DIV MMSS input has been modeled as a fixed
child of MMSS_GPLL0_DIV that's always-on. Properly representing the
former in the GCC driver makes us unable to keep doing so.

Consume MSS_GPLL0_DIV through fw_name ("gpll0_div") as well as add a
fixed .name link to keep backwards compatibility.

Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Tested-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230622-topic-8998clk-v2-4-6222fbc2916b@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/mmcc-msm8998.c