Avoiding phy powerdown in host mode so that it can be wake up by devices. Set usb controller wakeup capable when wakeup capable devices are connected to the host. Added GENPD_FLAG_ACTIVE_WAKEUP flag to keep usb30_prim gdsc active when wakeup capable devices are connected to the host. Sandeep Maheswaram (1): usb: dwc3: Host wake up support from system suspend Taniya Das (1): clk: qcom: gcc: Add genpd active wakeup flag for sc7180 drivers/clk/qcom/gcc-sc7180.c | 1 + drivers/usb/dwc3/core.c | 47 +++++++++++++++++++++++++----- drivers/usb/dwc3/core.h | 1 + drivers/usb/dwc3/dwc3-qcom.c | 66 ++++++++++++++++++++++++++++++++----------- 4 files changed, 92 insertions(+), 23 deletions(-) -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation