From: Zhang Wei <[EMAIL PROTECTED]>

The fsldma driver is tested on MPC8377MDS board.  The patch adds fsldma driver
support into MPC8377MDS device tree.

Signed-off-by: Zhang Wei <[EMAIL PROTECTED]>
Cc: "Nelson, Shannon" <[EMAIL PROTECTED]>
Cc: Dan Williams <[EMAIL PROTECTED]>
Cc: Kumar Gala <[EMAIL PROTECTED]>
Cc: Paul Mackerras <[EMAIL PROTECTED]>
Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
Cc: Scott Wood <[EMAIL PROTECTED]>
Cc: Li Yang <[EMAIL PROTECTED]>

On Wed, 14 May 2008 18:28:08 -0500
Scott Wood <[EMAIL PROTECTED]> wrote:


> [EMAIL PROTECTED] wrote:
> > From: Zhang Wei <[EMAIL PROTECTED]>
> > 
> 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.

Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 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
@@ -303,6 +303,33 @@
                        };
                };
 
+               [EMAIL PROTECTED] {
+                       #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>;
+                       [EMAIL PROTECTED] {
+                               compatible = "fsl,mpc8349-dma-channel";
+                               reg = <0 0x80>;
+                       };
+                       [EMAIL PROTECTED] {
+                               compatible = "fsl,mpc8349-dma-channel";
+                               reg = <0x80 0x80>;
+                       };
+                       [EMAIL PROTECTED] {
+                               compatible = "fsl,mpc8349-dma-channel";
+                               reg = <0x100 0x80>;
+                       };
+                       [EMAIL PROTECTED] {
+                               compatible = "fsl,mpc8349-dma-channel";
+                               reg = <0x180 0x28>;
+                       };
+               };
+
                /* IPIC
                 * interrupts cell = <intr #, sense>
                 * sense values match linux IORESOURCE_IRQ_* defines:
_
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to