]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: sprd: Support DMA 2-stage transfer mode
authorEric Long <eric.long@spreadtrum.com>
Tue, 6 Nov 2018 05:01:36 +0000 (13:01 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 5 Dec 2018 08:57:12 +0000 (14:27 +0530)
commit770399df90b6e43bd086653f0a35888dca056576
tree30e8ba646dc6085fc48f7e127aded24e1c9e2d47
parent97dbd6ea02beb3a7027c158e0a110b5095268d59
dmaengine: sprd: Support DMA 2-stage transfer mode

The Spreadtrum DMA controller supports channel 2-stage tansfer mode,
that means we can request 2 dma channels, one for source channel, and
another one for destination channel. Once the source channel's transaction
is done, it will trigger the destination channel's transaction automatically
by hardware signal.

Signed-off-by: Eric Long <eric.long@spreadtrum.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sprd-dma.c
include/linux/dma/sprd-dma.h