Thread (9 messages) 9 messages, 2 authors, 2021-09-28

Re: [PATCH v8 4/4] PCI: qcom: Switch pcie_1_pipe_clk_src after PHY init in SC7280

From: Stephen Boyd <hidden>
Date: 2021-09-21 01:41:31
Also in: linux-arm-msm, linux-usb, lkml

Quoting Prasad Malisetty (2021-09-17 10:15:47)
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.

Signed-off-by: Prasad Malisetty <redacted>
---
One nit below

Reviewed-by: Stephen Boyd <redacted>
quoted hunk ↗ jump to hunk
@@ -1488,7 +1553,9 @@ static int qcom_pcie_probe(struct platform_device *pdev)

        pcie->pci = pci;

-       pcie->ops = of_device_get_match_data(dev);
+       pcie_cfg = of_device_get_match_data(dev);
+       pcie->ops = pcie_cfg->ops;
Maybe worth failing probe with if (!pcie->ops) just to be a little
nicer here.
+       pcie->pipe_clk_need_muxing = pcie_cfg->pipe_clk_need_muxing;

        pcie->reset = devm_gpiod_get_optional(dev, "perst", GPIOD_OUT_HIGH);
        if (IS_ERR(pcie->reset)) {
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help