dmaengine: fsl-edma: support edma memcpy
authorJoy Zou <joy.zou@nxp.com>
Tue, 26 Oct 2021 09:00:25 +0000 (17:00 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 28 Oct 2021 17:26:24 +0000 (22:56 +0530)
commite0674853943287669a82d1ffe09a700944615978
tree030225807cafa7f415ecb6c777678f00962d0218
parenta3e340c1574b6679f5b333221284d0959095da52
dmaengine: fsl-edma: support edma memcpy

Add memcpy in edma. The edma has the capability to transfer data by
software trigger so that it could be used for memory copy. Enable
MEMCPY for edma driver and it could be test directly by dmatest.

Signed-off-by: Joy Zou <joy.zou@nxp.com>
Link: https://lore.kernel.org/r/20211026090025.2777292-1-joy.zou@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-edma-common.c
drivers/dma/fsl-edma-common.h
drivers/dma/fsl-edma.c