drivers/dma/stm32/Kconfig

Source file repositories/reference/linux-study-clean/drivers/dma/stm32/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/dma/stm32/Kconfig
Extension
[no extension]
Size
1382 bytes
Lines
48
Domain
Driver Families
Bucket
drivers/dma
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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

Annotation

Implementation Notes