dmaengine: uniphier-xdmac: Add UniPhier external DMA controller driver
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 21 Feb 2020 07:52:30 +0000 (16:52 +0900)
committerVinod Koul <vkoul@kernel.org>
Mon, 2 Mar 2020 09:24:34 +0000 (14:54 +0530)
commit667b9251440b762ebc8cd3348a6e6ab29401bb97
treeff4672478c34f95da6097958bcf83656e0b47b0e
parentb9fb56b6ba8abc96484f007973ca00e30b104422
dmaengine: uniphier-xdmac: Add UniPhier external DMA controller driver

This adds external DMA controller driver implemented in Socionext
UniPhier SoCs. This driver supports DMA_MEMCPY and DMA_SLAVE modes.

Since this driver does not support the the way to transfer size
unaligned to burst width, 'src_maxburst' or 'dst_maxburst' of
dma_slave_config must be 1 to transfer arbitrary size. If transfer
size is unaligned to burst size, the transfer isn't started and
the driver displays an error message.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1582271550-3403-3-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig
drivers/dma/Makefile
drivers/dma/uniphier-xdmac.c [new file with mode: 0644]