]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: Add new command to set USB 2.0 port test modes
authorJulius Werner <jwerner@chromium.org>
Thu, 28 Feb 2013 18:08:40 +0000 (18:08 +0000)
committerMarek Vasut <marex@denx.de>
Sun, 5 May 2013 21:54:21 +0000 (23:54 +0200)
commit7d9aa8fd87171164a6f14167a0c9c066f4312b8d
treebbb334c7825cec5fcf1b69118d9d43775ba61302
parentb068deb363e34a72754877d3d8c7a71a5bc834db
usb: Add new command to set USB 2.0 port test modes

This patch adds a new 'usb test' command, that will set a port to a USB
2.0 test mode (see USB 2.0 spec 7.1.20). It supports all five test modes
on both downstream hub ports and ordinary device's upstream ports. In
addition, it supports EHCI root hub ports.

Signed-off-by: Julius Werner <jwerner@chromium.org>
common/cmd_usb.c
drivers/usb/host/ehci-hcd.c
include/usb_defs.h