u-boot/drivers
Stephen Warren 9b20fe6f1a usb: tegra: fix PHY selection code
The TRM for Tegra30 and later all state that USBMODE_CM_HC must be set
before writing to hostpc1_devlc to select which PHY to use for a USB
controller. However, neither init_{utmi,ulpi}_usb_controller() do this
today, so the register writes they perform for PHY selection do not
work.

For the UTMI case, this was hacked around in commit 7e44d9320e "ARM:
Tegra: USB: EHCI: Add support for Tegra30/Tegra114" by adding code to
ehci_hcd_init() which sets USBMODE_CM_HC and duplicates the PHY
selection register write. This code doesn't cover the ULPI case, so I
wouldn't be surprised if ULPI doesn't work with the current code, unless
the ordering requirement only ends up being an issue in HW for UTMI not
ULPI.

This patch fixes init_{utmi,ulpi}_usb_controller() to correctly set
USBMODE_CM_HC before selecting the PHY. Now that this works, we can
remove the duplicate UTMI-specific code in ehci_hcd_init(), thus
simplifying that function.

Cc: Jim Lin <jilin@nvidia.com>
Cc: Stefan Agner <stefan@agner.ch>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
2014-05-15 00:21:17 +02:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block ahci: Fix data abort on multiple scsi resets. 2014-04-02 15:44:40 -04:00
bootcount i2c, bootcount: add support for bootcounter on i2c devices 2014-02-20 06:46:56 +01:00
core dm: Add base driver model support 2014-03-04 12:15:29 -05:00
crypto drivers: crypto: ace_sha: add implementation of hardware based lib rand 2014-03-28 15:06:31 -04:00
ddr/fsl mpc85xx/t104x: Add deep sleep framework support 2014-04-22 17:58:49 -07:00
demo dm: Add a demonstration/example driver 2014-03-04 12:15:29 -05:00
dfu dfu, nand: add medium specific polltimeout function 2014-05-08 10:38:30 +02:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga fpga: zynq: Use helper function zynq_validate_bitstream 2014-05-13 09:14:05 +02:00
gpio sandbox: Convert GPIOs to use driver model 2014-03-04 12:15:30 -05:00
hwmon kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
i2c mvtwsi: Remove unnecessary twsi_baud_rate and twsi_slave_address globals 2014-05-14 12:59:12 +02:00
input cros_ec: Support systems with no EC interrupt 2014-03-17 20:05:46 -06:00
misc driver/fsl_ifc: Add a function to finalize CS0 address binding 2014-04-22 17:58:47 -07:00
mmc powerpc/85xx: Add T4240RDB board support 2014-05-13 08:24:32 -07:00
mtd Merge branch 'u-boot/master' 2014-05-09 11:50:14 +02:00
net powerpc/85xx: add T4080 SoC support 2014-05-13 08:26:54 -07:00
pci Merge branch 'master' of git://git.denx.de/u-boot-arm into master 2014-04-04 11:35:30 +02:00
pcmcia powerpc: remove RPXClassic, RPXlite boards support 2014-04-18 10:42:30 -04:00
power tps6586x: staticize funtions 2014-05-12 15:19:46 -04:00
qe qe: disable qe when qe-ucode fails to be uploaded for "deep sleep" 2014-05-13 08:26:56 -07:00
rtc kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
serial serial: nsl16550: add hw flow control support 2014-05-12 15:19:45 -04:00
sound sound: Move Samsung-specific code into its own file 2014-03-17 20:05:49 -06:00
spi Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' 2014-04-21 21:01:35 +02:00
tpm sandbox: tpm: Fix nvwrite command 2014-01-08 17:26:17 -07:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: tegra: fix PHY selection code 2014-05-15 00:21:17 +02:00
video Merge branch 'master' of git://git.denx.de/u-boot-video 2014-05-13 07:31:00 -04:00
watchdog Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
Makefile drivers/qe: move the entry to drivers/Makefile 2013-11-17 14:11:31 -05:00