dma: enable edma drivers for mcux#23689
dma: enable edma drivers for mcux#23689MaureenHelm merged 6 commits intozephyrproject-rtos:masterfrom
Conversation
|
All checks are passing now. checkpatch (informational only, not a failure)Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
6a9f8fe to
5788b73
Compare
a4aed9b to
bd4e7da
Compare
6e628ac to
d948610
Compare
erwango
left a comment
There was a problem hiding this comment.
I'm fine with current change, but it would have been nice that others can use DMA_MCUX_TEST_SLOT_START. This can be changed in upcoming change.
09fbf0c to
a70c11f
Compare
|
API meeting: No objections to the changes in the DMA config structure, except for additional comments. |
cbf2c70 to
90ad283
Compare
|
On On |
|
@MaureenHelm , Thanks for this checking. I see problem in FRDM_K64F, I will debug this. for RT1064 problem, it is because the received buffer size is more than the data transferred, and some random data is print out, let me fix it as well. the frdmk64f problem seems we can not call the strlen in irq call back, if I replace it to sizeof, or a fix value, this problem gone. some analysis foundings: we'd better not access the tx/rx memory then we start to use it as dma in dma ira handler, strlen(tx) will try to access tx memory, this would cause problem, in dma finish irq. and for frdmk64f the src size shall be times of 8 bytes, according to the reference manual, so I add padding. log for frdmk64f log for rt1064 |
b76f313 to
2e59a18
Compare
for RT series CONFIG_NOCACHE_MEMORY need enabled for Kinetis series CONFIG_DMA_TEST_SLOT_START for test modify the target and dest alignment frdmk64f need replace strlen to sizeof in irq callback clean the unused receive buffer, so output is tidy Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
1. expand PERIPHERAL_TO_PERIPHERAL 2. add slot size to 128 as i.MX-rt has 127 slot 3. add link_channel member in dma_conf which is used to support chain channel Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
add clock rate for RT series from ipg Kinetis does not need additional clock added Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
add MCUX EDMA support for dts binding Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
tested on mimxrt1060_evt MEMORY_NOCACHE is needed test on frdmk64f special test slot need configure with CONFIG_DMA_TEST_SLOT_START Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
add dma direction check for dma_sam0 Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
edma rt series support. tested on mimxrt1060_evt/frdmk64f
MEMORY_NOCACHE is needed for rt
test slot need special set for kinetis
Signed-off-by: Hake Huang hake.huang@oss.nxp.com
Depends on zephyrproject-rtos/hal_nxp#35