tegra: usb: Fix device enumeration problem of USB1
authorJim Lin <jilin@nvidia.com>
Sun, 24 Jun 2012 20:40:57 +0000 (20:40 +0000)
committerAlbert ARIBAUD (U-Boot) <uboot@lilith.(none)>
Mon, 9 Jul 2012 20:44:34 +0000 (22:44 +0200)
commit8b3f7bf7ec95816a7d2f89331e8877a351b3ec7c
tree0654a0768aa8d8dbb8afa70fd3ab96fcea313b4d
parent2db7b952844f95c8299bb84bc3b2d38e8f48f5cd
tegra: usb: Fix device enumeration problem of USB1

A known hardware issue of USB1 port where bit 1 (connect status
change) of PORTSC register will be set after issuing Port Reset
(like "usb reset" in u-boot command line).
This will be treated as an error and stops later device enumeration.

Therefore we clear that bit after Port Reset in order to proceed
later device enumeration.

Signed-off-by: Jim Lin <jilin@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra2/tegra2.h
drivers/usb/host/ehci-tegra.c