From patchwork Thu Nov 8 03:51:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thinh Nguyen X-Patchwork-Id: 10673431 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CEBB215E9 for ; Thu, 8 Nov 2018 03:51:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C00DC2C5E5 for ; Thu, 8 Nov 2018 03:51:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B42782C639; Thu, 8 Nov 2018 03:51:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 557942C661 for ; Thu, 8 Nov 2018 03:51:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728746AbeKHNYo (ORCPT ); Thu, 8 Nov 2018 08:24:44 -0500 Received: from smtprelay2.synopsys.com ([198.182.60.111]:34294 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728499AbeKHNYn (ORCPT ); Thu, 8 Nov 2018 08:24:43 -0500 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id 56ED710C0F63; Wed, 7 Nov 2018 19:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1541649077; bh=opCSGNTHEoFfYR0YpSiwWbv2x08SOqyC7kX5DoFPvMs=; h=Date:In-Reply-To:References:From:Subject:To:CC:From; b=UH5CcXgPgJpKnD7w1XBcdzUeg8Qq58wrYRX9Xn5GWzX2P/3m4VC883jKUYDpwVqlc tKGE/qrhmK0bTREjpodvpIxu8zxdy8SliuIH1neAy5k0MgR9ZCeftFiHLkADg0RNJ/ tHapxHPCdXU6WdSPWJzOmsNQNmBqZlSwFHH1gm5H6LKjFhEC32v9gY9lP76ymo2Eot 5LCkmJnGY5uIaEepsY6GmHHplmiCQ4NbbTNOJjcrNgkJRpfvqzVWErZOkiJCMBXp1U PAdhvwrjwtV++xBz2WTXrOfxGclHq2OpEuoH9S3F4ALEBduAJ0cfxkwEpQTzbwuBes lEzfzwsOCcFnw== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 3AB333F06; Wed, 7 Nov 2018 19:51:17 -0800 (PST) Received: from US01WEHTC1.internal.synopsys.com (10.12.239.236) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 7 Nov 2018 19:51:17 -0800 Received: from te-lab16 (10.13.184.20) by us01wehtc1.internal.synopsys.com (10.12.239.236) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 7 Nov 2018 19:51:15 -0800 Received: by te-lab16 (sSMTP sendmail emulation); Wed, 07 Nov 2018 19:51:15 -0800 Date: Wed, 7 Nov 2018 19:51:15 -0800 Message-ID: <49d57899abea493e72f1b516650a60ef25cdc06c.1541648784.git.thinhn@synopsys.com> In-Reply-To: References: From: Thinh Nguyen Subject: [PATCH v5 2/3] usb: dwc3: Add disabling of start_transfer failure quirk To: Felipe Balbi , , , Rob Herring , Mark Rutland CC: John Youn MIME-Version: 1.0 X-Originating-IP: [10.13.184.20] Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP DWC_usb31 peripheral v1.70a-ea06 and prior needs a SW workaround for isoc START TRANSFER command failure. However, some affected versions may have RTL patches to fix this without a SW workaround. Add this quirk to disable the SW workaround when it is not needed. Synopsys STAR 9001202023: Wrong microframe number for isochronous IN endpoints. Signed-off-by: Thinh Nguyen --- Documentation/devicetree/bindings/usb/dwc3.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt index 636630fb92d7..fc64db0a7a0a 100644 --- a/Documentation/devicetree/bindings/usb/dwc3.txt +++ b/Documentation/devicetree/bindings/usb/dwc3.txt @@ -37,6 +37,9 @@ Optional properties: - phy-names: from the *Generic PHY* bindings; supported names are "usb2-phy" or "usb3-phy". - resets: a single pair of phandle and reset specifier + - snps,dis-start-transfer-quirk: when set, disable isoc START TRANSFER command + failure SW work-around for DWC_usb31 version 1.70a-ea06 + and prior. - snps,usb3_lpm_capable: determines if platform is USB3 LPM capable - snps,disable_scramble_quirk: true when SW should disable data scrambling. Only really useful for FPGA builds.