dmaengine: at_xdmac: add AXI priority support and recommended settings
authorEugen Hristev <eugen.hristev@microchip.com>
Fri, 16 Oct 2020 09:39:18 +0000 (12:39 +0300)
committerVinod Koul <vkoul@kernel.org>
Fri, 30 Oct 2020 08:40:27 +0000 (14:10 +0530)
commitf40566f220a1a7ab3ac4de8d594a4a038bace156
tree71622bff6271e800edc21f95fa06e58dc09eeecf
parent2bec35a529b7d3bf28ee0d90ec157560fdf8d4e4
dmaengine: at_xdmac: add AXI priority support and recommended settings

The sama7g5 version of the XDMAC supports priority configuration and
outstanding capabilities.
Add defines for the specific registers for this configuration, together
with recommended settings.
However the settings are very different if the XDMAC is a mem2mem or a
per2mem controller.
Thus, we need to differentiate according to device tree property.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Link: https://lore.kernel.org/r/20201016093918.290137-1-eugen.hristev@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_xdmac.c