Skip to content
Commit 8185faa0 authored by Dat Nguyen Duy's avatar Dat Nguyen Duy Committed by David Leach
Browse files

drivers: dma_mcux_edma: add support dma driver for s32k344



On S32K344, the offset in memory map between each channel
is 0x4000 for most channels, but there is specific case is
between channel 11 and 12 which is 0x1D4000 instead. As a
consequence, 32 channels are divided to two parts: one
starts from channel 0 -> 11. The other is from channel 128
to 145. The channel gap is from 12 -> 127.

For user and data structures in shim driver, the channel's
value comes from 0 --> 31. Above constraint will be counted
when interact with the mcux sdk

Beside that, the DMAMUX register in this platform is very
specific, not in identical with DMAMUX channel, so shim
driver is updated to cover this case

Signed-off-by: default avatarDat Nguyen Duy <dat.nguyenduy@nxp.com>
parent d4a2b224
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment