drivers: dma : stm32 with dmamux has a special offset
This new offset value in the dma config is made to build the table of dma mux_channels with a dmamux. Range depends on the nb of channels for selected dma instance Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
19a93a3c68
commit
720863217d
2 changed files with 12 additions and 6 deletions
|
@ -36,6 +36,9 @@ struct dma_stm32_config {
|
|||
bool support_m2m;
|
||||
uint32_t base;
|
||||
uint32_t max_streams;
|
||||
#ifdef CONFIG_DMAMUX_STM32
|
||||
uint8_t offset; /* position in the list of dmamux channel list */
|
||||
#endif
|
||||
struct dma_stm32_stream *streams;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue