u-boot-brain/drivers/usb
Julius Werner 5077f96f10 usb: ehci: Fix test mode for connected ports
The EHCI controller has some very specific requirements for the USB 2.0
port test modes, which were not closely followed in the initial test
mode commit. It demands that the host controller is completely shut down
(all ports suspended, Run/Stop bit unset) when activating test mode, and
will not work on an already enumerated port.

This patch fixes that by introducing a new ehci_shutdown() function that
closely follows the procedure listed in EHCI 4.14. Also, when we have
such a function anyway, we might as well also use it in
usb_lowlevel_stop() to make the normal host controller shutdown cleaner.

Signed-off-by: Julius Werner <jwerner@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
2013-09-27 16:20:52 +02:00
..
eth net: smsc95xx: Add support for another SMSC95xx variant 2013-08-19 12:34:18 -05:00
gadget USB: gadget: atmel: disconnect before unbind 2013-09-24 17:51:36 +02:00
host usb: ehci: Fix test mode for connected ports 2013-09-27 16:20:52 +02:00
musb Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
musb-new linux/compat.h: move dev_err, dev_info and dev_dbg from usb driver to compat.h 2013-08-22 16:50:29 +02:00
phy Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ulpi Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00