From patchwork Mon Nov 11 16:06:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: R Sricharan X-Patchwork-Id: 3168271 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5EEE89F522 for ; Mon, 11 Nov 2013 16:07:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3CD1C2037D for ; Mon, 11 Nov 2013 16:07:28 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC03920347 for ; Mon, 11 Nov 2013 16:07:26 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vfu11-0003Dp-Ij; Mon, 11 Nov 2013 16:07:03 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vfu0x-0004aA-97; Mon, 11 Nov 2013 16:06:59 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vfu0l-0004W9-1K for linux-arm-kernel@lists.infradead.org; Mon, 11 Nov 2013 16:06:48 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id rABG6OrJ015011; Mon, 11 Nov 2013 10:06:24 -0600 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id rABG6ORK002539; Mon, 11 Nov 2013 10:06:24 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Mon, 11 Nov 2013 10:06:24 -0600 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id rABG6IPr031219; Mon, 11 Nov 2013 10:06:22 -0600 From: Sricharan R To: , , , Subject: [PATCH V2 2/2] ARM: dts: doc: Document missing binding for ti-sdma controller Date: Mon, 11 Nov 2013 21:36:16 +0530 Message-ID: <1384185976-17822-2-git-send-email-r.sricharan@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1384185976-17822-1-git-send-email-r.sricharan@ti.com> References: <1384185976-17822-1-git-send-email-r.sricharan@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131111_110647_171001_ACF99468 X-CRM114-Status: UNSURE ( 8.25 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: r.sricharan@ti.com, santosh.shilimkar@ti.com, bcousson@baylibre.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The binding and support for system DMA module present in OMAP2+ Socs and DRA7 with dma-engine is already present. So adding the missing documentation for the same. Signed-off-by: Sricharan R Acked-by: Rob Herring --- [V2] Fixed comments from Rob Herring Documentation/devicetree/bindings/dma/ti-sdma.txt | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti-sdma.txt diff --git a/Documentation/devicetree/bindings/dma/ti-sdma.txt b/Documentation/devicetree/bindings/dma/ti-sdma.txt new file mode 100644 index 0000000..2e0a6d8 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/ti-sdma.txt @@ -0,0 +1,28 @@ +TI SDMA + +Required Properties: +- compatible : Should be "ti,omap2420-sdma", "ti,omap2430-sdma" for OMAP2 + Should be "ti,omap3430-sdma", "ti,omap3630-sdma" for OMAP3 + Should be "ti,omap4430-sdma" for OMAP4, OMAP5 and DRA7 +- reg: Memory map for accessing module +- interrupts: Interrupt request number from the DMA controller to + interrupt controller +- #dma-cells: Should be set to <1> +- #dma-channels: Total number of logical DMA channels supported by the + controller +- #dma-requests: Total number of DMA request signals supported by the + controller + +Example: + +sdma: dma-controller@48056000 { + compatible = "ti,omap4430-sdma"; + reg = <0x48056000 0x1000>; + interrupts = <12>, + <13>, + <14>, + <15>; + #dma-cells = <1>; + #dma-channels = <32>; + #dma-requests = <64>; +};