Skip to contentSkip to conversation

SH-Mobile ARM dmaengine support V1

PATCH In review Magnus Damm 2 participants 2 messages Mar 19, 2010 – Mar 23, 2010 SuperH

lore
Share & tools
lore
#0 lore raw

cover SH-Mobile ARM dmaengine support V1

SH-Mobile ARM dmaengine support V1

[PATCH 01/05] dmaengine: shdma: Remove sh_dmae_slave_chan_id enum [PATCH 02/05] dmaengine: shdma: Common SH_DMA_SLAVE_NUMBER [PATCH 03/05] serial: sh-sci: Use sg_dma_len() and sg_dma_address() [PATCH 04/05] dmaengine: shdma: Introduce include/linux/sh_dma.h [PATCH 05/05] dmaengine: shdma: Enable on SH-Mobile ARM

These patches add support for the shdma dmaengine driver on SH-Mobile ARM. Since some of the data structures are used by various drivers these patches modify both SH architecture code, dmaengine, sh-sci and the recently added siu sound driver.

Not sure how to merge this smoothly, but I tried to layer the changes so they can be added one at a time without breaking anything.

Compiles fine on sh7377 G4EVM (ARM) and sh7722 Migo-R (SH).

---

 arch/sh/include/asm/dmaengine.h |   67 +------------------------
 arch/sh/include/asm/siu.h       |    8 +--
 drivers/dma/Kconfig             |    2 
 drivers/dma/shdma.c             |   23 ++++----
 drivers/dma/shdma.h             |    4 -
 drivers/serial/sh-sci.c         |   18 +++---
 include/linux/serial_sci.h      |    6 +-
 include/linux/sh_dma.h          |  101 +++++++++++++++++++++++++++++++++++++++
 8 files changed, 134 insertions(+), 95 deletions(-)
#1 lore raw
Quoted 5 lines · Magnus Damm

[PATCH 01/05] dmaengine: shdma: Remove sh_dmae_slave_chan_id enum [PATCH 02/05] dmaengine: shdma: Common SH_DMA_SLAVE_NUMBER [PATCH 03/05] serial: sh-sci: Use sg_dma_len() and sg_dma_address() [PATCH 04/05] dmaengine: shdma: Introduce include/linux/sh_dma.h

Ok, I've taken these in to the sh/dmaengine topic branch, particularly since there's on-going work with the serial DMA stuff. I'll pull this in to a topic branch in the genesis tree and apply the 5th one on top of a bit later once I've dealt with the rest of the backlog.