RE: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-18 Thread Raju, Sundaram
-Original Message- From: Jassi Brar [mailto:jassisinghb...@gmail.com] Sent: Tuesday, July 12, 2011 6:15 PM To: Raju, Sundaram Cc: Linus Walleij; linux-arm-ker...@lists.infradead.org; linux- ker...@vger.kernel.org; davinci-linux-open-sou...@linux.davincidsp.com; li

RE: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Raju, Sundaram
-Original Message- From: Linus Walleij [mailto:linus.wall...@linaro.org] Sent: Tuesday, July 12, 2011 3:28 PM To: Dan Williams Cc: Raju, Sundaram; linux-arm-ker...@lists.infradead.org; linux- ker...@vger.kernel.org; davinci-linux-open-sou...@linux.davincidsp.com; li

RE: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Raju, Sundaram
-Original Message- From: Linus Walleij [mailto:linus.wall...@linaro.org] Sent: Tuesday, July 12, 2011 3:33 PM To: Jassi Brar Cc: Raju, Sundaram; linux-arm-ker...@lists.infradead.org; linux- ker...@vger.kernel.org; davinci-linux-open-sou...@linux.davincidsp.com; li

RE: [PATCH] dmaengine: add dma_ctrl_cmd to pass buffer stride configuration

2011-07-12 Thread Raju, Sundaram
-Original Message- From: Jassi Brar [mailto:jassisinghb...@gmail.com] Sent: Tuesday, July 12, 2011 4:51 PM To: Linus Walleij Cc: Raju, Sundaram; linux-arm-ker...@lists.infradead.org; linux- ker...@vger.kernel.org; davinci-linux-open-sou...@linux.davincidsp.com; li

[RFC] dmaengine: Moving TI SDMA driver to dmaengine - design plan

2011-07-08 Thread Raju, Sundaram
Hi, I am planning to move TI SDMA driver in OMAP tree into the dmaengine framework. The first immediate issue of concern I noticed is the huge number of client drivers that use the existing SDMA driver. More than 15 client drivers are using the current SDMA driver. Moving the SDMA driver along

RE: [RFC] dmaengine: Moving TI SDMA driver to dmaengine - design plan

2011-07-08 Thread Raju, Sundaram
-Original Message- From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Friday, July 08, 2011 3:34 PM To: Raju, Sundaram Cc: linux-arm-ker...@lists.infradead.org; linux-omap@vger.kernel.org; Dan; Shilimkar, Santosh; linux-ker...@vger.kernel.org Subject: Re: [RFC

RE: [RFC] dmaengine: add new api for preparing simple slave transfer

2011-07-07 Thread Raju, Sundaram
-Original Message- From: Koul, Vinod [mailto:vinod.k...@intel.com] Sent: Thursday, June 16, 2011 11:15 AM To: Raju, Sundaram Cc: Russell King - ARM Linux; Linus Walleij; Dan; davinci-linux-open- sou...@linux.davincidsp.com; linux-omap@vger.kernel.org; linux- ker...@vger.kernel.org

RE: [RFC] dmaengine: add new api for preparing simple slave transfer

2011-06-14 Thread Raju, Sundaram
Russell, Thanks for all the quick pointers and the summary of how memory-to-peripheral transfers are expected to operate. Ok, what I'm envisioning is that your term chunk size means register width, and you view that as one dimension. We already describe this. A frame is a collection of

RE: [RFC] dmaengine: add new api for preparing simple slave transfer

2011-06-13 Thread Raju, Sundaram
Linus, Thanks for the pointers. -Original Message- From: Linus Walleij [mailto:linus.wall...@linaro.org] Sent: Monday, June 13, 2011 7:43 PM To: Raju, Sundaram Cc: Russell King - ARM Linux; Koul, Vinod; Dan; davinci-linux-open- sou...@linux.davincidsp.com; linux-omap

RE: [RFC] dmaengine: add new api for preparing simple slave transfer

2011-06-10 Thread Raju, Sundaram
I think I should have tried to explain my case with a specific example. I tried to generalize it and it has confused and misled every one. I have tried again now. :) snip A simple single buffer transfer (i.e. non sg transfer) can be done only as a trivial case of the device_prep_slave_sg

RE: [RFC] dmaengine: add new api for preparing simple slave transfer

2011-06-10 Thread Raju, Sundaram
Vinod, -Original Message- From: Koul, Vinod [mailto:vinod.k...@intel.com] Sent: Friday, June 10, 2011 11:39 AM To: Raju, Sundaram; Dan Cc: Russell King - ARM Linux; davinci-linux-open- sou...@linux.davincidsp.com; linux-omap@vger.kernel.org; linux- ker...@vger.kernel.org; linux-arm

RE: [RFC] dmaengine: add new api for preparing simple slave transfer

2011-06-10 Thread Raju, Sundaram
Russell, -Original Message- From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Friday, June 10, 2011 4:13 PM To: Raju, Sundaram Cc: Koul, Vinod; Dan; davinci-linux-open-sou...@linux.davincidsp.com; linux- o...@vger.kernel.org; linux-ker...@vger.kernel.org; linux

[RFC] dmaengine: add new api for preparing simple slave transfer

2011-06-09 Thread Raju, Sundaram
SDMA and EDMA are TI SoC specific DMA controllers. Their drivers have been maintained in the respective SoC folders till now. arch/arm/plat-omap/dma.c arch/arm/mach-davinci/dma.c I have gone through the existing offload engine (DMA) drivers in drivers/dma which do slave transfers. I would like

RE: [RFC] dmaengine: add new api for preparing simple slave transfer

2011-06-09 Thread Raju, Sundaram
: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Thursday, June 09, 2011 6:17 PM To: Raju, Sundaram Cc: linux-arm-ker...@lists.infradead.org; linux-ker...@vger.kernel.org; davinci-linux-open-sou...@linux.davincidsp.com; linux-omap@vger.kernel.org Subject: Re: [RFC] dmaengine: add new api