I'm looking for some examples of using BCDMA in linux sdk. I can see that there's a driver + dma glue layer.
Can you help me on this please ?
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.
Do you want to write your own Kernel driver to use BCDMA or what is your use case? If you are planning to use this from userspace I don't think it is easily/readily accessible but I can look closer to see what options there are.
you can find example uses of the BCDMA by searching the AM6x device tree files for references of main_bcdma, and then tracing those back to the respective driver sources based on searching for the "compatible" strings. Note that the BCDMA is not accessed directly but instead this is done through the DMAEngine Kernel framework (https://docs.kernel.org/driver-api/dmaengine/index.html).