dmaengine: Add Synopsys eDMA IP test and sample driver
RFC v3 7/7 dmaengine: Add Synopsys eDMA IP test and sample driver
Quoted 13 lines · Gustavo Pimentel
Quoted 12 lines · Andy Shevchenko
Quoted 10 lines · Gustavo Pimentel
Add Synopsys eDMA IP test and sample driver to be use for testing purposes and also as a reference for any developer who needs to implement and use Synopsys eDMA.
This driver can be compile as built-in or external module in kernel.
To enable this driver just select
DW_EDMA_TESToption in kernel configuration, however it requires and selects automaticallyDW_EDMAoption too.
Quoted 7 lines
Quoted 1 line
Hmm... This doesn't explain what's wrong with dmatest module.
There isn't anything wrong with dmatest module, that I know of. In beginning I was planning to used it, however only works with
MEM_TO_MEMtransfers, that's why I created a similar module but forMEM_TO_DEVandDEV_TO_MEMwith scatter-gather and cyclic transfers type for my use case. I don't know if can be applied to other cases, if that is feasible, I'm glad to share it.
What I'm trying to tell is that the dmatest driver would be nice to have such capability.