These patches provide support of LPM capability to the dwc3 xhci hosts.
Patches have been tested on STih407.
Changes since V2:
-- checkpatch warning removed.
-- xhci pdata initialized with zero using memset.
Changes since V1:
-- patches have been rebased on next branch of balbi/usb.git.
-- Minor comment of Mathias for V1 have been incorporated.
-- New rebased patches have been tested with hardware.
Changes since RFC:
-- All dwc3 platform are enabled for USB3 lpm.
-- Ux timeout calculation and tier policy check as per Mathias's comment
-- A new patch added for allowing lpm (en/dis)able only if device is
atleast in default state
Pratyush Anand (5):
xhci: A default implementation for Ux timeout calculation and tier
policy check
xhci: Platform: Add (en/dis)able_usb3_lpm_timeout
xhci: Platform: Set xhci lpm support quirk based on platform data
dwc3: host: Enable USB3 LPM capability
usb: allow lpm (en/dis)able only if device is atleast in default state
Documentation/devicetree/bindings/usb/usb-xhci.txt | 2 +
drivers/usb/core/hub.c | 6 +-
drivers/usb/dwc3/host.c | 12 ++++
drivers/usb/host/xhci-plat.c | 9 +++
drivers/usb/host/xhci.c | 66 ++++++++++++++++------
include/linux/usb/xhci_pdriver.h | 27 +++++++++
6 files changed, 102 insertions(+), 20 deletions(-)
create mode 100644 include/linux/usb/xhci_pdriver.h
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html