zephyr/drivers/dma/dma_mcux_edma.h
Mahesh Mahadevan 55abfcb31e drivers: dma: Update NXP EDMA driver for version 4
1. Update EDMA driver for version 4
2. The DMAMux module is not always present. Use the
   feature define to make this optional.
3. Use the EDMA_SetChannelMux API for SoC's that supports
   this feature.

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2024-03-26 16:39:18 -04:00

22 lines
403 B
C

/*
* Copyright 2020-23 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef DMA_MCUX_EDMA_H_
#define DMA_MCUX_EDMA_H_
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/drivers/dma.h>
#include <soc.h>
#include <fsl_common.h>
#include "fsl_edma.h"
#if defined(FSL_FEATURE_SOC_DMAMUX_COUNT) && FSL_FEATURE_SOC_DMAMUX_COUNT
#include "fsl_dmamux.h"
#endif
#endif /* DMA_MCUX_EDMA_H_*/