-
Notifications
You must be signed in to change notification settings - Fork 8.2k
drivers: dma: Add SAM0 DMAC driver #14861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
All checks are passing now. Review history of this comment for details about previous failed status. |
Codecov Report
@@ Coverage Diff @@
## master #14861 +/- ##
==========================================
- Coverage 52.83% 52.52% -0.32%
==========================================
Files 310 309 -1
Lines 45324 45063 -261
Branches 10476 10434 -42
==========================================
- Hits 23947 23669 -278
+ Misses 16590 16583 -7
- Partials 4787 4811 +24
Continue to review full report at Codecov.
|
|
Nice! I've just tried it on the SAME54 and it immediately worked ( |
d7ed3d9 to
bec8edd
Compare
galak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, one minor change to add comment about where DMAC_CHID_ID is coming from and why we might be using it (assuming this varies on different SoC variants).
This adds support for the SAM0 DMA Controller (DMAC). Chained transfer are not currently implemented. Tested with tests/drivers/dma/loop_transfer and custom modifications to that test using three parallel reloading channels. Also tested with a trivial program that did memory->serial. Signed-off-by: Michael Hope <[email protected]> [[email protected]: Rebased and updated commit message] Signed-off-by: Derek Hageman <[email protected]>
Add myself as owner for the SAM0 DMA driver. Signed-off-by: Derek Hageman <[email protected]>
This adds support for the SAM0 DMA Controller (DMAC).
This is a rebase and update of #6306 including implementing the new reload API and changes to support some of the updates to the DMAC found in SAME54.
Tested on SAMD21 with
tests/drivers/dma/loop_transferand custom modificationsto that test using three parallel reloading channels. Also tested
with a trivial program that did memory->serial.
@benpicco: I have compile tested this against your SAME54 branch, but if you have a chance, let me know if it works!