From patchwork Wed Jun 18 10:48:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Popov X-Patchwork-Id: 4375251 X-Patchwork-Delegate: vinod.koul@intel.com Return-Path: X-Original-To: patchwork-dmaengine@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 2A6989F3B4 for ; Wed, 18 Jun 2014 10:48:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43C99202D1 for ; Wed, 18 Jun 2014 10:48:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5EB61202FE for ; Wed, 18 Jun 2014 10:48:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965376AbaFRKsd (ORCPT ); Wed, 18 Jun 2014 06:48:33 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:36385 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965512AbaFRKsc (ORCPT ); Wed, 18 Jun 2014 06:48:32 -0400 Received: by mail-la0-f52.google.com with SMTP id ty20so382197lab.25 for ; Wed, 18 Jun 2014 03:48:30 -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=iDOpOf5ota4gEgWxKz/9U/81aZe4EjOIFkmLFkvNf+0=; b=rdReBt/v2HX8fA2RRIEjYDLMqJdDgjZTROb3Nd2wxGDPEnaDwfoW6boWMqsdwnE4Bz Z3QAcAmyGmQbJ8s3OwDOx0s7e5DQd12l9kUbX4fenfLK/o1ROtcmIpnKko+XT6Wo0Mx/ 6txOeDCMUC0myxJqoKkCo9FU9mX7TjFB0Fv9gf8higYpQbBQe/5b5VoyAjRYv8AUGMl+ dZlVTw6/MIr0ZYDuMeOxQpOpJkpMAadZ4l/M8T8PvtO8Kmyul/se7hEg1GkJbctaCQXa u87/UgNjTbk8uLPhvdECmJKR2sR1QrcQJZx3IZ/0CqYeP1fFGpKGNtQFyduEVC3nC92G w57A== X-Received: by 10.152.203.168 with SMTP id kr8mr783976lac.17.1403088510351; Wed, 18 Jun 2014 03:48:30 -0700 (PDT) Received: from a13xCCC.localdomain (mail.tecon.ru. [89.175.104.62]) by mx.google.com with ESMTPSA id u4sm694143lal.8.2014.06.18.03.48.29 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 18 Jun 2014 03:48:29 -0700 (PDT) From: Alexander Popov To: 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 v2 1/3] dmaengine: mpc512x: add device tree binding document Date: Wed, 18 Jun 2014 14:48:10 +0400 Message-Id: <1403088492-15241-2-git-send-email-a13xp0p0v88@gmail.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1403088492-15241-1-git-send-email-a13xp0p0v88@gmail.com> References: <1403088492-15241-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 | 31 ++++++++++++++++++++++ 1 file changed, 31 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..95e2ca0 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/mpc512x-dma.txt @@ -0,0 +1,31 @@ +* 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. + +Optional properties: +- #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.