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.
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.