Re: EDMA on ARM

hong zhang <[email protected]> Mon, 28 Mar 2011 10:40:19 -0700 (PDT)
Newsgroups gmane.linux.ports.arm.general
Message-ID <[email protected]>
Russell,

arch/arm/mach-davinci/dma.c main kernel tree is exactly same as arch/arm/common/edma.c TI private tree.

I like to see if event is in ER (Event Register) in audio AIC3X. When event occurs, dma_irq_handler() will be called. But 0 value in ER. See

/* EDMA channel with event association */
enter edma_start EDMA: ER0 00000000

enter dma_irq_handler EDMA: ER0 00000000

I think I miss something here. Event number should be read.
Any ideas?

---henry

--- On Mon, 3/28/11, Russell King - ARM Linux <[email protected]> wrote:

> From: Russell King - ARM Linux <[email protected]>
> Subject: Re: EDMA on ARM
> To: "hong zhang" <[email protected]>
> Cc: [email protected]
> Date: Monday, March 28, 2011, 2:38 AM
> On Sun, Mar 27, 2011 at 09:52:34PM
> -0700, hong zhang wrote:
> > There are only two files talk about EDMA in ARM. One
> is
> > arch/arm/common/edma.c and
> arch/arm/mach-davinci/dma.c.
> 
> There is no arch/arm/common/edma.c in mainline.
> 
> > Do all ARMs SoC from different vedors share same DMA
> functionality
> > with edma.c?
> 
> The only SoC I'm aware of which uses it is Davinci.
>