From patchwork Tue May 6 23:00:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dinguyen@altera.com X-Patchwork-Id: 346354 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id BA5C41401EB for ; Wed, 7 May 2014 09:03:52 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750912AbaEFXDu (ORCPT ); Tue, 6 May 2014 19:03:50 -0400 Received: from mail-bn1on0140.outbound.protection.outlook.com ([157.56.110.140]:34505 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751230AbaEFXDt (ORCPT ); Tue, 6 May 2014 19:03:49 -0400 Received: from BN1BFFO11FD012.protection.gbl (10.58.144.32) by BN1BFFO11HUB044.protection.gbl (10.58.144.191) with Microsoft SMTP Server (TLS) id 15.0.929.8; Tue, 6 May 2014 23:03:47 +0000 Received: from SJ-ITEXEDGE02.altera.priv.altera.com (66.35.236.232) by BN1BFFO11FD012.mail.protection.outlook.com (10.58.144.75) with Microsoft SMTP Server (TLS) id 15.0.929.8 via Frontend Transport; Tue, 6 May 2014 23:03:46 +0000 Received: from sj-mail01.altera.com (137.57.1.6) by SJ-ITEXEDGE02.altera.priv.altera.com (66.35.236.232) with Microsoft SMTP Server id 8.3.348.2; Tue, 6 May 2014 15:50:14 -0700 Received: from linux-builds1.altera.com (linux-builds1.altera.com [137.57.188.114]) by sj-mail01.altera.com (8.13.7+Sun/8.13.7) with ESMTP id s46N3gMK017170; Tue, 6 May 2014 16:03:44 -0700 (PDT) From: To: , , , , , CC: , , , Dinh Nguyen Subject: [PATCHv2 2/2] Documentation: dt: add an optional dma-desc-enable property for dwc2 usb Date: Tue, 6 May 2014 18:00:42 -0500 Message-ID: <1399417243-4614-2-git-send-email-dinguyen@altera.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1399417243-4614-1-git-send-email-dinguyen@altera.com> References: <1399417243-4614-1-git-send-email-dinguyen@altera.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:66.35.236.232; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019001)(6009001)(199002)(189002)(76176999)(86362001)(2009001)(76482001)(92566001)(92726001)(86152002)(31966008)(85852003)(6806004)(83072002)(50986999)(53416003)(99396002)(36756003)(81342001)(97736001)(81542001)(48376002)(74662001)(87286001)(19580405001)(44976005)(19580395003)(83322001)(4396001)(50226001)(77156001)(89996001)(46102001)(84676001)(20776003)(79102001)(551934002)(74502001)(47776003)(62966002)(50466002)(33646001)(77982001)(87936001)(80022001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1BFFO11HUB044; H:SJ-ITEXEDGE02.altera.priv.altera.com; FPR:60F4D454.30314C00.E7E29BFE.54E6EA49.20194; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-OriginatorOrg: altera.onmicrosoft.com X-Forefront-PRVS: 0203C93D51 Received-SPF: SoftFail (: domain of transitioning altera.com discourages use of 66.35.236.232 as permitted sender) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Dinh Nguyen The "dma-desc-enable" property can be used to enable descriptor DMA mode for the DWC2 USB IP. Signed-off-by: Dinh Nguyen --- v2: Reword property description to enable instead of disable --- Documentation/devicetree/bindings/usb/dwc2.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt index b8b6871..9b471b5 100644 --- a/Documentation/devicetree/bindings/usb/dwc2.txt +++ b/Documentation/devicetree/bindings/usb/dwc2.txt @@ -14,6 +14,13 @@ Refer to clk/clock-bindings.txt for generic clock consumer properties Optional properties: - phys: phy provider specifier - phy-names: shall be "device" +- dma-desc-enable: Should be <1> to enable descriptor dma mode. This + property is used to enable descriptor DMA support. The reason why + this property is needed is because the HW supports descriptor DMA + mode, but descriptor dma mode will not support SPLIT transactions. + So this property can be used to optionally enable descriptor DMA + support. + Refer to phy/phy-bindings.txt for generic phy consumer properties Example: