I am writing a custom driver for a peripheral built on the opb_ipif interface with DMA built-in to the peripheral. The peripheral has a read FIFO. I wish to transfer data from this FIFO to memory for access via a read call on my device. Any suggestions for reading material?
I thought you would use calls to dma_map_single(...) and dma_ unmap_single(...), but I am having trouble with them. Am I on the right path?