Disable enable-power-down on tx2 nx

Hi,

We like to set PCIe of TX2 NX always in power on state for doing PCIe testing.
Is there a way to disable "enable-power-down "on Tx2 nx?

Thank you,

Hi,

You need to modify the kernel directly.


diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c
index 63c0e343d388..52c46b68981e 100644
--- a/drivers/pci/host/pci-tegra.c
+++ b/drivers/pci/host/pci-tegra.c
@@ -2194,7 +2194,7 @@ static bool tegra_pcie_port_check_link(struct tegra_pcie_port *port)
                tegra_pcie_port_reset(port);
        } while (--retries);
  
-       return false;
+       return true;
 }
  
 static void tegra_pcie_apply_sw_war(struct tegra_pcie_port *port,

Hi WayneWWW,

Thank you for your prompt support.
We’ll test it.

Thanks,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.