]> git.sur5r.net Git - u-boot/commit
usb: tegra: fix PHY configuration
authorStefan Agner <stefan@agner.ch>
Sun, 2 Mar 2014 18:46:49 +0000 (19:46 +0100)
committerTom Warren <twarren@nvidia.com>
Thu, 17 Apr 2014 15:41:06 +0000 (08:41 -0700)
commitb1d615f3f10294c016cc424ef05e938f49af8117
tree09ebc45c451b358b127a37cc02a29469cdb07711
parentb03f4b3742a728c13a89f3fbf8a9a2ec43061025
usb: tegra: fix PHY configuration

On Tegra30 and later, the PTS (parallel transceiver select) and STS
(serial transceiver select) are part of the HOSTPC1_DEVLC_0 register
rather than PORTSC1_0 register. Since the reset configuration
usually matches the intended configuration, this error did not show
up on Tegra30 devices.

Also use the slightly different bit fields of first USB, (USBD) on
Tegra20 and move those definitions to the Tegra20 specific header
file.

Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/usb.h
arch/arm/include/asm/arch-tegra20/usb.h
drivers/usb/host/ehci-tegra.c