diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2020-04-22 13:29:03 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-04-27 19:10:12 +0300 |
commit | 86e673f7c974f7385d2bdfa91360ea4b800a85f8 (patch) | |
tree | f90a4034a7dc76032b94481bc02b793ffa4361a2 /Documentation/devicetree/bindings/dma | |
parent | 920c5974f0d3aff91b5751e7568b54752fb5d6da (diff) | |
download | linux-86e673f7c974f7385d2bdfa91360ea4b800a85f8.tar.xz |
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 <amelie.delaunay@st.com>
Link: https://lore.kernel.org/r/20200422102904.1448-2-amelie.delaunay@st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/dma')
-rw-r--r-- | Documentation/devicetree/bindings/dma/st,stm32-dma.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml b/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml index 0c0ac11ad55f..71987878e4ae 100644 --- a/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml +++ b/Documentation/devicetree/bindings/dma/st,stm32-dma.yaml @@ -36,6 +36,11 @@ description: | 0x1: 1/2 full FIFO 0x2: 3/4 full FIFO 0x3: full FIFO + -bit 2: DMA direct mode + 0x0: FIFO mode with threshold selectable with bit 0-1 + 0x1: Direct mode: each DMA request immediately initiates a transfer + from/to the memory, FIFO is bypassed. + maintainers: - Amelie Delaunay <amelie.delaunay@st.com> |