]> git.baikalelectronics.ru Git - kernel.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)
commit908b6503ce824774254cbd2a681d7916fe2ee099
tree30e8ba646dc6085fc48f7e127aded24e1c9e2d47
parentae07131433cc49d7fad8edcd206ddbbf2e4f3a44
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