diff options
author | Amelie Delaunay <amelie.delaunay@foss.st.com> | 2022-08-29 17:46:46 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-04 19:18:02 +0200 |
commit | 69687432277132c3740bee3a9ae3d375cf6e86db (patch) | |
tree | edb027cad2054f672c76cb3643b1a595215fba32 /drivers/dma/hsu | |
parent | dmaengine: stm32-dma: add support to trigger STM32 MDMA (diff) | |
download | linux-69687432277132c3740bee3a9ae3d375cf6e86db.tar.xz linux-69687432277132c3740bee3a9ae3d375cf6e86db.zip |
dmaengine: stm32-mdma: add support to be triggered by STM32 DMA
STM32 MDMA can be triggered by STM32 DMA channels transfer complete.
In case of non-null struct dma_slave_config .peripheral_size, it means the
DMA client wants the DMA to trigger the MDMA.
stm32-mdma driver gets the request id, the mask_addr, and the mask_data in
struct stm32_mdma_dma_config passed by DMA with struct dma_slave_config
.peripheral_config/.peripheral_size.
Then, as DMA is configured in Double-Buffer mode, and MDMA channel will
transfer data from/to SRAM to/from DDR, then bursts are optimized.
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20220829154646.29867-7-amelie.delaunay@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/hsu')
0 files changed, 0 insertions, 0 deletions