PCI: qcom: Switch pcie_1_pipe_clk_src after PHY init in SC7280
authorPrasad Malisetty <pmaliset@codeaurora.org>
Thu, 7 Oct 2021 17:48:43 +0000 (23:18 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 14 Oct 2021 21:54:27 +0000 (16:54 -0500)
commitaa9c0df98c2920f7176b001737546c6595f594a4
tree7babf150fb4564ddaf29f8aa39b4c5732afd72c2
parentb89ff410253d7468f84720d2d5c2bb0bafedf3bd
PCI: qcom: Switch pcie_1_pipe_clk_src after PHY init in SC7280

On the SC7280, the clock source for gcc_pcie_1_pipe_clk_src must be the
TCXO while gdsc is enabled. After PHY init successful clock source should
switch to pipe clock for gcc_pcie_1_pipe_clk_src.

Link: https://lore.kernel.org/r/1633628923-25047-6-git-send-email-pmaliset@codeaurora.org
Signed-off-by: Prasad Malisetty <pmaliset@codeaurora.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
drivers/pci/controller/dwc/pcie-qcom.c