1# DMA configuration options
2
3# Copyright (c) 2020, NXP
4# SPDX-License-Identifier: Apache-2.0
5
6config DMA_MCUX_EDMA
7	bool "MCUX DMA driver"
8	default y
9	depends on DT_HAS_NXP_MCUX_EDMA_ENABLED
10	imply NOCACHE_MEMORY if HAS_MCUX_CACHE
11	help
12	  DMA driver for MCUX series SoCs.
13
14config DMA_MCUX_EDMA_V3
15	bool "MCUX DMA v3 driver"
16	default y
17	depends on DT_HAS_NXP_MCUX_EDMA_V3_ENABLED
18	help
19	  DMA version 3 driver for MCUX series SoCs.
20
21if DMA_MCUX_EDMA || DMA_MCUX_EDMA_V3
22
23config DMA_TCD_QUEUE_SIZE
24	int "number of TCD in a queue for SG mode"
25	default 2
26	help
27	  number of TCD in a queue for SG mode
28
29config DMA_MCUX_TEST_SLOT_START
30	int "test slot start num"
31	depends on (SOC_SERIES_KINETIS_K6X || SOC_SERIES_KINETIS_KE1XF || SOC_SERIES_S32K3XX)
32	default 58 if SOC_SERIES_KINETIS_K6X
33	default 60 if SOC_SERIES_KINETIS_KE1XF
34	default 62 if SOC_SERIES_S32K3XX
35	help
36	  test slot start num
37
38config DMA_MCUX_USE_DTCM_FOR_DMA_DESCRIPTORS
39	bool "Use DTCM for DMA descriptors"
40	help
41	  When this option is activated, the descriptors for DMA transfer are
42	  located in the DTCM (Data Tightly Coupled Memory).
43
44endif # DMA_MCUX_EDMA || DMA_MCUX_EDMA_V3
45