]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: fsl-edma: select of_dma_xlate based on the dmamuxs presence
authorLarisa Grigore <larisa.grigore@oss.nxp.com>
Thu, 19 Dec 2024 10:24:10 +0000 (12:24 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 24 Dec 2024 09:44:13 +0000 (15:14 +0530)
commita4b00f54a20bba0bbfc952a8cb4c3cbe29e408b0
treea9f06749b4912192a0d97500fac941ab557c8822
parent57a7138d0627309d469719f1845d2778c251f358
dmaengine: fsl-edma: select of_dma_xlate based on the dmamuxs presence

Select the of_dma_xlate function based on the dmamuxs definition rather
than the FSL_EDMA_DRV_SPLIT_REG flag, which pertains to the eDMA3
layout.

This change is a prerequisite for the S32G platforms, which integrate both
eDMAv3 and DMAMUX.

Existing platforms with FSL_EDMA_DRV_SPLIT_REG will not be impacted, as
they all have dmamuxs set to zero.

Signed-off-by: Larisa Grigore <larisa.grigore@oss.nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20241219102415.1208328-2-larisa.grigore@oss.nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-edma-main.c