1 /*
2  * Copyright (c) 2023 Renesas Electronics Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef ZEPHYR_INCLUDE_DRIVERS_DMA_DMA_SMARTBOND_H_
8 #define ZEPHYR_INCLUDE_DRIVERS_DMA_DMA_SMARTBOND_H_
9 
10 /**
11  * @brief Vendror-specific DMA peripheral triggering sources.
12  *
13  * A valid triggering source should be provided when DMA
14  * is configured for peripheral to peripheral or memory to peripheral
15  * transactions.
16  */
17 enum dma_smartbond_trig_mux {
18 	DMA_SMARTBOND_TRIG_MUX_SPI   = 0x0,
19 	DMA_SMARTBOND_TRIG_MUX_SPI2  = 0x1,
20 	DMA_SMARTBOND_TRIG_MUX_UART  = 0x2,
21 	DMA_SMARTBOND_TRIG_MUX_UART2 = 0x3,
22 	DMA_SMARTBOND_TRIG_MUX_I2C   = 0x4,
23 	DMA_SMARTBOND_TRIG_MUX_I2C2  = 0x5,
24 	DMA_SMARTBOND_TRIG_MUX_USB   = 0x6,
25 	DMA_SMARTBOND_TRIG_MUX_UART3 = 0x7,
26 	DMA_SMARTBOND_TRIG_MUX_PCM   = 0x8,
27 	DMA_SMARTBOND_TRIG_MUX_SRC   = 0x9,
28 	DMA_SMARTBOND_TRIG_MUX_GPADC = 0xC,
29 	DMA_SMARTBOND_TRIG_MUX_SDADC = 0xD,
30 	DMA_SMARTBOND_TRIG_MUX_NONE  = 0xF
31 };
32 
33 #endif /* ZEPHYR_INCLUDE_DRIVERS_DMA_DMA_SMARTBOND_H_ */
34