This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: How to use EDMA from Linux

Part Number: AM5728

Tool/software: Linux

Hi,

I'm using the latest TI PSDK Linux for the AM5728. I'd like to use EDMA from Linux to do some fast data copies. Do we have an EDMA driver for Linux? If so, is there documentation and examples?

Thanks

  • Yes, there is an EDMA driver.
    See Documentation/devicetree/bindings/ti-edma.txt and Documentation/devicetree/bindings/ti-dma-crossbar.txt for explanation how to set the EDMA in the device tree file.

    See Documentation/dmaengine/dmatest.txt to see how you can test EDMA from user space.

    Best Regards,
    Yordan
  • Yordan, thanks for the pointers. I'll take a look and try out the procedure explained in dmatest.txt. BTW, slight correction to your original reply,

    Instead of :

    Documentation/devicetree/bindings/ti-edma.txt

    It's actually located at:

    Documentation/devicetree/bindings/dma/ti-edma.txt

    At least that's where it's located in LPSDK 03.03.00.04