From patchwork Wed Sep 19 14:49:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 1477931 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id BB7F03FE65 for ; Wed, 19 Sep 2012 14:50:05 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TELZb-0002S1-6w; Wed, 19 Sep 2012 14:48:19 +0000 Received: from mail-gh0-f177.google.com ([209.85.160.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TELZX-0002RH-V8 for linux-arm-kernel@lists.infradead.org; Wed, 19 Sep 2012 14:48:16 +0000 Received: by ghbf20 with SMTP id f20so275751ghb.36 for ; Wed, 19 Sep 2012 07:48:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=4S9Nap30veGtWWzuKlHKTRRf2X6Vi2DG4NJ8SNvNjiY=; b=XKJmh5TwYEmwxlLdALcpZlNtF6D2a4qXdTdUTvvzsk2lLa4U8T5xLSWtvkmu4dPrPd Z0perN35f8jFjkeXq1uPZ5TqpffhyUeGRzr3euyL3cYrcOd32pCWPRzFyH6bngL1qt9/ Z/cw9vLJ263bq/ipm1DFFE7drbA0yJ1sHfuKYT0MttSuFZOrpjE0lxEckdQ2rBxfrExI YOdzLJxsBSFaTa2lmo92KEYOUmTRVPrdoawOJdqW+AaijJuKLytescz/FzoS+Es1ojM1 zzhFGLq5WX9drEu+ZCr+Hri5hGlK/SgpV2rhdUnspvFUx5YaTBUlWmyD3H36/rmNgccr LtFA== Received: by 10.236.155.71 with SMTP id i47mr3644731yhk.72.1348066093801; Wed, 19 Sep 2012 07:48:13 -0700 (PDT) Received: from beef.ohporter.com (cpe-24-166-64-7.neo.res.rr.com. [24.166.64.7]) by mx.google.com with ESMTPS id k2sm2884774anl.11.2012.09.19.07.48.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 19 Sep 2012 07:48:11 -0700 (PDT) From: Matt Porter To: Jon Hunter Subject: [PATCH v2] of: dma: fix typos in generic dma binding definition Date: Wed, 19 Sep 2012 10:49:48 -0400 Message-Id: <1348066188-17937-1-git-send-email-mporter@ti.com> X-Mailer: git-send-email 1.7.9.5 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (ohiomdp[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.177 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Stephen Warren , Benoit Cousson , Arnd Bergmann , Vinod Koul , Devicetree Discuss , Nicolas Ferre , Rob Herring , Grant Likely , Dan Williams , Russell King , Linux OMAP List , Linux ARM Kernel List X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Some semicolons were left out in the examples. The #dma-channels and #dma-requests properties have a prefix that is, by convention, reserved for cell size properties. Rename those properties to dma-channels and dma-requests. Signed-off-by: Matt Porter Acked-by: Arnd Bergmann Acked-by: Jon Hunter --- Documentation/devicetree/bindings/dma/dma.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/dma/dma.txt b/Documentation/devicetree/bindings/dma/dma.txt index a4f59a5..8f504e6 100644 --- a/Documentation/devicetree/bindings/dma/dma.txt +++ b/Documentation/devicetree/bindings/dma/dma.txt @@ -13,22 +13,22 @@ Required property: more details. Optional properties: -- #dma-channels: Number of DMA channels supported by the controller. -- #dma-requests: Number of DMA requests signals supported by the +- dma-channels: Number of DMA channels supported by the controller. +- dma-requests: Number of DMA requests signals supported by the controller. Example: dma: dma@48000000 { - compatible = "ti,omap-sdma" + compatible = "ti,omap-sdma"; reg = <0x48000000 0x1000>; interrupts = <0 12 0x4 0 13 0x4 0 14 0x4 0 15 0x4>; #dma-cells = <1>; - #dma-channels = <32>; - #dma-requests = <127>; + dma-channels = <32>; + dma-requests = <127>; }; @@ -61,7 +61,7 @@ Examples: ... dmas = <&dma 2 /* read channel */ &dma 3>; /* write channel */ - dma-names = "rx", "tx" + dma-names = "rx", "tx"; ... }; @@ -70,7 +70,7 @@ Examples: dmas = <&dma1 5 &dma2 7 &dma3 2>; - dma-names = "rx-tx", "rx-tx", "rx-tx" + dma-names = "rx-tx", "rx-tx", "rx-tx"; 3. A device with three channels, one of which has two alternatives: