From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423444AbdD1Iqk (ORCPT ); Fri, 28 Apr 2017 04:46:40 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:56878 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423355AbdD1Iq1 (ORCPT ); Fri, 28 Apr 2017 04:46:27 -0400 Date: Fri, 28 Apr 2017 12:46:09 +0400 Message-ID: From: Sevak Arakelyan Subject: [PATCH 0/9] usb: dwc2: gadget: Add LPM functionality To: John Youn , Felipe Balbi , "Greg Kroah-Hartman" , , CC: Sevak Arakelyan MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.13.184.19] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds LPM functionality for gadget side. In USB 2 for LPM support 2.01 version and additional BOS descriptors needed to be sent to indicate LPM support so usb: gadget: composite: was patched to support that. Tested on HAPS platform with DWC_hsotg IP version 3.30a from device side and from host side HAPS platform with DWC USB3 IP version 3.20a. John Youn (3): [HSLPM] usb: gadget: composite: Exclude SS Dev Cap Desc [HSLPM] usb: gadget: Allow a non-SuperSpeed gadget to support LPM [HSLPM] usb: dwc2: Enable LPM Sevak Arakelyan (6): usb: dwc2: Fix GLPMCFG... definitions usb: dwc2: Add core parameters for LPM support usb: dwc2: gadget: Add functionality to exit from LPM L1 state usb: dwc2: gadget: LPM interrupt handler usb: dwc2: Enable LPM Transaction Received interrupt. usb: dwc2: gadget: Configure the core to enable LPM. drivers/usb/dwc2/core.h | 22 ++++++++ drivers/usb/dwc2/core_intr.c | 113 ++++++++++++++++++++++++++++++++++++++++- drivers/usb/dwc2/debugfs.c | 5 ++ drivers/usb/dwc2/gadget.c | 28 +++++++++- drivers/usb/dwc2/hcd.c | 3 ++ drivers/usb/dwc2/hw.h | 38 +++++++------- drivers/usb/dwc2/params.c | 13 +++++ drivers/usb/gadget/composite.c | 59 ++++++++++++--------- include/linux/usb/gadget.h | 3 ++ 9 files changed, 239 insertions(+), 45 deletions(-) -- 2.11.0