From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manu Gautam Subject: [PATCH v1 0/6] phy: qualcomm: Add suspend/resume support for USB PHYs Date: Fri, 21 Jul 2017 16:31:55 +0530 Message-ID: <1500634921-25914-1-git-send-email-mgautam@codeaurora.org> Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:57960 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751670AbdGULCU (ORCPT ); Fri, 21 Jul 2017 07:02:20 -0400 Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Kishon Vijay Abraham I , Felipe Balbi Cc: linux-arm-msm@vger.kernel.org, Manu Gautam These patches add support for runtime PM in Qualcomm QUSB2 and QMP USB PHY drivers. It also requires notifying usb3 PHY of USB mode (device/host) so that driver can decide whther to power down PHY or not. This can later be extended to add support in PHY drivers to enable wakeup events detection on dp/dm or SS lines (for LFPS or rx-terminations) only for bus suspend case. Also addresses a requirement where USB PHYs must be powered before initialization. Manu Gautam (5): phy: qcom-qmp: Power-on PHY before initialization phy: qcom-qusb2: Power-on PHY before initialization phy: qcom-qusb2: Add support for runtime PM phy: qcom-qmp: Add support for runtime PM usb: dwc3: core: Notify USB3 PHY as well for DRD modes Vivek Gautam (1): phy: qcom-qmp: Fix phy pipe clock gating drivers/phy/qualcomm/phy-qcom-qmp.c | 196 +++++++++++++++++++++++++++------- drivers/phy/qualcomm/phy-qcom-qusb2.c | 141 +++++++++++++++++++++--- drivers/usb/dwc3/core.c | 17 ++- 3 files changed, 295 insertions(+), 59 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project