]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: gcc-sc8280xp: use phy-mux clock for PCIe
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 28 Jun 2022 08:57:07 +0000 (10:57 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 30 Jun 2022 02:53:23 +0000 (21:53 -0500)
commitb74db5870b1afa3e95243be5437f28c896006954
treece39fd8dcaead34132dd73ad34df1b264ac035c7
parent1bdb8f66cc27a90d326abfb84269818d775d5572
clk: qcom: gcc-sc8280xp: use phy-mux clock for PCIe

Use the new phy-mux clock implementation for the PCIe pipe clock muxes
so that the pipe clock source is set to the QMP PHY PLL when the
downstream pipe clock is enabled and restored to the always-on XO when
it is again disabled.

This is needed to prevent the corresponding GDSC from hanging when
enabling or disabling the PCIe power domain, something which requires a
ticking source.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220628085707.16214-1-johan+linaro@kernel.org
drivers/clk/qcom/gcc-sc8280xp.c