I have written a SPI protocol driver to connect a data acquisition chip
to a character based interface to read and write the device. It works
well in PIO mode and I am trying to get it to work with DMA.
To enable the DMA I am setting enable_dma in the pxa2xx_psi_chip struct
and dma_burst_size to 16 in the pxa2xx_spi_chip structure under the
board master file arch/arm/mach-pxa/xxxx.c.
Other than that I have not really changed anything. I had assumed since
DMA code has been in the driver a while that DMA would just work. I
must be missing some setup data I need.
Any help would be appreciated,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Video 4 Linux]
[Linux for the blind]