Skip to content

Commit 86e673f

Browse files
ADESTMvinodkoul
authored andcommitted
dt-bindings: dma: add direct mode support through device tree in stm32-dma
Direct mode or FIFO mode is computed by stm32-dma driver. Add a way for the user to force direct mode, by setting bit 2 in the bitfield value specifying DMA features in the device tree. Signed-off-by: Amelie Delaunay <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 920c597 commit 86e673f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/devicetree/bindings/dma/st,stm32-dma.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ description: |
3636
0x1: 1/2 full FIFO
3737
0x2: 3/4 full FIFO
3838
0x3: full FIFO
39+
-bit 2: DMA direct mode
40+
0x0: FIFO mode with threshold selectable with bit 0-1
41+
0x1: Direct mode: each DMA request immediately initiates a transfer
42+
from/to the memory, FIFO is bypassed.
43+
3944
4045
maintainers:
4146
- Amelie Delaunay <[email protected]>

0 commit comments

Comments
 (0)