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: 3168251 Return-Path: X-Original-To: patchwork-linux-omap@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 DD1149F522 for ; Mon, 11 Nov 2013 16:06:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B45C7201FD for ; Mon, 11 Nov 2013 16:06:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4373A2037D for ; Mon, 11 Nov 2013 16:06:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754350Ab3KKQGt (ORCPT ); Mon, 11 Nov 2013 11:06:49 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:51860 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754069Ab3KKQGs (ORCPT ); Mon, 11 Nov 2013 11:06:48 -0500 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: , , , CC: , , , 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>; +};