diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2013-04-02 18:23:42 +0200 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2013-07-23 23:19:19 +0200 |
commit | 063ebeb4335312d05bdf6fb4fc0e41500c6c0afb (patch) | |
tree | 7edf6596fa0044ddf1c228f6bc8db51c0579ce35 /drivers/usb/host/pci-quirks.h | |
parent | xhci: Refactor port status into a new function. (diff) | |
download | linux-063ebeb4335312d05bdf6fb4fc0e41500c6c0afb.tar.xz linux-063ebeb4335312d05bdf6fb4fc0e41500c6c0afb.zip |
xhci: Report USB 2.1 link status for L1
USB 2.1 devices can go into a lower power link state, L1. When they are
active, they are in the L0 state. The L1 transition can be purely
driven by software, or some USB host controllers (including some xHCI
1.0 hosts) allow the host hardware to track idleness and automatically
place a port into L1.
The USB 2.1 Link Power Management ECN gives a way for USB 2.1 hubs that
support LPM to report that a port is in L1. The port status bit 5 will
be set when the port is in L1. The xHCI host reports the root port as
being in 'U2' when the devices is in L1, and as being in 'U0' when the
port is active (in L0).
Translate the xHCI USB 2.1 link status into the format external hubs
use, and pass the L1 status up to the USB core and tools like lsusb.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/pci-quirks.h')
0 files changed, 0 insertions, 0 deletions