ARM: tegra: phy: Reduce HS slew
Rohith Seelaboyina [Tue, 20 Nov 2012 05:45:49 +0000 (10:45 +0530)]
To pass high speed eye diagram on a worst case
slew rate environment, we need to change the HS slew.

Bug 1173698

Change-Id: I11bbe6d54647fa3a33ea7ba2131576e5cc945fd1
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/162683
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

arch/arm/mach-tegra/tegra11x_usb_phy.c

index 7d073e5..3efd0a5 100644 (file)
@@ -1530,7 +1530,7 @@ static int utmi_phy_power_on(struct tegra_usb_phy *phy)
        val |= UTMIP_XCVR_LSFSLEW(config->xcvr_lsfslew);
        val |= UTMIP_XCVR_LSRSLEW(config->xcvr_lsrslew);
        if (!config->xcvr_use_lsb)
-               val |= UTMIP_XCVR_HSSLEW_MSB(0x8);
+               val |= UTMIP_XCVR_HSSLEW_MSB(0x3);
        writel(val, base + UTMIP_XCVR_CFG0);
 
        val = readl(base + UTMIP_XCVR_CFG1);