Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-22 Thread Srinivas Kandagatla
On 22/05/14 16:32, Andy Gross wrote: On Thu, May 22, 2014 at 04:27:05PM +0100, Srinivas Kandagatla wrote: The EOT is not used for every transaction. It is part of a handshaking protocol with the attached peripheral, much like the NWD (notify when done). As near as I can tell today, no pe

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-22 Thread Andy Gross
On Thu, May 22, 2014 at 04:27:05PM +0100, Srinivas Kandagatla wrote: > > > >The EOT is not used for every transaction. It is part of a handshaking > >protocol with the attached peripheral, much like the NWD (notify when done). > > As > >near as I can tell today, no peripheral depends on the EO

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-22 Thread Srinivas Kandagatla
On 22/05/14 16:09, Andy Gross wrote: On Thu, May 22, 2014 at 11:40:49AM +0530, Vinod Koul wrote: I have 3 different IRQs that can be asserted based on the bit I set in the hardware descriptor. The normal IRQ is the INT bit. However, in some cases the peripheral protocol requires the use o

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-22 Thread Andy Gross
On Thu, May 22, 2014 at 11:40:49AM +0530, Vinod Koul wrote: > > > I have 3 different IRQs that can be asserted based on the bit I set in the > > > hardware descriptor. The normal IRQ is the INT bit. However, in some > > > cases the > > > peripheral protocol requires the use of the EOT or EOB

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-21 Thread Vinod Koul
On Thu, May 15, 2014 at 12:32:06PM -0500, Andy Gross wrote: > On Fri, May 02, 2014 at 01:08:27PM -0500, Andy Gross wrote: > > On Fri, May 02, 2014 at 09:58:41PM +0530, Vinod Koul wrote: > > > On Thu, Apr 17, 2014 at 05:04:02PM -0500, Andy Gross wrote: > > > > This patch adds APIs that allow for BAM

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-15 Thread Srinivas Kandagatla
Hi Andy, On 15/05/14 18:32, Andy Gross wrote: On Fri, May 02, 2014 at 01:08:27PM -0500, Andy Gross wrote: On Fri, May 02, 2014 at 09:58:41PM +0530, Vinod Koul wrote: On Thu, Apr 17, 2014 at 05:04:02PM -0500, Andy Gross wrote: This patch adds APIs that allow for BAM hardware flags to be set pe

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-15 Thread Andy Gross
On Fri, May 02, 2014 at 01:08:27PM -0500, Andy Gross wrote: > On Fri, May 02, 2014 at 09:58:41PM +0530, Vinod Koul wrote: > > On Thu, Apr 17, 2014 at 05:04:02PM -0500, Andy Gross wrote: > > > This patch adds APIs that allow for BAM hardware flags to be set per > > > descriptor. Each one of the new

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-02 Thread Andy Gross
On Fri, May 02, 2014 at 09:58:41PM +0530, Vinod Koul wrote: > On Thu, Apr 17, 2014 at 05:04:02PM -0500, Andy Gross wrote: > > This patch adds APIs that allow for BAM hardware flags to be set per > > descriptor. Each one of the new flags informs the attached peripheral of a > > special behavior tha

Re: [PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-05-02 Thread Vinod Koul
On Thu, Apr 17, 2014 at 05:04:02PM -0500, Andy Gross wrote: > This patch adds APIs that allow for BAM hardware flags to be set per > descriptor. Each one of the new flags informs the attached peripheral of a > special behavior that is required. > > The EOT flag requests that the peripheral assert

[PATCH] dmaengine: qcom_bam_dma: Add descriptor flag APIs

2014-04-17 Thread Andy Gross
This patch adds APIs that allow for BAM hardware flags to be set per descriptor. Each one of the new flags informs the attached peripheral of a special behavior that is required. The EOT flag requests that the peripheral assert an end of transaction interrupt when that descriptor is complete. It