From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from az33egw02.freescale.net (az33egw02.freescale.net [192.88.158.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "az33egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id BAA99DE0C9 for ; Tue, 19 May 2009 11:39:59 +1000 (EST) Received: from de01smr01.freescale.net (de01smr01.freescale.net [10.208.0.31]) by az33egw02.freescale.net (8.14.3/az33egw02) with ESMTP id n4J1dsGY009143 for ; Mon, 18 May 2009 18:39:55 -0700 (MST) Received: from zch01exm26.fsl.freescale.net (zch01exm26.ap.freescale.net [10.192.129.221]) by de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id n4J1dqTL007596 for ; Mon, 18 May 2009 20:39:53 -0500 (CDT) Date: Tue, 19 May 2009 09:37:47 +0800 From: "Hongjun Chen" To: "Wolfgang Denk" , "linuxppc-dev@ozlabs.org" References: <1241640919-4650-12-git-send-email-wd@denx.de> Subject: Re: [PATCH 11/12] mpc5121: Added MPC512x DMA driver. Message-ID: <200905190937411866001@freescale.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====003_Dragon268623510562_=====" Cc: Piotr Ziecik , Wolfgang Denk List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --=====003_Dragon268623510562_===== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Since you have reuse most part of our BSP, why should you reinvent wheel for MPC512x DMA? We have one ready DMA driver, which has been used by AC97, ATA, VIU etc. Hongjun Chen 2009-05-19 发件人: Wolfgang Denk 发送时间: 2009-05-07 04:15:18 收件人: linuxppc-dev@ozlabs.org 抄送: Piotr Ziecik; Wolfgang Denk 主题: [PATCH 11/12] mpc5121: Added MPC512x DMA driver. From: Piotr Ziecik This patch adds initial version of MPC512x DMA driver. Only memory to memory transfers are currenly supported. Signed-off-by: Piotr Ziecik Signed-off-by: Wolfgang Denk Cc: Grant Likely Cc: John Rigby --- arch/powerpc/boot/dts/mpc5121ads.dts | 2 +- arch/powerpc/platforms/512x/mpc512x_shared.c | 1 + drivers/dma/Kconfig | 7 + drivers/dma/Makefile | 1 + drivers/dma/mpc512x_dma.c | 642 ++++++++++++++++++++++++++ drivers/dma/mpc512x_dma.h | 192 ++++++++ 6 files changed, 844 insertions(+), 1 deletions(-) create mode 100644 drivers/dma/mpc512x_dma.c create mode 100644 drivers/dma/mpc512x_dma.h _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev --=====003_Dragon268623510562_===== Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 8bit
Since you have reuse most part of our BSP, why should you reinvent wheel for MPC512x DMA? We have one ready DMA driver, which has been used by AC97, ATA, VIU etc.
 

Hongjun Chen
2009-05-19

发件人: Wolfgang Denk
发送时间: 2009-05-07 04:15:18
收件人: linuxppc-dev@ozlabs.org
抄送: Piotr Ziecik; Wolfgang Denk
主题: [PATCH 11/12] mpc5121: Added MPC512x DMA driver.
 

From: Piotr Ziecik <kosmo@semihalf.com>

This patch adds initial version of MPC512x DMA driver.
Only memory to memory transfers are currenly supported.

Signed-off-by: Piotr Ziecik <kosmo@semihalf.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: John Rigby <jcrigby@gmail.com>
---
 arch/powerpc/boot/dts/mpc5121ads.dts         |    2 +-
 arch/powerpc/platforms/512x/mpc512x_shared.c |    1 +
 drivers/dma/Kconfig                          |    7 +
 drivers/dma/Makefile                         |    1 +
 drivers/dma/mpc512x_dma.c                    |  642 ++++++++++++++++++++++++++
 drivers/dma/mpc512x_dma.h                    |  192 ++++++++
 6 files changed, 844 insertions(+), 1 deletions(-)
 create mode 100644 drivers/dma/mpc512x_dma.c
 create mode 100644 drivers/dma/mpc512x_dma.h
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

--=====003_Dragon268623510562_=====--