dmaengine: axi-dmac: add regmap support
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Thu, 6 Jun 2019 10:45:50 +0000 (13:45 +0300)
committerVinod Koul <vkoul@kernel.org>
Fri, 14 Jun 2019 05:53:47 +0000 (11:23 +0530)
commitfc15be39a827e6e417431a8dc5ca2612d0b3e944
tree5ab2123e27218b3be5ed7a71d633f13aeaa58c00
parente28d915528136449ed261a743dfa3f392f555045
dmaengine: axi-dmac: add regmap support

The registers for AXI DMAC are detailed at:
  https://wiki.analog.com/resources/fpga/docs/axi_dmac#register_map

This change adds regmap support for these registers, in case some wants to
have a more direct access to them via this interface.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
[vkoul: fixed code style issue]
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig
drivers/dma/dma-axi-dmac.c