diff options
author | Amelie Delaunay <amelie.delaunay@foss.st.com> | 2022-08-29 17:46:44 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-04 22:48:02 +0530 |
commit | b9a22954f08074b2d0126e45636eb77b66395ac5 (patch) | |
tree | 323f4127425d6bdc5342f26eeaa38f1c4e9dd759 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c6c1a365d6115f159572106b0bfd9796b0bffd27 (diff) |
dmaengine: stm32-dmamux: set dmamux channel id in dma features bitfield
STM32 DMAMUX is used with STM32 DMA1 and DMA2:
- DMAMUX channels 0 to 7 are connected to DMA1 channels 0 to 7
- DMAMUX channels 8 to 15 are connected to DMA2 channels 0 to 7
STM32 MDMA can be triggered by DMA1 and DMA2 channels transfer complete,
and the "request line number" is the DMAMUX channel id (e.g. DMA2 channel 0
triggers MDMA with request line 8).
To well configure MDMA, set DMAMUX channel id in DMA features bitfield,
so that DMA can update struct dma_slave_config peripheral_config properly.
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20220829154646.29867-5-amelie.delaunay@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions