| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
# |
| 3 |
# STM32 DMA controllers drivers |
| 4 |
# |
| 5 |
if ARCH_STM32 || COMPILE_TEST |
| 6 |
|
| 7 |
config STM32_DMA |
| 8 |
bool "STMicroelectronics STM32 DMA support" |
| 9 |
select DMA_ENGINE |
| 10 |
select DMA_VIRTUAL_CHANNELS |
| 11 |
help |
| 12 |
Enable support for the on-chip DMA controller on STMicroelectronics |
| 13 |
STM32 platforms. |
| 14 |
If you have a board based on STM32 SoC with such DMA controller |
| 15 |
and want to use DMA say Y here. |
| 16 |
|
| 17 |
config STM32_DMAMUX |
| 18 |
bool "STMicroelectronics STM32 DMA multiplexer support" |
| 19 |
depends on STM32_DMA |
| 20 |
help |
| 21 |
Enable support for the on-chip DMA multiplexer on STMicroelectronics |
| 22 |
STM32 platforms. |
| 23 |
If you have a board based on STM32 SoC with such DMA multiplexer |
| 24 |
and want to use DMAMUX say Y here. |
| 25 |
|
| 26 |
config STM32_MDMA |
| 27 |
bool "STMicroelectronics STM32 master DMA support" |
| 28 |
depends on OF |
| 29 |
select DMA_ENGINE |
| 30 |
select DMA_VIRTUAL_CHANNELS |
| 31 |
help |
| 32 |
Enable support for the on-chip MDMA controller on STMicroelectronics |
| 33 |
STM32 platforms. |
| 34 |
If you have a board based on STM32 SoC with such DMA controller |
| 35 |
and want to use MDMA say Y here. |
| 36 |
|
| 37 |
config STM32_DMA3 |
| 38 |
tristate "STMicroelectronics STM32 DMA3 support" |
| 39 |
select DMA_ENGINE |
| 40 |
select DMA_VIRTUAL_CHANNELS |
| 41 |
help |
| 42 |
Enable support for the on-chip DMA3 controller on STMicroelectronics |
| 43 |
STM32 platforms. |
| 44 |
If you have a board based on STM32 SoC with such DMA3 controller |
| 45 |
and want to use DMA3, say Y here. |
| 46 |
|
| 47 |
endif |