From patchwork Thu Jun 11 14:28:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandeep Maheswaram X-Patchwork-Id: 11600219 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BF140912 for ; Thu, 11 Jun 2020 14:29:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A083E2072F for ; Thu, 11 Jun 2020 14:29:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728346AbgFKO24 (ORCPT ); Thu, 11 Jun 2020 10:28:56 -0400 Received: from alexa-out-blr-02.qualcomm.com ([103.229.18.198]:25936 "EHLO alexa-out-blr-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728321AbgFKO2z (ORCPT ); Thu, 11 Jun 2020 10:28:55 -0400 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by alexa-out-blr-02.qualcomm.com with ESMTP/TLS/AES256-SHA; 11 Jun 2020 19:58:44 +0530 Received: from c-sanm-linux.qualcomm.com ([10.206.25.31]) by ironmsg01-blr.qualcomm.com with ESMTP; 11 Jun 2020 19:58:16 +0530 Received: by c-sanm-linux.qualcomm.com (Postfix, from userid 2343233) id E908B2AC5; Thu, 11 Jun 2020 19:58:14 +0530 (IST) From: Sandeep Maheswaram To: Andy Gross , Bjorn Andersson , Greg Kroah-Hartman , Rob Herring , Mark Rutland , Felipe Balbi , Stephen Boyd , Doug Anderson , Matthias Kaehlcke , Michael Turquette Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manu Gautam , linux-clk@vger.kernel.org, Taniya Das , Sandeep Maheswaram Subject: [PATCH 0/2] usb: dwc3: Host wake up support from system suspend Date: Thu, 11 Jun 2020 19:58:01 +0530 Message-Id: <1591885683-29514-1-git-send-email-sanm@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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(-)