Skip to content

dmaengine: shdma: sh73a0 and SH_DMAC_MAX_CHANNELS

Magnus Damm linux-sh 1 version In review

Get series with b4
b4 am 20110524103104.10334.42987.sendpatchset@t400s

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dmaengine: shdma: Make second memory window optionaldrivers/dma/shdma.c+8 -30 replies
2/3dmaengine: shdma: Fix SH_DMAC_MAX_CHANNELS handlingdrivers/dma/shdma.c+23 -80 replies
3/3dmaengine: shdma: Update SH_DMAC_MAX_CHANNELS to 20drivers/dma/shdma.h+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/03] dmaengine: shdma: sh73a0 and SH_DMAC_MAX_CHANNELS

dmaengine: shdma: sh73a0 and SH_DMAC_MAX_CHANNELS

[PATCH 01/03] dmaengine: shdma: Make second memory window optional [PATCH 02/03] dmaengine: shdma: Fix SH_DMAC_MAX_CHANNELS handling [PATCH 03/03] dmaengine: shdma: Update SH_DMAC_MAX_CHANNELS to 20

These patches update the shdma dmaengine driver to support DMA controllers with more than 6 slave-id capable channels mapped into a single I/O-memory window. While at it fix the handling of SH_DMAC_MAX_CHANNELS that without [PATCH 02/03] may overflow some arrays at probe() time depending on platform data.

Needed to support the 20-channel SY-DMAC block included in sh73a0.

---

Since these patches are only touching the shdma driver perhaps merging through the sh-2.6 tree is the easiest?

 drivers/dma/shdma.c |   42 +++++++++++++++++++++++++++++++-----------
 drivers/dma/shdma.h |    2 +-
 2 files changed, 32 insertions(+), 12 deletions(-)