From patchwork Thu Jan 18 01:51:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thinh Nguyen X-Patchwork-Id: 862673 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zMRlT39bNz9t1t for ; Thu, 18 Jan 2018 12:51:49 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753126AbeARBvr (ORCPT ); Wed, 17 Jan 2018 20:51:47 -0500 Received: from smtprelay2.synopsys.com ([198.182.60.111]:46422 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753107AbeARBvr (ORCPT ); Wed, 17 Jan 2018 20:51:47 -0500 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id B8FA410C0D35; Wed, 17 Jan 2018 17:51:45 -0800 (PST) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 9BBE47C4; Wed, 17 Jan 2018 17:51:45 -0800 (PST) Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3-vip.internal.synopsys.com [10.15.84.231]) by mailhost.synopsys.com (Postfix) with ESMTP id BE5027B9; Wed, 17 Jan 2018 17:51:44 -0800 (PST) Received: from US01WEHTC1.internal.synopsys.com (10.12.239.235) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.266.1; Wed, 17 Jan 2018 17:51:44 -0800 Received: from te-lab16 (10.13.184.19) by us01wehtc1.internal.synopsys.com (10.12.239.236) with Microsoft SMTP Server (TLS) id 14.3.266.1; Wed, 17 Jan 2018 17:51:43 -0800 Received: by te-lab16 (sSMTP sendmail emulation); Wed, 17 Jan 2018 17:51:43 -0800 Date: Wed, 17 Jan 2018 17:51:43 -0800 Message-ID: From: Thinh Nguyen Subject: [PATCH v3 00/15] usb: dwc3: Add new updates for DWC_usb31 To: Felipe Balbi , Thinh Nguyen , , , Rob Herring , Laurent Pinchart , Alan Stern , Vamsi Krishna Samavedam , Mark Rutland , Li Jun , "Gustavo A. R. Silva" , "Takashi Iwai" CC: John Youn MIME-Version: 1.0 X-Originating-IP: [10.13.184.19] Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch series adds new updates and some fixes for DWC_usb31. Changes in v3: - Add "usb: dwc3: Check controller type before setting speed" to series Changes in v2: - Add another patch to the series to increase mass_storage max_speed - Separate "usb: dwc3: ep0: Reset TRB counter for ep0 IN" from series - Separate "usb: dwc3: gadget: Set maxpacket size for ep0 IN" from series - Use msleep() instead of mdelay() for SoftReset PHY sync delay - Rename new USB31 macros from DWC3_USB31_* to DWC31_* - Rename device properties and replace '_' with '-' - Minor fixes in the commit messages Thinh Nguyen (15): usb: dwc3: Add SoftReset PHY synchonization delay usb: core: urb: Check SSP isoc ep comp descriptor usb: dwc3: Update DWC_usb31 GTXFIFOSIZ reg fields usb: dwc3: Check IP revision for GTXFIFOSIZ usb: dwc3: Add DWC_usb31 GRXTHRCFG bit fields usb: dwc3: gadget: Check IP revision for GRXTHRCFG usb: dwc3: Add DWC_usb31 GTXTHRCFG reg fields usb: dwc3: Make TX/RX threshold configurable usb: dwc3: Check for ESS TX/RX threshold config usb: dwc3: Dump LSP and BMU debug info usb: dwc3: Track DWC_usb31 VERSIONTYPE usb: dwc3: Add disabling of start_transfer failure quirk usb: dwc3: Add workaround for isoc start transfer failure usb: dwc3: Check controller type before setting speed usb: gadget: mass_storage: Set max_speed to SSP Documentation/devicetree/bindings/usb/dwc3.txt | 7 + drivers/usb/core/urb.c | 8 + drivers/usb/dwc3/core.c | 72 ++++++++- drivers/usb/dwc3/core.h | 53 +++++++ drivers/usb/dwc3/debugfs.c | 5 + drivers/usb/dwc3/gadget.c | 205 ++++++++++++++++++++++++- drivers/usb/gadget/legacy/mass_storage.c | 2 +- 7 files changed, 342 insertions(+), 10 deletions(-)