Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752843Ab2H0Pda (ORCPT ); Mon, 27 Aug 2012 11:33:30 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:43234 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751653Ab2H0Pd1 (ORCPT ); Mon, 27 Aug 2012 11:33:27 -0400 Message-ID: <503B933F.2030803@gmail.com> Date: Mon, 27 Aug 2012 17:33:19 +0200 From: Daniel Mack User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Matt Porter CC: vinod.koul@intel.com, cjb@laptop.org, grant.likely@secretlab.ca, Linux Kernel Mailing List , Linux ARM Kernel List , Linux MMC List , Linux SPI Devel List , Linux DaVinci Kernel List , Sekhar Nori Subject: Re: [PATCH v3 0/3] DaVinci DMA engine conversion References: <1345684176-21472-1-git-send-email-mporter@ti.com> In-Reply-To: <1345684176-21472-1-git-send-email-mporter@ti.com> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2520 Lines: 54 Hi Matt, On 23.08.2012 03:09, Matt Porter wrote: > This series begins the conversion of the DaVinci private EDMA API > implementation to a DMA engine driver and converts two of the three > in-kernel users of the private EDMA API to DMA engine. > > The approach taken is similar to the recent OMAP DMA Engine > conversion. The EDMA DMA Engine driver is a wrapper around the existing > private EDMA implementation and registers the platform device within > the driver. This allows the conversion series to stand alone with just > the drivers and no changes to platform code. It also allows peripheral > drivers to continue to use the private EDMA implementation until they > are converted. > > The EDMA DMA Engine driver supports slave transfers only at this time. It > is planned to add cyclic transfers in support of audio peripherals. > > There are three users of the private EDMA API in the kernel now: > davinci_mmc, spi-davinci, and davinci-mcasp. This series provides DMA > Engine conversions for the davinci_mmc and spi-davinci drivers which > use the supported slave transfers. > > This series has been tested on an AM18x EVM and Hawkboard with > driver performance comparable to that of the private EDMA API > implementations. Both MMC0 and MMC1 are tested which handles the > DA850/OMAP-L138/AM18x specific case where MMC1 uses DMA channels on > a second EDMA channel controller. All other platforms have a simpler > design with just a single EDMA channel controller. > > For those wanting to easily test this series, I've pushed a branch for > each version to my github tree at https://github.com/ohporter/linux. The > current branch is edma-dmaengine-v3. > > After this series, the current plan is to complete the mcasp driver > conversion which includes adding cyclic dma support. This will then > enable the removal and refactoring of the private EDMA API functionality > into the EDMA DMA Engine driver. Since EDMA is also used on the AM33xx > family of parts in mach-omap2/, the plan is to enable this driver on > that platform as well. Once you have a patch for the McASP driver conversion, I can happily test this on a AM33xx board, together with Gururaja's latest McASP refactoring series. Let me know how I can help you here. Thanks, Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/