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
14if DMA_MCUX_EDMA
15
16config DMA_TCD_QUEUE_SIZE
17	int "number of TCD in a queue for SG mode"
18	default 2
19	help
20	  number of TCD in a queue for SG mode
21
22config DMA_MCUX_TEST_SLOT_START
23	int "test slot start num"
24	depends on (SOC_SERIES_KINETIS_K6X || SOC_SERIES_KINETIS_KE1XF)
25	default 58 if SOC_SERIES_KINETIS_K6X
26	default 60 if SOC_SERIES_KINETIS_KE1XF
27	help
28	  test slot start num
29
30config DMA_MCUX_USE_DTCM_FOR_DMA_DESCRIPTORS
31	bool "Use DTCM for DMA descriptors"
32	help
33	  When this option is activated, the descriptors for DMA transfer are
34	  located in the DTCM (Data Tightly Coupled Memory).
35
36endif # DMA_MCUX_EDMA
37