lkml.org 
[lkml]   [2020]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] STM32 DMA Direct mode
Date
By default, the driver compute if the FIFO must operate in direct mode or with
FIFO threshold. Direct mode is allowed only if computed source burst and
destination burst are disabled. But with memory source or destination, burst
is always > 0.
Direct mode is useful when the peripheral requires an immediate and single
transfer to or from the memory after each DMA request.
This patchset adds a way to force Direct mode through device tree.

Amelie Delaunay (2):
dt-bindings: dma: add direct mode support through device tree in
stm32-dma
dmaengine: stm32-dma: direct mode support through device tree

.../devicetree/bindings/dma/st,stm32-dma.yaml | 5 +++
drivers/dma/stm32-dma.c | 41 ++++++++++++++-----
2 files changed, 36 insertions(+), 10 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2020-04-22 12:30    [W:0.077 / U:1.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site