From patchwork Wed Jun 25 10:52:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Popov X-Patchwork-Id: 4419481 X-Patchwork-Delegate: vinod.koul@intel.com Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C4737BEEAA for ; Wed, 25 Jun 2014 10:53:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E7323201CE for ; Wed, 25 Jun 2014 10:53:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1696720396 for ; Wed, 25 Jun 2014 10:53:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755738AbaFYKxP (ORCPT ); Wed, 25 Jun 2014 06:53:15 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:41132 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752942AbaFYKxO (ORCPT ); Wed, 25 Jun 2014 06:53:14 -0400 Received: by mail-lb0-f171.google.com with SMTP id s7so1719620lbd.16 for ; Wed, 25 Jun 2014 03:53:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=N9byCmKwv4bS53ljoGsbHCgpJP9hcOJa1dW33hqleHw=; b=xd4FGomTHTiSlmS/KHlvO9gXz2eVvUcjcox2z3XDRv7vUxaoz6Nm1wmlyGOrDgkZxR 2zDzC0PwPjpug0CdOo5k6ogaUsgD2ct4WIWBB1kcN0Lf6SbjvE8dK/SHQ4oZNSY2DAnk UH3y+Tada3Id4lz8kd5mu+AXZqVX8DXQKBlo1N9Ib7jI8itn51qlB1Orz4KV43n4+/PW voBb7tFpzOchzFOmzBMebsnKRQqBIyp72aonoBqCHwJimE8DQ4sHJBuAN5mKXjngSzO1 QSiINWNG56jAzpyZhhY7Xp9hR/cvybcmeeRtc7lKSMxRSMfz9BANfUQ/nOnsAgopktJE gnvQ== X-Received: by 10.112.149.102 with SMTP id tz6mr4921550lbb.27.1403693593074; Wed, 25 Jun 2014 03:53:13 -0700 (PDT) Received: from a13xCCC.localdomain (mail.tecon.ru. [89.175.104.62]) by mx.google.com with ESMTPSA id ll11sm1405442lac.48.2014.06.25.03.53.12 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 25 Jun 2014 03:53:12 -0700 (PDT) From: Alexander Popov To: Mark Rutland , Gerhard Sittig , Dan Williams , Vinod Koul , Lars-Peter Clausen , Arnd Bergmann , Anatolij Gustschin , Andy Shevchenko , Alexander Popov , linuxppc-dev@lists.ozlabs.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 1/3] dmaengine: mpc512x: add device tree binding document Date: Wed, 25 Jun 2014 14:52:58 +0400 Message-Id: <1403693580-9449-2-git-send-email-a13xp0p0v88@gmail.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1403693580-9449-1-git-send-email-a13xp0p0v88@gmail.com> References: <1403693580-9449-1-git-send-email-a13xp0p0v88@gmail.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Introduce a device tree binding document for the MPC512x DMA controller Signed-off-by: Alexander Popov --- .../devicetree/bindings/dma/mpc512x-dma.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/mpc512x-dma.txt diff --git a/Documentation/devicetree/bindings/dma/mpc512x-dma.txt b/Documentation/devicetree/bindings/dma/mpc512x-dma.txt new file mode 100644 index 0000000..a6511df --- /dev/null +++ b/Documentation/devicetree/bindings/dma/mpc512x-dma.txt @@ -0,0 +1,29 @@ +* Freescale MPC512x and MPC8308 DMA Controller + +The DMA controller in Freescale MPC512x and MPC8308 SoCs can move +blocks of memory contents between memory and peripherals or +from memory to memory. + +Refer to "Generic DMA Controller and DMA request bindings" in +the dma/dma.txt file for a more detailed description of binding. + +Required properties: +- compatible: should be "fsl,mpc5121-dma" or "fsl,mpc8308-dma"; +- reg: should contain the DMA controller registers location and length; +- interrupt for the DMA controller: syntax of interrupt client node + is described in interrupt-controller/interrupts.txt file. +- #dma-cells: the length of the DMA specifier, must be <1>. + Each channel of this DMA controller has a peripheral request line, + the assignment is fixed in hardware. This one cell + in dmas property of a client device represents the channel number. + +Example: + + dma0: dma@14000 { + compatible = "fsl,mpc5121-dma"; + reg = <0x14000 0x1800>; + interrupts = <65 0x8>; + #dma-cells = <1>; + }; + +DMA clients must use the format described in dma/dma.txt file.