dmaengine: fsl-edma: add i.mx7ulp edma2 version support
authorRobin Gong <yibin.gong@nxp.com>
Wed, 24 Jul 2019 07:20:34 +0000 (15:20 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 8 Aug 2019 12:24:36 +0000 (17:54 +0530)
commit232a7f18cf8ecbd92a8cc6ca7feee4f6aab668fe
treea32d24f6601db86b1e85d8cdef173a7dd4705275
parent719e25dba4430a7f2b1e77fa962f0527ebc9371d
dmaengine: fsl-edma: add i.mx7ulp edma2 version support

Add edma2 for i.mx7ulp by version v3, since v2 has already
been used by mcf-edma.
The big changes based on v1 are belows:
1. only one dmamux.
2. another clock dma_clk except dmamux clk.
3. 16 independent interrupts instead of only one interrupt for
all channels.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Link: https://lore.kernel.org/r/1563952834-7731-1-git-send-email-yibin.gong@nxp.com
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