Thread (13 messages) flat view 13 messages, 2 authors, 2013-09-05

[PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

From: Lu Jingchang-B35083 <hidden>
Date: 2013-09-05 08:18:35
Also in: linux-devicetree, lkml

-----Original Message-----
From: Vinod Koul [mailto:vinod.koul at intel.com]
Sent: Tuesday, September 03, 2013 7:32 PM
To: Lu Jingchang-B35083
Cc: shawn.guo at linaro.org; linux-kernel at vger.kernel.org; linux-arm-
kernel at lists.infradead.org; devicetree at vger.kernel.org
Subject: Re: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

On Tue, Sep 03, 2013 at 05:43:21AM +0000, Lu Jingchang-B35083 wrote:
quoted
  Do you mean the DMA_SLAVE_CONFIG device_control? Yeah, the slave
driver could pass
quoted
the slave_id. But the DMA_SLAVE_CONFIG may be called more than once,
and the eDMA
quoted
driver just needs to set the slave id once for any given channel, after
that the
quoted
transfer is transparent to the device.
It depends, for a channel requested, if you are only tranferring to a
particular
slave device then it can be confugured once.
so
1. allocate channel
2. dmaengine_slave_config()

then you cnan do preare etc multiple times based on need.
 But if the preferred slave id configuration should be in dmaengine_slave_config,
I will send out this change in the next version patch.
Thanks!





Best Regards,
Jingchang


 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help