dmaengine: Actions: Add support for S700 DMA engine
authorAmit Singh Tomar <amittomer25@gmail.com>
Sun, 19 Jul 2020 17:42:00 +0000 (23:12 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 27 Jul 2020 09:13:08 +0000 (14:43 +0530)
commit6f9e40d4ce0bf322c95c2155d99d90ae96c58777
tree7588bc9d97f0d0ae7dc2d950417b703d7f6d185f
parent57937faeed386a1d0617f99157e358ebd510e4cd
dmaengine: Actions: Add support for S700 DMA engine

DMA controller present on S700 SoC is compatible with the one on S900
(as most of registers are same), but it has different DMA descriptor
structure where registers "fcnt" and "ctrlb" uses different encoding.

For instance, on S900 "fcnt" starts at offset 0x0c and uses upper 12
bits whereas on S700, it starts at offset 0x1c and uses lower 12 bits.

This commit adds support for DMA controller present on S700.

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Link: https://lore.kernel.org/r/1595180527-11320-4-git-send-email-amittomer25@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/owl-dma.c