linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Zhang Wei <wei.zhang@freescale.com>
To: paulus@samba.org, galak@kernel.crashing.org
Cc: linuxppc-dev@ozlabs.org
Subject: [PATCH 1/4] Add DMA sector to Documentation/powerpc/booting-without-of.txt file.
Date: Tue, 10 Jul 2007 17:44:21 +0800	[thread overview]
Message-ID: <11840606624025-git-send-email-wei.zhang@freescale.com> (raw)
In-Reply-To: <1184060662530-git-send-email-wei.zhang@freescale.com>

This patch adds DMA sector 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 |   60 ++++++++++++++++++++++++++
 1 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index c169299..08c619f 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -1790,6 +1790,66 @@ platforms are moved over to use the flattened-device-tree model.
  		partition-names = "fs\0firmware";
  	};
 
+   k) DMA
+
+   This sector define DMA for dma-engine driver of Freescale
+   MPC8xxx silicon. For each DMA setor, you should define
+   channels included.
+   Please see below 'l) DMA channel' for DMA channel's definition.
+
+   Required properties:
+
+    - compatible : Should be "fsl,mpc8xxx-dma"
+    - reg : Offset and length of the register set for the device
+    - ranges : Should be defined as specified in 1) to describe the
+               DMA controller's register.
+
+  Example:
+	dma@21000{
+		compatible = "fsl,mpc8xxx-dma";
+		reg = <21000 100>;
+		ranges = <0 21000 1000>;
+		ch0@100{
+			reg = <100 80>;
+			extended;
+			reserved;
+			interrupt-parent = <&mpic>;
+			interrupts = <14 2>;
+		};
+		ch1@180{
+			reg = <180 80>;
+			extended;
+			reserved;
+			interrupt-parent = <&mpic>;
+			interrupts = <15 2>;
+		};
+		ch2@200{
+			reg = <200 80>;
+			extended;
+			interrupt-parent = <&mpic>;
+			interrupts = <16 2>;
+		};
+		ch3@280{
+			reg = <280 80>;
+			extended;
+			interrupt-parent = <&mpic>;
+			interrupts = <17 2>;
+		};
+	};
+
+   l) DMA channel
+
+   Required properties:
+
+    - reg : Offset and length of the register set for the device
+
+   Recommended properties :
+
+    - extended : Set the DMA channel to work at extended chain mode.
+                 If not set, the DMA channel will work at basic
+                 chain mode.
+    - reserved : Reserve the DMA channel to device.
+
    More devices will be defined as this spec matures.
 
 VII - Specifying interrupt information for devices
-- 
1.5.1

  reply	other threads:[~2007-07-10  9:36 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10  9:44 [PATCH 0/4] DMA engine driver for Freescale MPC8xxx processor Zhang Wei
2007-07-10  9:44 ` Zhang Wei [this message]
2007-07-10  9:44   ` [PATCH 2/4] Add dma sector to mpc8641hpcn board dts Zhang Wei
2007-07-10 13:55     ` Segher Boessenkool
2007-07-11  7:16       ` Zhang Wei-r63237
2007-07-11 11:27         ` Segher Boessenkool
2007-07-12  9:51           ` Zhang Wei-r63237
2007-07-10 13:57     ` Segher Boessenkool
2007-07-11  7:17       ` Zhang Wei-r63237
2007-07-10 14:01   ` [PATCH 1/4] Add DMA sector to Documentation/powerpc/booting-without-of.txt file Segher Boessenkool
2007-07-10 16:11     ` Scott Wood
2007-07-11 10:00       ` Zhang Wei-r63237
2007-07-11 15:23         ` Scott Wood
2007-07-11 17:53           ` Segher Boessenkool
2007-07-12  9:48             ` Zhang Wei-r63237
2007-07-12 17:12               ` Phil Terry
2007-07-12 19:10                 ` Scott Wood
2007-07-16 14:56                   ` Segher Boessenkool
2007-07-16 14:54                 ` Segher Boessenkool
2007-07-17 11:17                   ` Paul Mackerras
2007-07-17 15:36                     ` Segher Boessenkool
2007-07-11 11:18       ` Segher Boessenkool
2007-07-11 15:30         ` Scott Wood
2007-07-11 18:01           ` Segher Boessenkool
2007-07-11 18:18             ` Scott Wood
2007-07-11 18:43               ` Segher Boessenkool
2007-07-11 19:03                 ` Scott Wood
2007-07-11 19:19                   ` Segher Boessenkool
2007-07-11 19:27                     ` Scott Wood
2007-07-11 20:27                       ` Segher Boessenkool
2007-07-11 10:06     ` Zhang Wei-r63237
2007-07-11 11:40       ` Segher Boessenkool
2007-07-12  9:45         ` Zhang Wei-r63237

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=11840606624025-git-send-email-wei.zhang@freescale.com \
    --to=wei.zhang@freescale.com \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).