public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Zhang Wei <wei.zhang@freescale•com>
To: paulus@samba•org
Cc: linuxppc-dev@ozlabs•org
Subject: [PATCH 1/5] Add Freescale DMA and DMA channel to Documentation/powerpc/booting-without-of.txt file.
Date: Fri,  7 Sep 2007 18:53:52 +0800	[thread overview]
Message-ID: <1189162437484-git-send-email-wei.zhang@freescale.com> (raw)
In-Reply-To: <11891624353752-git-send-email-wei.zhang@freescale.com>

This patch adds Freescale DMA and DMA channel definition to
Documentation/powerpc/booting-without-of.txt file.

Signed-off-by: Zhang Wei <wei.zhang@freescale•com>
Signed-off-by: Ebony Zhu <ebony.zhu@freescale•com>
---
 Documentation/powerpc/booting-without-of.txt |   67 ++++++++++++++++++++++++++
 1 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index 76733a3..d114edf 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -52,6 +52,8 @@ Table of Contents
       i) Freescale QUICC Engine module (QE)
       j) Flash chip nodes
       k) Global Utilities Block
+      l) Freescale DMA
+      m) Freescale DMA channel
 
   VII - Specifying interrupt information for devices
     1) interrupts property
@@ -1824,6 +1826,71 @@ platforms are moved over to use the flattened-device-tree model.
 		fsl,has-rstcr;
 	};
 
+   l) Freescale DMA
+
+   The DMA for dma-engine driver of Freescale MPC8540 silicon DMA
+   controller which also fit for MPC8560, MPC8555,
+   MPC8548, MPC8641 and MPC8349 silicon DMA controller,
+
+   For each DMA node, you should define channels included.
+   Please see below 'm) Freescale DMA channel' for DMA channel's definition.
+
+   Required properties:
+
+    - compatible : Should be "fsl,dma".
+    - reg : Offset and length of DMA general status register.
+    - ranges : Should be defined as specified in 1) to describe the
+               DMA controller channels.
+
+  Example:
+	dma@21000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "fsl,dma";
+		reg = <21300 4>;
+		ranges = <0 21100 200>;
+		dma-channel@0 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "fsl,mpc8540-dma-channel";
+			reg = <0 80>;
+			interrupt-parent = <&mpic>;
+			interrupts = <14 2>;
+		};
+		dma-channel@80 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "fsl,mpc8540-dma-channel";
+			reg = <80 80>;
+			interrupt-parent = <&mpic>;
+			interrupts = <15 2>;
+		};
+		dma-channel@100 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "fsl,mpc8540-dma-channel";
+			reg = <100 80>;
+			interrupt-parent = <&mpic>;
+			interrupts = <16 2>;
+		};
+		dma-channel@180 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "fsl,mpc8540-dma-channel";
+			reg = <180 80>;
+			interrupt-parent = <&mpic>;
+			interrupts = <17 2>;
+		};
+	};
+
+   m) Freescale DMA channel
+
+   Required properties:
+
+    - compatible : Should be "fsl,mpc8540-dma-channel"
+                   or "fsl,mpc8349-dma-channel"
+    - reg : Offset and length of the register set for the DMA channel.
+
    More devices will be defined as this spec matures.
 
 VII - Specifying interrupt information for devices
-- 
1.5.2

  reply	other threads:[~2007-09-07 10:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07 10:53 [PATCH 0/5] DMA engine driver for Freescale MPC85xx processors Zhang Wei
2007-09-07 10:53 ` Zhang Wei [this message]
2007-09-07 10:53   ` [PATCH 2/5] Add Freescale DMA engine driver maintainer Zhang Wei
2007-09-07 10:53     ` [PATCH 3/5] Add DMA of-node to mpc8641hpcn board dts Zhang Wei
2007-09-07 10:53       ` [PATCH 4/5] Add of-device and DMA bus support to MPC8641HPCN board Zhang Wei
2007-09-07 21:10       ` [PATCH 3/5] Add DMA of-node to mpc8641hpcn board dts Scott Wood
2007-09-10  3:27     ` [PATCH 2/5] Add Freescale DMA engine driver maintainer David Gibson
2007-09-11 10:07       ` Zhang Wei-r63237
2007-09-07 14:43   ` [PATCH 1/5] Add Freescale DMA and DMA channel to Documentation/powerpc/booting-without-of.txt file Segher Boessenkool
2007-09-07 15:31     ` Scott Wood
2007-09-07 16:30       ` Segher Boessenkool
2007-09-10  3:25     ` David Gibson
2007-09-11 10:01       ` Zhang Wei-r63237
2007-09-11 14:19         ` Scott Wood
2007-09-12 10:13           ` Zhang Wei-r63237
2007-09-12 15:19             ` Scott Wood
2007-09-13  2:09               ` Segher Boessenkool
2007-09-13 14:52                 ` Scott Wood
2007-09-13 15:11                   ` Kumar Gala
2007-09-13 18:55                   ` Segher Boessenkool
2007-09-13 18:59                     ` Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1189162437484-git-send-email-wei.zhang@freescale.com \
    --to=wei.zhang@freescale$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=paulus@samba$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox