dmaengine: imx-sdma: support dual fifo for DEV_TO_DEV
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 29 Mar 2024 14:34:43 +0000 (10:34 -0400)
committerVinod Koul <vkoul@kernel.org>
Sun, 7 Apr 2024 11:19:25 +0000 (16:49 +0530)
commita20f10d6accb9f5096fa7a7296e5ae34f4562440
tree8b746ab575b66af0a96d18fe41fb427b165f0288
parent288109387becd8abadca5c063c70a07ae0dd7716
dmaengine: imx-sdma: support dual fifo for DEV_TO_DEV

SSI and SPDIF are dual fifo interface, when support ASRC P2P
with SSI and SPDIF, the src fifo or dst fifo number can be
two.

The p2p watermark level bit 13 and 14 are designed for
these use case. This patch is to complete this function
in driver.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Joy Zou <joy.zou@nxp.com>
Acked-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240329-sdma_upstream-v4-3-daeb3067dea7@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/imx-sdma.c