linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: akpm@linux-foundation.org
Cc: shannon.nelson@intel.com, linuxppc-dev@ozlabs.org,
	paulus@samba.org, galak@gate.crashing.org,
	dan.j.williams@intel.com, wei.zhang@freescale.com
Subject: Re: [patch 1/1] fsldma: the MPC8377MDS board device tree node for fsldma	driver
Date: Wed, 14 May 2008 18:28:08 -0500	[thread overview]
Message-ID: <482B7588.1010201@freescale.com> (raw)
In-Reply-To: <200805142317.m4ENHNlm026461@imap1.linux-foundation.org>

akpm@linux-foundation.org wrote:
> From: Zhang Wei <wei.zhang@freescale.com>
> 
> The fsldma driver is tested on MPC8377MDS board.  The patch adds fsldma driver
> support into MPC8377MDS device tree.
> 
> Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
> Cc: "Nelson, Shannon" <shannon.nelson@intel.com>
> Cc: Dan Williams <dan.j.williams@intel.com>
> Cc: Kumar Gala <galak@gate.crashing.org>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
> 
>  arch/powerpc/boot/dts/mpc8377_mds.dts |   27 ++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff -puN arch/powerpc/boot/dts/mpc8377_mds.dts~fsldma-the-mpc8377mds-board-device-tree-node-for-fsldma-driver arch/powerpc/boot/dts/mpc8377_mds.dts
> --- a/arch/powerpc/boot/dts/mpc8377_mds.dts~fsldma-the-mpc8377mds-board-device-tree-node-for-fsldma-driver
> +++ a/arch/powerpc/boot/dts/mpc8377_mds.dts
> @@ -295,6 +295,33 @@
>  			};
>  		};
>  
> +		dma@82a8 {
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			compatible = "fsl,mpc8349-dma";
> +			reg = <0x82a8 4>;
> +			ranges = <0 0x8100 0x1a8>;
> +			interrupt-parent = <&ipic>;
> +			interrupts = <0x47 8>;
> +			cell-index = <0>;
> +			dma-channel@0 {
> +				compatible = "fsl,mpc8349-dma-channel";
> +				reg = <0 0x80>;
> +			};
> +			dma-channel@80 {
> +				compatible = "fsl,mpc8349-dma-channel";
> +				reg = <0x80 0x80>;
> +			};
> +			dma-channel@100 {
> +				compatible = "fsl,mpc8349-dma-channel";
> +				reg = <0x100 0x80>;
> +			};
> +			dma-channel@180 {
> +				compatible = "fsl,mpc8349-dma-channel";
> +				reg = <0x180 0x28>;
> +			};

According to booting-without-of.txt, the interrupts property should be 
repeated in each channel.  The driver also needs to be fixed to remember 
whether it registered a DMA-block-level interrupt handler already, and 
not try to register a channel interrupt.

-Scott

  reply	other threads:[~2008-05-14 23:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 23:17 [patch 1/1] fsldma: the MPC8377MDS board device tree node for fsldma driver akpm
2008-05-14 23:28 ` Scott Wood [this message]
2008-05-14 23:36   ` Dan Williams
  -- strict thread matches above, loose matches on Subject: below --
2008-06-09 23:29 akpm
2008-06-10  5:16 ` Kumar Gala

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=482B7588.1010201@freescale.com \
    --to=scottwood@freescale.com \
    --cc=akpm@linux-foundation.org \
    --cc=dan.j.williams@intel.com \
    --cc=galak@gate.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=shannon.nelson@intel.com \
    --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).