[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190527085118.40423-1-yibin.gong@nxp.com>
Date: Mon, 27 May 2019 16:51:11 +0800
From: yibin.gong@....com
To: robh@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
festevam@...il.com, mark.rutland@....com, vkoul@...nel.org,
dan.j.williams@...el.com
Cc: linux-imx@....com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, dmaengine@...r.kernel.org,
devicetree@...r.kernel.org, kernel@...gutronix.de
Subject: [PATCH v2 0/7] add edma2 for i.mx7ulp
From: Robin Gong <yibin.gong@....com>
This patch set add new version of edma for i.mx7ulp, the main changes
are as 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.
For the first change, need modify fsl-edma-common.c and mcf-edma,
so create the first two patches to prepare without any function impact.
For the third change, need request single irq for every channel with
the legacy handler. But actually 2 dma channels share one interrupt(16
channel interrupts, but 32 channels.),ch0/ch16,ch1/ch17... For now, just
simply request irq without IRQF_SHARED flag, since 16 channels are enough
on i.mx7ulp whose M4 domain own some peripherals.
change from v1:
1. Check .data of 'of_device_id' in probe instead of compatible name.
2. pull binding doc patch before driver patch.
Robin Gong (7):
dmaengine: fsl-edma: add dmamux_nr for next version
dmaengine: mcf-edma: update to 'dmamux_nr'
dmaengine: fsl-edma-common: move dmamux register to another single
function
dmaengine: fsl-edma-common: version check for v2 instead
dt-bindings: dma: fsl-edma: add new i.mx7ulp-edma
dmaengine: fsl-edma: add i.mx7ulp edma2 version support
ARM: dts: imx7ulp: add edma device node
Documentation/devicetree/bindings/dma/fsl-edma.txt | 44 ++++++++--
arch/arm/boot/dts/imx7ulp.dtsi | 28 +++++++
drivers/dma/fsl-edma-common.c | 74 +++++++++++------
drivers/dma/fsl-edma-common.h | 4 +
drivers/dma/fsl-edma.c | 95 +++++++++++++++++++---
drivers/dma/mcf-edma.c | 1 +
6 files changed, 204 insertions(+), 42 deletions(-)
--
2.7.4
Powered by blists - more mailing lists