Using DMA interrupt on MPC8313
    Ron Madrid 
    ron_madrid at sbcglobal.net
       
    Tue Jun 17 05:10:40 EST 2008
    
    
  
Thank you for the help (again).  I've got my driver registering the isr on it's own now.  In the
end the problem was the dts and also not using irq_of_parse_and_map.
Ron
--- Scott Wood <scottwood at freescale.com> wrote:
> Ron Madrid wrote:
> > I don't see a "dma" node in the mpc8377mds.dts (2.6.25).  I found one in mpc8610_hpcd.dts and
> > modeled it after that.
> 
> Try head-of-tree.
> 
> > 		dma at 82a8 {
> > 			#address-cells = <1>;
> > 			#size-cells = <1>;
> > 			compatible = "fsl,elo-dma";
> > 			cell-index = <0>;
> > 			reg = <0x82a8 0x4>; /* DMA general status register */
> > 			ranges = <0x0 0x8100 0x200>;
> 
> Should also put the interrupts in the dma node itself, so that the 
> driver can register it once and use the shared status register (but 
> don't remove it from the individual channels).
> 
> -Scott
> 
    
    
More information about the Linuxppc-dev
mailing list