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: 1477921 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 0D6BE3FE65 for ; Wed, 19 Sep 2012 14:48:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753548Ab2ISOsP (ORCPT ); Wed, 19 Sep 2012 10:48:15 -0400 Received: from mail-yx0-f174.google.com ([209.85.213.174]:46306 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752637Ab2ISOsO (ORCPT ); Wed, 19 Sep 2012 10:48:14 -0400 Received: by yenm12 with SMTP id m12so106790yen.19 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 Cc: Devicetree Discuss , Linux OMAP List , Linux ARM Kernel List , Nicolas Ferre , Stephen Warren , Grant Likely , Benoit Cousson , Russell King , Rob Herring , Arnd Bergmann , Vinod Koul , Dan Williams 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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: