linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: zhangfei.gao@marvell.com (Zhangfei Gao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 0/3] dmaengine: add support mmp-pdma
Date: Mon,  3 Sep 2012 11:03:44 +0800	[thread overview]
Message-ID: <1346641427-5002-1-git-send-email-zhangfei.gao@marvell.com> (raw)

v4->v5
Split mmp-dma.txt 
Based on linux.git Sep 1

v3->v4
Set DMA_MEM_TO_MEM as default setting for memcpy, Suggested by Russell.
"By default, any channel being asked to do memcpy
should deal with the channel configuration itself and not require it
to be set"

v2->v3 
Use "#dma-channels", instead of "dma-channels", suggested by Arnd

v1->v2
Sync with Arnd and Haojoan, change compatible name to "marvell,pdma-1.0"
Used platfroms: pxa25x, pxa27x, pxa3xx, pxa93x, pxa168, pxa910, pxa688.
Use IP name rather than platform name

Also change "marvell,mmp-adma" to "marvell,adma-1.0"

v0->v1
Update dt member and desc according to Arnd's suggestion
Use dma_slave_config.slave_id to transfer drcmr followed Vinod's suggestion

mmp-pdma is added under dmaengine framework.
The final purpose is replacing arch/arm/plat-pxa/dma.c

Test on pxa910 with pxa3xx-nand and dmatest.ko

Zhangfei Gao (3):
  dmaengine: mmp-pdma support
  dmaengine: mmp_tdma: add dt support
  ARM: dt: mmp-dma: add binding file

 Documentation/devicetree/bindings/dma/mmp-dma.txt |   75 ++
 drivers/dma/Kconfig                               |    7 +
 drivers/dma/Makefile                              |    1 +
 drivers/dma/mmp_pdma.c                            |  875 +++++++++++++++++++++
 drivers/dma/mmp_tdma.c                            |   51 +-
 include/linux/platform_data/mmp_dma.h             |   19 +
 6 files changed, 1008 insertions(+), 20 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/dma/mmp-dma.txt
 create mode 100644 drivers/dma/mmp_pdma.c
 create mode 100644 include/linux/platform_data/mmp_dma.h

             reply	other threads:[~2012-09-03  3:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03  3:03 Zhangfei Gao [this message]
2012-09-03  3:03 ` [PATCH v5 1/3] dmaengine: mmp-pdma support Zhangfei Gao
2012-09-14  2:45   ` Vinod Koul
2012-09-03  3:03 ` [PATCH v5 2/3] dmaengine: mmp_tdma: add dt support Zhangfei Gao
2012-09-14  2:46   ` Vinod Koul
2012-09-03  3:03 ` [PATCH v5 3/3] ARM: dt: mmp-dma: add binding file Zhangfei Gao
2012-09-14  2:45   ` Vinod Koul
2012-09-14  2:58     ` Haojian Zhuang
2012-09-14  2:58       ` Vinod Koul
2012-09-14  3:32         ` Zhangfei Gao
2012-09-21  7:48           ` Haojian Zhuang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346641427-5002-1-git-send-email-zhangfei.gao@marvell.com \
    --to=zhangfei.gao@marvell.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).