35 lines
983 B
Plaintext
35 lines
983 B
Plaintext
|
# Copyright 2024 NXP
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
config DMA_NXP_EDMA
|
||
|
bool "NXP enhanced Direct Memory Access (eDMA) driver"
|
||
|
default y
|
||
|
depends on DT_HAS_NXP_EDMA_ENABLED
|
||
|
help
|
||
|
Enable driver for NXP's eDMA IP.
|
||
|
|
||
|
if DMA_NXP_EDMA
|
||
|
|
||
|
config DMA_NXP_EDMA_ALIGN
|
||
|
int "Alignment (in bytes) required for the transfers"
|
||
|
default 8
|
||
|
help
|
||
|
Use this to set the alignment (in bytes)
|
||
|
used by entities employing this driver to
|
||
|
adjust the addresses and sizes of the memory
|
||
|
regions involved in the transfer process.
|
||
|
This value needs to match one of the possible
|
||
|
values for SSIZE and DSIZE, otherwise the
|
||
|
driver will return an error upon configuration.
|
||
|
|
||
|
config DMA_NXP_EDMA_ENABLE_HALFMAJOR_IRQ
|
||
|
bool "Set if CPU should be interrupted when CITER = BITER / 2"
|
||
|
default n
|
||
|
help
|
||
|
Enable this configuration if the CPU should be
|
||
|
interrupted when CITER = BITER / 2. Using this,
|
||
|
the CPU will be interrupted when CITER = BITER and
|
||
|
when CITER = BITER / 2.
|
||
|
|
||
|
endif # DMA_NXP_EDMA
|