DMA implementation on MPC8572
Ira W. Snyder
iws at ovro.caltech.edu
Fri Jan 7 07:52:10 EST 2011
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.
More information about the Linuxppc-dev