summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Connell <w14185@motorola.com>2010-11-18 11:12:37 -0600
committerBenoit Goby <benoit@android.com>2010-11-18 15:37:25 -0800
commit5915336cb101f02a524c7d3fa1aac656b71bee31 (patch)
treee0571f48f0f46043c2d7261a89e8260102557809
parentc706cd5d9c46cae486c432ab01c76f99e3ff3c13 (diff)
ARM: tegra: usb_phy: Disable HS disconnect detect for USB2 port
Signed-off-by: Nathan Connell <w14185@motorola.com> Change-Id: Ia0c24128af0f1def38d0902b15a274582c302ce2
-rw-r--r--arch/arm/mach-tegra/usb_phy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/usb_phy.c b/arch/arm/mach-tegra/usb_phy.c
index ce9d4275ef77..dffabc3ec063 100644
--- a/arch/arm/mach-tegra/usb_phy.c
+++ b/arch/arm/mach-tegra/usb_phy.c
@@ -114,6 +114,7 @@
#define UTMIP_TX_CFG0 0x820
#define UTMIP_FS_PREABMLE_J (1 << 19)
+#define UTMIP_HS_DISCON_DISABLE (1 << 8)
#define UTMIP_MISC_CFG0 0x824
#define UTMIP_SUSPEND_EXIT_ON_EDGE (1 << 22)
@@ -346,6 +347,8 @@ static void utmi_phy_power_on(struct tegra_usb_phy *phy)
val = readl(base + UTMIP_TX_CFG0);
val &= ~UTMIP_FS_PREABMLE_J;
+ if (phy->instance == 2)
+ val |= UTMIP_HS_DISCON_DISABLE;
writel(val, base + UTMIP_TX_CFG0);
val = readl(base + UTMIP_HSRX_CFG0);