dmaengine: imx-sdma: Add device to device support
authorShengjiu Wang <shengjiu.wang@freescale.com>
Fri, 10 Jul 2015 09:08:16 +0000 (17:08 +0800)
committerVinod Koul <vinod.koul@intel.com>
Wed, 5 Aug 2015 03:16:34 +0000 (08:46 +0530)
commit8391ecf465ec5c8ccef547267df6d40beb8999a4
tree54545c09ee79a9ca59104e9e65d823cb9a3c1e72
parent4d9efdfce73c8f0c9e39d118833e4776719a8d40
dmaengine: imx-sdma: Add device to device support

This patch adds DEV_TO_DEV support for i.MX SDMA driver to support data
transfer between two peripheral FIFOs.
The per_2_per script requires two peripheral addresses and two DMA
requests, and it need to check the src addr and dst addr is in the SPBA
bus space or in the AIPS bus space.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c