diff options
author | Pierre-Yves MORDRET <pierre-yves.mordret@st.com> | 2017-09-28 17:36:41 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-10-08 11:15:34 +0200 |
commit | a4ffb13c8946abc4b92621275de6718e19db860d (patch) | |
tree | 7005d0c1aa302a5c6843472190599e192f982ff6 /drivers/dma/Kconfig | |
parent | dt-bindings: Document the STM32 MDMA bindings (diff) | |
download | linux-a4ffb13c8946abc4b92621275de6718e19db860d.tar.xz linux-a4ffb13c8946abc4b92621275de6718e19db860d.zip |
dmaengine: Add STM32 MDMA driver
This patch adds the driver for the STM32 MDMA controller.
Master Direct memory access (MDMA) is used in order to provide high-speed
data transfer between memory and memory or between peripherals and memory.
MDMA controller provides a master AXI interface for main memory and
peripheral registers access (system access port) and a master AHB
interface only for Cortex-M7 TCM memory access (TCM access port).
MDMA works in conjunction with the standard DMA controllers (DMA1 or DMA2).
It offers up to 64 channels, each dedicated to managing memory access
requests from one of the DMA stream memory buffer or other peripherals
(w/ integrated FIFO).
Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/Kconfig')
-rw-r--r-- | drivers/dma/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 04e381b522b4..73446622ccc9 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -492,6 +492,18 @@ config STM32_DMAMUX If you have a board based on such a MCU and wish to use DMAMUX say Y here. +config STM32_MDMA + bool "STMicroelectronics STM32 master dma support" + depends on ARCH_STM32 || COMPILE_TEST + select DMA_ENGINE + select DMA_OF + select DMA_VIRTUAL_CHANNELS + help + Enable support for the on-chip MDMA controller on STMicroelectronics + STM32 platforms. + If you have a board based on STM32 SoC and wish to use the master DMA + say Y here. + config S3C24XX_DMAC bool "Samsung S3C24XX DMA support" depends on ARCH_S3C24XX || COMPILE_TEST |