public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] dmaengine: Support for IMG MDC
@ 2014-11-14 21:59 Andrew Bresticker
  2014-11-14 21:59 ` [PATCH V2 1/2] dmaengine: Add binding document " Andrew Bresticker
  2014-11-14 21:59 ` [PATCH V2 2/2] dmaengine: Add driver " Andrew Bresticker
  0 siblings, 2 replies; 9+ messages in thread
From: Andrew Bresticker @ 2014-11-14 21:59 UTC (permalink / raw)
  To: Vinod Koul, Dan Williams
  Cc: Andrew Bresticker, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, Grant Likely, James Hartley,
	James Hogan, Ezequiel Garcia, Damien Horsley, Arnd Bergmann,
	dmaengine, devicetree, linux-kernel

This series adds support for the IMG Multi-threaded DMA Controller (MDC)
which is found on IMG SoCs.  Currently this driver only supports the
variant found on the MIPS-based Pistachio SoC.

The MDC supports slave and memory-to-memory transfers on up to 32 channels.
Requests from channels are handled by MDC threads.  Thread assignments are
per-channel and are specified in the device-tree.

Tested on a platform based on the Pistachio SoC with additional patches.
Support for Pistachio will be submitted later.  Slave DMA was tested
with the recently submitted IMG SPFI driver [1] and memory-to-memory
DMA was tested with the dmatest module.

Based on Vinod's slave-dma/next + Maxime's device_control and slave caps
cleanup series [2].

Changes from v1:
 - addressed Arnd's review comments
 - rebased on Maxime's dmaengine cleanups

[1] https://lkml.org/lkml/2014/11/12/763
[2] https://lkml.org/lkml/2014/10/28/1067

Andrew Bresticker (2):
  dmaengine: Add binding document for IMG MDC
  dmaengine: Add driver for IMG MDC

 .../devicetree/bindings/dma/img-mdc-dma.txt        |  57 ++
 drivers/dma/Kconfig                                |   9 +
 drivers/dma/Makefile                               |   1 +
 drivers/dma/img-mdc-dma.c                          | 973 +++++++++++++++++++++
 4 files changed, 1040 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/dma/img-mdc-dma.txt
 create mode 100644 drivers/dma/img-mdc-dma.c

-- 
2.1.0.rc2.206.gedb03e5


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-12-08  6:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-14 21:59 [PATCH V2 0/2] dmaengine: Support for IMG MDC Andrew Bresticker
2014-11-14 21:59 ` [PATCH V2 1/2] dmaengine: Add binding document " Andrew Bresticker
2014-11-15 11:14   ` Arnd Bergmann
2014-11-14 21:59 ` [PATCH V2 2/2] dmaengine: Add driver " Andrew Bresticker
2014-11-15 11:13   ` Arnd Bergmann
2014-12-05 17:35   ` Vinod Koul
2014-12-05 18:30     ` Andrew Bresticker
2014-12-07 11:48       ` Vinod Koul
2014-12-08  6:14         ` Andrew Bresticker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox