From patchwork Wed Jun 8 21:53:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grant Likely X-Patchwork-Id: 99563 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 09483B6FCF for ; Thu, 9 Jun 2011 07:54:19 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QUQhX-0001iz-Jc; Wed, 08 Jun 2011 21:54:11 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QUQhX-0004dx-6Q; Wed, 08 Jun 2011 21:54:11 +0000 Received: from mail-pv0-f177.google.com ([74.125.83.177]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QUQhS-0004db-MA for linux-arm-kernel@lists.infradead.org; Wed, 08 Jun 2011 21:54:08 +0000 Received: by pvh11 with SMTP id 11so629250pvh.36 for ; Wed, 08 Jun 2011 14:53:59 -0700 (PDT) Received: by 10.68.24.136 with SMTP id u8mr1084022pbf.285.1307570039362; Wed, 08 Jun 2011 14:53:59 -0700 (PDT) Received: from localhost (S01060002b3d79728.cg.shawcable.net [70.72.87.49]) by mx.google.com with ESMTPS id 10sm627987pbk.13.2011.06.08.14.53.57 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Jun 2011 14:53:58 -0700 (PDT) Received: by localhost (Postfix, from userid 1000) id 09CA31807D7; Wed, 8 Jun 2011 15:53:57 -0600 (MDT) Date: Wed, 8 Jun 2011 15:53:56 -0600 From: Grant Likely To: "Koul, Vinod" Subject: Re: [PATCH v2 5/5] spi/ep93xx: add DMA support Message-ID: <20110608215356.GA17138@ponder.secretlab.ca> References: <4b27fc93b7df900943e7c12084a8340cbc5fe1a8.1306662317.git.mika.westerberg@iki.fi> <20110603204400.GH17972@ponder.secretlab.ca> <20110607171403.GA3011@acer> <20110607190607.GB3011@acer> <20110607191824.GA2035@ponder.secretlab.ca> <20110607192945.GC3011@acer> <20110607194034.GC2035@ponder.secretlab.ca> <1307505512.10976.91.camel@vkoul-udesk3> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1307505512.10976.91.camel@vkoul-udesk3> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110608_175407_144380_49A6059E X-CRM114-Status: GOOD ( 36.46 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.83.177 listed in list.dnswl.org] Cc: rmallon@gmail.com, Mika Westerberg , broonie@opensource.wolfsonmicro.com, linux-kernel@vger.kernel.org, hsweeten@visionengravers.com, dan.j.williams@intel.com, lrg@ti.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org On Wed, Jun 08, 2011 at 09:28:32AM +0530, Koul, Vinod wrote: > On Tue, 2011-06-07 at 13:40 -0600, Grant Likely wrote: > > On Tue, Jun 07, 2011 at 10:29:45PM +0300, Mika Westerberg wrote: > > > On Tue, Jun 07, 2011 at 01:18:24PM -0600, Grant Likely wrote: > > > > On Tue, Jun 07, 2011 at 10:06:07PM +0300, Mika Westerberg wrote: > > > > > On Tue, Jun 07, 2011 at 12:45:26PM -0600, Grant Likely wrote: > > > > > > On Tue, Jun 7, 2011 at 11:14 AM, Mika Westerberg wrote: > > > > > > > > > > > > > > I just realized that once the SPI driver renaming patch (spi: reorganize > > > > > > > drivers) enters linux-next, this patch (which sits on Vinod's tree) will cause > > > > > > > a merge conflict. Any ideas how to avoid it beforehand? > > > > > > > > > > > > Yes, put the whole series into a separate branch all by itself. Merge > > > > > > that branch into Vinod's tree and I'll also merge it into spi/next, > > > > > > and I'll fix up the merge conflict when I do. > > > > > > > > > > More stupid questions: Do you mean that I create a branch in my public > > > > > repository somewhere? If that is the case, then there is a problem that I > > > > > don't have any public repository and I doubt that I get such before linux-next > > > > > is rebuilt. > > > > > > > > It doesn't have to be your repo. Vinod could do it, or I could. > > > > > > Ah, I see. > > > > > > Would it then be possible that you could do it? Please let me and Vinod know > > > what is needed from us. > > > > > > And sorry for this mess. > > > > I'll need an ack from Vinod first for the series so that I can add it > > before I make the commits, but other than that I have no problem doing > > so. > Acked-by: Vinod Koul > > Let me know which branch you have pushed and I will merge that to my > tree Just pushed out to the branch below. Take a look, make sure it is correct, and if it looks good to you then go ahead and merge it, and I ll also merge it into spi/next. The following changes since commit 59c5f46fbe01a00eedf54a23789634438bb80603: Linux 3.0-rc2 (2011-06-06 18:06:33 +0900) are available in the git repository at: git://git.secretlab.ca/git/linux-2.6 ep93xx-dma Geert Uytterhoeven (1): spi/rtc-m41t93: Use spi_get_drvdata() for SPI devices Govindraj.R (1): spi/omap2: fix uninitialized variable Grant Likely (1): Merge remote-tracking branch 'origin' into spi/merge Mika Westerberg (5): dmaengine: add ep93xx DMA support ep93xx: add dmaengine platform code ASoC: ep93xx: convert to use the DMA engine API ep93xx: remove the old M2P DMA code spi/ep93xx: add DMA support Documentation/spi/ep93xx_spi | 10 + arch/arm/mach-ep93xx/Makefile | 4 +- arch/arm/mach-ep93xx/core.c | 6 +- arch/arm/mach-ep93xx/dma-m2p.c | 411 ------- arch/arm/mach-ep93xx/dma.c | 108 ++ arch/arm/mach-ep93xx/include/mach/dma.h | 190 ++--- arch/arm/mach-ep93xx/include/mach/ep93xx_spi.h | 2 + drivers/dma/Kconfig | 7 + drivers/dma/Makefile | 1 + drivers/dma/ep93xx_dma.c | 1355 ++++++++++++++++++++++++ drivers/rtc/rtc-m41t93.c | 2 +- drivers/spi/ep93xx_spi.c | 303 +++++- drivers/spi/omap2_mcspi.c | 2 +- sound/soc/ep93xx/ep93xx-ac97.c | 4 +- sound/soc/ep93xx/ep93xx-i2s.c | 4 +- sound/soc/ep93xx/ep93xx-pcm.c | 137 ++-- 16 files changed, 1932 insertions(+), 614 deletions(-) delete mode 100644 arch/arm/mach-ep93xx/dma-m2p.c create mode 100644 arch/arm/mach-ep93xx/dma.c create mode 100644 drivers/dma/ep93xx_dma.c