nxp-mcuxpresso / mcux-sdk

MCUXpresso SDK
BSD 3-Clause "New" or "Revised" License
301 stars 136 forks source link

drivers: Introduce revision 2 of the edma driver #152

Closed LaurentiuM1234 closed 5 months ago

LaurentiuM1234 commented 7 months ago

Tested locally using Zephyr+SOF on i.MX93

The point of this new revision is to provide a standard API that will work for any EDMA revision and also allows the usage of virtual addresses. The already existing edma4 driver can't be used because it only allows for identity mapped virtual addresses, which is a bad restriction for an MPU.

For now, this revision works for EDMA3 and EDMA4. I'm going to have to tweak it a little bit if we decide to support more EDMA revisions.

mcuxsusan commented 7 months ago

Hi @LaurentiuM1234, internally I have assigned the ticket to our developer, no progress yet. cc @zejiang0jason to help.

zejiang0jason commented 5 months ago

Suggest create new edma_ver2 folder, and place the fsl_edma_ver2.h/c there.