]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9fcd0983d2ea0011455829de0b0c79133ec0427e
tree7588bc9d97f0d0ae7dc2d950417b703d7f6d185f
parent35f56f78cfd0688e272e237b30d14c1895311ad3
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