linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* DMA implementation on MPC8572
@ 2011-01-06 14:24 deebul nair
  2011-01-06 20:52 ` Ira W. Snyder
  0 siblings, 1 reply; 2+ messages in thread
From: deebul nair @ 2011-01-06 14:24 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 365 bytes --]

Hi all

I am using the MPC8572 processor.
I wanted to use the DMA functionality in the powerpc board for talking to a
FPGA device connected on the loacl bus.

I have compiled the fsldma.c code and inserted it.
On insertion the driver probes all the dma channels
Can anyone tell me how to test the driver and also how to use the driver?


-- 
Cheeers

Deebul !!!!!!

[-- Attachment #2: Type: text/html, Size: 481 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: DMA implementation on MPC8572
  2011-01-06 14:24 DMA implementation on MPC8572 deebul nair
@ 2011-01-06 20:52 ` Ira W. Snyder
  0 siblings, 0 replies; 2+ messages in thread
From: Ira W. Snyder @ 2011-01-06 20:52 UTC (permalink / raw)
  To: deebul nair; +Cc: linuxppc-dev

On Thu, Jan 06, 2011 at 07:54:16PM +0530, deebul nair wrote:
> Hi all
> 
> I am using the MPC8572 processor.
> I wanted to use the DMA functionality in the powerpc board for talking to a
> FPGA device connected on the loacl bus.
> 
> I have compiled the fsldma.c code and inserted it.
> On insertion the driver probes all the dma channels
> Can anyone tell me how to test the driver and also how to use the driver?
> 

For memcpy tests, the dmatest module provides a good example. See
drivers/dma/dmatest.c for the source.

For more advanced usage, search the archives for:
[PATCH RFCv3 0/2] CARMA Board Support

Those drivers use some of the advanced features of the DMAEngine API to
transfer data from an FPGA into RAM.

Ira

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-06 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-06 14:24 DMA implementation on MPC8572 deebul nair
2011-01-06 20:52 ` Ira W. Snyder

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).