xref: /linux/drivers/dma/stm32/Kconfig (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
176178a2cSAmelie Delaunay# SPDX-License-Identifier: GPL-2.0-only
276178a2cSAmelie Delaunay#
376178a2cSAmelie Delaunay# STM32 DMA controllers drivers
476178a2cSAmelie Delaunay#
576178a2cSAmelie Delaunayif ARCH_STM32 || COMPILE_TEST
676178a2cSAmelie Delaunay
776178a2cSAmelie Delaunayconfig STM32_DMA
876178a2cSAmelie Delaunay	bool "STMicroelectronics STM32 DMA support"
976178a2cSAmelie Delaunay	select DMA_ENGINE
1076178a2cSAmelie Delaunay	select DMA_VIRTUAL_CHANNELS
1176178a2cSAmelie Delaunay	help
1276178a2cSAmelie Delaunay	  Enable support for the on-chip DMA controller on STMicroelectronics
1376178a2cSAmelie Delaunay	  STM32 platforms.
1476178a2cSAmelie Delaunay	  If you have a board based on STM32 SoC with such DMA controller
1576178a2cSAmelie Delaunay	  and want to use DMA say Y here.
1676178a2cSAmelie Delaunay
1776178a2cSAmelie Delaunayconfig STM32_DMAMUX
1876178a2cSAmelie Delaunay	bool "STMicroelectronics STM32 DMA multiplexer support"
1976178a2cSAmelie Delaunay	depends on STM32_DMA
2076178a2cSAmelie Delaunay	help
2176178a2cSAmelie Delaunay	  Enable support for the on-chip DMA multiplexer on STMicroelectronics
2276178a2cSAmelie Delaunay	  STM32 platforms.
2376178a2cSAmelie Delaunay	  If you have a board based on STM32 SoC with such DMA multiplexer
2476178a2cSAmelie Delaunay	  and want to use DMAMUX say Y here.
2576178a2cSAmelie Delaunay
2676178a2cSAmelie Delaunayconfig STM32_MDMA
2776178a2cSAmelie Delaunay	bool "STMicroelectronics STM32 master DMA support"
2876178a2cSAmelie Delaunay	depends on OF
2976178a2cSAmelie Delaunay	select DMA_ENGINE
3076178a2cSAmelie Delaunay	select DMA_VIRTUAL_CHANNELS
3176178a2cSAmelie Delaunay	help
3276178a2cSAmelie Delaunay	  Enable support for the on-chip MDMA controller on STMicroelectronics
3376178a2cSAmelie Delaunay	  STM32 platforms.
3476178a2cSAmelie Delaunay	  If you have a board based on STM32 SoC with such DMA controller
3576178a2cSAmelie Delaunay	  and want to use MDMA say Y here.
3676178a2cSAmelie Delaunay
37*f561ec8bSAmelie Delaunayconfig STM32_DMA3
38*f561ec8bSAmelie Delaunay	tristate "STMicroelectronics STM32 DMA3 support"
39*f561ec8bSAmelie Delaunay	select DMA_ENGINE
40*f561ec8bSAmelie Delaunay	select DMA_VIRTUAL_CHANNELS
41*f561ec8bSAmelie Delaunay	help
42*f561ec8bSAmelie Delaunay	  Enable support for the on-chip DMA3 controller on STMicroelectronics
43*f561ec8bSAmelie Delaunay	  STM32 platforms.
44*f561ec8bSAmelie Delaunay	  If you have a board based on STM32 SoC with such DMA3 controller
45*f561ec8bSAmelie Delaunay	  and want to use DMA3, say Y here.
46*f561ec8bSAmelie Delaunay
4776178a2cSAmelie Delaunayendif
48