PCIE: tegra: run PCIE at GEN1 speed
Bibek Basu [Thu, 20 Mar 2014 10:55:26 +0000 (15:55 +0530)]
To preserve power, run PCIE @ GEN1 speed.
This will introduce cap on pciex clock to 250Mhz

Bug 1483563

Change-Id: Iedc05870647368523070a8033e7cbba1e0bc2b43
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/384368
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Winnie Hsu <whsu@nvidia.com>

drivers/pci/host/pci-tegra.c

index 1fa0038..f4293d7 100644 (file)
@@ -1766,7 +1766,7 @@ static void tegra_pcie_enable_features(void)
        PR_FUNC_LINE;
 
        /* configure all links to gen2 speed by default */
-       if (!tegra_pcie_link_speed(true))
+       if (!tegra_pcie_link_speed(false))
                pr_info("PCIE: No Link speed change happened\n");
 
        tegra_pcie_pll_pdn();