RE: [PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-10-22 Thread Yao Yuan
l.com; > dmaeng...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- > ker...@lists.infradead.org; devicet...@vger.kernel.org > Subject: Re: [PATCH 1/2] dma: Add Freescale qDMA engine driver support > > On Fri, Sep 11, 2015 at 01:53:52PM +0800, Yuan Yao wrote: > > &

Re: [PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-10-05 Thread Vinod Koul
On Fri, Sep 11, 2015 at 01:53:52PM +0800, Yuan Yao wrote: > +Examples: > + > + qdma: qdma@839 { > + compatible = "fsl,ls-qdma"; > + reg = <0x0 0x838 0x0 0x2>; > + interrupts = , > + ; > + interrupt-names =

Re: [PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-09-23 Thread Li Yang
On Fri, Sep 11, 2015 at 12:53 AM, Yuan Yao wrote: > Add Freescale Queue Direct Memory Access(qDMA) controller support. > This module can be found on LS-1 and LS-2 SoCs. > > This add the legacy mode support for qDMA. > > Signed-off-by: Yuan Yao > --- > Documentation/devicetree/bindings/dma/fsl-qd

[PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-09-10 Thread Yuan Yao
Add Freescale Queue Direct Memory Access(qDMA) controller support. This module can be found on LS-1 and LS-2 SoCs. This add the legacy mode support for qDMA. Signed-off-by: Yuan Yao --- Documentation/devicetree/bindings/dma/fsl-qdma.txt | 43 ++ MAINTAINERS

Re: [PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-03-31 Thread Vinod Koul
On Tue, Mar 17, 2015 at 01:28:38PM +0800, Yuan Yao wrote: > +static int fsl_qdma_alloc_chan_resources(struct dma_chan *chan) > +{ > + /* > + * In QDMA mode, We don't need to do anything. > + */ > + return 0; > +} Pls remove this > +static struct fsl_qdma_comp *fsl_qdma_request_en

RE: [PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-03-19 Thread Yao Yuan
li...@intel.com; > linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org > Subject: Re: [PATCH 1/2] dma: Add Freescale qDMA engine driver support > > Just a license nit. > > On Tue, 2015-03-17 at 13:28 +0800, Yuan Yao wrote: > > --- /dev/null > > +++ b/d

Re: [PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-03-17 Thread Paul Bolle
Just a license nit. On Tue, 2015-03-17 at 13:28 +0800, Yuan Yao wrote: > --- /dev/null > +++ b/drivers/dma/fsl-qdma.c > + * This program is free software; you can redistribute it and/or modify it > + * under the terms of the GNU General Public License as published by the > + * Free Software F

[PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-03-16 Thread Yuan Yao
Add Freescale Queue Direct Memory Access (qDMA) controller support. The qDMA supports channel virtualization by allowing DMA jobs to be enqueued into different command queues. Core can initiate a DMA transaction by preparing a command descriptor (CD) for each DMA job and enqueuing this job to a com