Skip to contentSkip to conversation

dmaengine: Add driver for Xilinx MPMC

PATCH In review Steven J. Magnani 2 participants 2 messages Mar 17, 2010 – Mar 26, 2010

lore
Share & tools
lore
#0 lore raw

cover dmaengine: Add driver for Xilinx MPMC

This is a DMA engine driver for SDMA channels on a Xilinx Multi-Port Memory Controller (MPMC).

Caveats:
* The OF bus driver (part 4) is based on the fsldma driver and how I thought the device and channels might be represented in a device tree blob. As I don't use OF in my kernel, all I am able to do is verify that the code compiles. Suggestions for improvement are especially welcome here.

* Similarly, I took a stab at DCR support based on the ll_temac driver and some discussions about supporting both DCR and simple pointer access to device registers. I'm working on Microblaze so cannot test the DCR code.

Regards,
------------------------------------------------------------------------
Steven J. Magnani "I claim this network for MARS!
www.digidescorp.com Earthling, return my space modulator!"

#include <standard.disclaimer>

#1 lore raw
Quoted 8 lines · Steven J. Magnani

This is a DMA engine driver for SDMA channels on a Xilinx Multi-Port Memory Controller (MPMC).

Caveats:
* The OF bus driver (part 4) is based on the fsldma driver and how I thought the device and channels might be represented in a device tree blob. As I don't use OF in my kernel, all I am able to do is verify that the code compiles. Suggestions for improvement are especially welcome here.

If you're not using the OF bits, then don't worry about them yet. They can be added later. of_platform is getting merged with platform bus anyway, so one driver will work with both.

Quoted 3 lines

* Similarly, I took a stab at DCR support based on the ll_temac driver and some discussions about supporting both DCR and simple pointer access to device registers. I'm working on Microblaze so cannot test the DCR code.

Again, don't bother with stuff you don't have. It can be added after the fact.

g.