dmaengine: fsl-edma: add edma version and configurable registers
authorAngelo Dureghello <angelo@sysam.it>
Sun, 19 Aug 2018 17:27:14 +0000 (19:27 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 11 Sep 2018 06:36:39 +0000 (12:06 +0530)
commit377eaf3b3c4ad74efed77e846320188fc312a0e2
treebd188d8fb1e1a8856d216ad5406dd9845c151950
parent9d831528a6567da92d1ce2a77c575af29068d063
dmaengine: fsl-edma: add edma version and configurable registers

This patch adds configurable registers (using __iomem addresses)
to allow the use of fsl-edma-common code with slightly different
edma module versions, as Vybrid (v1) and ColdFire (v2) are.

Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Tested-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-edma-common.c
drivers/dma/fsl-edma-common.h
drivers/dma/fsl-edma.c