[PATCH] pci: tegra: actually program REFCLK_CFG* on recent SoCs
From: sjg@chromium.org (Simon Glass)
Date: 2016-06-26 02:54:02
Also in:
linux-tegra
From: sjg@chromium.org (Simon Glass)
Date: 2016-06-26 02:54:02
Also in:
linux-tegra
On 24 June 2016 at 08:37, Stephen Warren [off-list ref] wrote:
From: Stephen Warren <redacted> On recent SoCs, tegra_pcie_phy_enable() isn't called; but instead tegra_pcie_enable_controller() calls tegra_xusb_phy_enable(). However, part of tegra_pcie_phy_enable() needs to happen in all cases. Move that code to tegra_pcie_port_enable() instead. For reference, NVIDIA's downstream Linux kernel performs this operation in tegra_pcie_enable_rp_features(), which is called immediately after tegra_pcie_port_enable(). Since that function doesn't exist in the mainline driver, we'll just add it to the tail of tegra_pcie_port_enable() instead. Signed-off-by: Stephen Warren <redacted> --- drivers/pci/host/pci-tegra.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass <sjg@chromium.org>