linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Zhang Wei <wei.zhang@freescale.com>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH 3/5] Add DMA of-node to mpc8641hpcn board dts
Date: Fri, 07 Sep 2007 16:10:25 -0500	[thread overview]
Message-ID: <46E1BE41.5070603@freescale.com> (raw)
In-Reply-To: <11891624391565-git-send-email-wei.zhang@freescale.com>

Zhang Wei wrote:
> This patch adds DMA of-node to MPC8641HPCN board dts.
> 
> Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
> Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com>
> ---
>  arch/powerpc/boot/dts/mpc8641_hpcn.dts |   40 ++++++++++++++++++++++++++++++++
>  1 files changed, 40 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/powerpc/boot/dts/mpc8641_hpcn.dts b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
> index 5d82709..e0175a4 100644
> --- a/arch/powerpc/boot/dts/mpc8641_hpcn.dts
> +++ b/arch/powerpc/boot/dts/mpc8641_hpcn.dts
> @@ -433,5 +433,45 @@
>  			device_type = "open-pic";
>  			big-endian;
>  		};
> +
> +		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>;

The channels aren't buses; only the parent dma node needs #address-cells 
and #size-cells.

-Scott

  parent reply	other threads:[~2007-09-07 21:11 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 ` [PATCH 1/5] Add Freescale DMA and DMA channel to Documentation/powerpc/booting-without-of.txt file Zhang Wei
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       ` Scott Wood [this message]
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=46E1BE41.5070603@freescale.com \
    --to=scottwood@freescale.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=wei.zhang@freescale.com \
    /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).