49b490161d
Move dmamux_stm32_channels struct from device data to device configuration and initialize the dmamux channel - dma channel assignment during build time, as this association is hardwired in all known series. The information is taken from dma_offset and dma_requests device tree properties. The current implementation is valid for series with either a single or two dma peripherals and a single dmamux peripheral. Both dmas can independently enabled. As the driver uses multi-instance DT_INST_DEFINE, also macros for a second dmamux are are added that should allow easier extension to a second dmamux instance. Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.dma_pl330 | ||
Kconfig.dw | ||
Kconfig.iproc_pax | ||
Kconfig.mcux_edma | ||
Kconfig.mcux_lpc | ||
Kconfig.nios2_msgdma | ||
Kconfig.sam0 | ||
Kconfig.sam_xdmac | ||
Kconfig.stm32 | ||
dma_dw.c | ||
dma_dw.h | ||
dma_handlers.c | ||
dma_iproc_pax.h | ||
dma_iproc_pax_v1.c | ||
dma_iproc_pax_v1.h | ||
dma_iproc_pax_v2.c | ||
dma_iproc_pax_v2.h | ||
dma_mcux_edma.c | ||
dma_mcux_edma.h | ||
dma_mcux_lpc.c | ||
dma_nios2_msgdma.c | ||
dma_pl330.c | ||
dma_pl330.h | ||
dma_sam0.c | ||
dma_sam_xdmac.c | ||
dma_sam_xdmac.h | ||
dma_stm32.c | ||
dma_stm32.h | ||
dma_stm32_v1.c | ||
dma_stm32_v2.c | ||
dmamux_stm32.c | ||
dmamux_stm32.h |