For mobile devices, they usually require very strict power management.
Such as dwc3 controller, we should enter suspend mode when no cable plug in,
then we can power off the dwc3 controller for saving power.

Now dwc3 gadget can support suspend/resume well, but we also want to suspend/
resume the host when slave device is detached or attached.

Baolin Wang (4):
  usb: host: xhci: Move the xhci quirks checking to the right place
  usb: host: xhci: Introduce one new 'usb3_slow_suspend' member for
    xhci private data
  usb: dwc3: core: Move the mode setting to the right place
  usb: dwc3: core: Support the dwc3 host suspend/resume

 drivers/usb/dwc3/Kconfig         |    7 +++++++
 drivers/usb/dwc3/core.c          |   43 ++++++++++++++++++++++++++++++++++----
 drivers/usb/dwc3/core.h          |   15 +++++++++++++
 drivers/usb/dwc3/host.c          |   32 ++++++++++++++++++++++++++++
 drivers/usb/host/xhci-plat.c     |   11 ++++++----
 include/linux/usb/xhci_pdriver.h |    3 +++
 6 files changed, 103 insertions(+), 8 deletions(-)

-- 
1.7.9.5

Reply via email to