These patches provides support of LPM capability to the dwc3 xhci hosts. Patches have been tested on STih407 by Aymen Bouattay. 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 (4): xhci: A default implementation for Ux timeout calculation and tier policy check xhci: Platform: Add (en/dis)able_usb3_lpm_timeout dwc3: host: Set xhci lpm support quirk usb: allow lpm (en/dis)able only if device is atleast in default state drivers/usb/core/hub.c | 6 ++-- drivers/usb/dwc3/host.c | 1 + drivers/usb/host/xhci-plat.c | 3 ++ drivers/usb/host/xhci.c | 66 ++++++++++++++++++++++++++++++++------------ 4 files changed, 56 insertions(+), 20 deletions(-) Cc: Aymen Bouattay <aymen.bouattay@xxxxxx> -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html