From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932392AbcGOJO3 (ORCPT ); Fri, 15 Jul 2016 05:14:29 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:32863 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932312AbcGOJO0 (ORCPT ); Fri, 15 Jul 2016 05:14:26 -0400 From: Baolin Wang To: balbi@kernel.org, gregkh@linuxfoundation.org Cc: mathias.nyman@intel.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, broonie@kernel.org, baolin.wang@linaro.org Subject: [PATCH 0/4] Support dwc3 host suspend/resume Date: Fri, 15 Jul 2016 17:13:24 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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