dmaengine: stm32-dma: direct mode support through device tree
authorAmelie Delaunay <amelie.delaunay@st.com>
Wed, 22 Apr 2020 10:29:04 +0000 (12:29 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 Apr 2020 16:10:12 +0000 (21:40 +0530)
commit955b17665d2c221521c554ae6aa22c2486de1a27
tree697032804d2be9f9c63fe1757b8f40a7632bb645
parent86e673f7c974f7385d2bdfa91360ea4b800a85f8
dmaengine: stm32-dma: direct mode support through device tree

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-3-amelie.delaunay@st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/stm32-dma.c