For some SOC, the controller may be powered off during system suspend. Then, it will not work after system resume without other means. These patches will add such support if the controller suffer power lost. Li Jun (4): usb: chipidea: usbmisc: group usbmisc operations for PM usb: chipidea: usbmisc: add power lost check for imx6sx usb: chipidea: usbmisc: add power lost check for imx7d usb: chipidea: usbmisc: add power lost check for imx7ulp Xu Yang (4): usb: chipidea: core: add controller resume support when controller is powered off usb: chipidea: core: handle suspend/resume for each role usb: chipidea: host: add suspend/resume support for host controller usb: chipidea: udc: add suspend/resume support for device controller drivers/usb/chipidea/ci.h | 4 + drivers/usb/chipidea/ci_hdrc_imx.c | 49 +++------ drivers/usb/chipidea/ci_hdrc_imx.h | 4 +- drivers/usb/chipidea/core.c | 88 ++++++++++++---- drivers/usb/chipidea/host.c | 12 +++ drivers/usb/chipidea/otg.c | 2 +- drivers/usb/chipidea/otg.h | 1 + drivers/usb/chipidea/udc.c | 28 +++++ drivers/usb/chipidea/usbmisc_imx.c | 160 +++++++++++++++++++++++------ 9 files changed, 262 insertions(+), 86 deletions(-) -- 2.34.1