| # SPDX-License-Identifier: GPL-2.0-only | |
| # | |
| # STM32 DMA controllers drivers | |
| # | |
| if ARCH_STM32 || COMPILE_TEST | |
| config STM32_DMA | |
| bool "STMicroelectronics STM32 DMA support" | |
| select DMA_ENGINE | |
| select DMA_VIRTUAL_CHANNELS | |
| help | |
| Enable support for the on-chip DMA controller on STMicroelectronics | |
| STM32 platforms. | |
| If you have a board based on STM32 SoC with such DMA controller | |
| and want to use DMA say Y here. | |
| config STM32_DMAMUX | |
| bool "STMicroelectronics STM32 DMA multiplexer support" | |
| depends on STM32_DMA | |
| help | |
| Enable support for the on-chip DMA multiplexer on STMicroelectronics | |
| STM32 platforms. | |
| If you have a board based on STM32 SoC with such DMA multiplexer | |
| and want to use DMAMUX say Y here. | |
| config STM32_MDMA | |
| bool "STMicroelectronics STM32 master DMA support" | |
| depends on OF | |
| select DMA_ENGINE | |
| 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 with such DMA controller | |
| and want to use MDMA say Y here. | |
| config STM32_DMA3 | |
| tristate "STMicroelectronics STM32 DMA3 support" | |
| select DMA_ENGINE | |
| select DMA_VIRTUAL_CHANNELS | |
| help | |
| Enable support for the on-chip DMA3 controller on STMicroelectronics | |
| STM32 platforms. | |
| If you have a board based on STM32 SoC with such DMA3 controller | |
| and want to use DMA3, say Y here. | |
| endif |