From patchwork Sat Sep 1 01:02:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 1394701 Return-Path: X-Original-To: patchwork-spi-devel-general@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by patchwork1.kernel.org (Postfix) with ESMTP id 622843FDFB for ; Sat, 1 Sep 2012 00:55:26 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1T7bzh-0001ww-RG; Sat, 01 Sep 2012 00:55:25 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1T7bzh-0001wr-Iq for spi-devel-general@lists.sourceforge.net; Sat, 01 Sep 2012 00:55:25 +0000 X-ACL-Warn: Received: from merlin.infradead.org ([205.233.59.134]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1T7bzg-0005et-Ly for spi-devel-general@lists.sourceforge.net; Sat, 01 Sep 2012 00:55:25 +0000 Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T7bzV-0005Jj-4I; Sat, 01 Sep 2012 00:55:13 +0000 Received: from 0127ahost2.starwoodbroadband.com ([12.105.246.2] helo=[10.10.3.238]) by canuck.infradead.org with esmtpsa (Exim 4.76 #1 (Red Hat Linux)) id 1T7bzU-0007yV-DY; Sat, 01 Sep 2012 00:55:12 +0000 Message-ID: <1346461349.2806.4.camel@vkoul-mobl4> Subject: Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API From: Vinod Koul To: Sekhar Nori Date: Sat, 01 Sep 2012 06:32:29 +0530 In-Reply-To: <1346432577.15463.16.camel@vkoul-mobl4> References: <1345684176-21472-1-git-send-email-mporter@ti.com> <1345684176-21472-4-git-send-email-mporter@ti.com> <503F75C0.1050507@ti.com> <20120830144307.GA26737@beef> <5040E00A.3080600@ti.com> <1346430709.15463.15.camel@vkoul-mobl4> <5040E6C7.6030106@ti.com> <1346432577.15463.16.camel@vkoul-mobl4> Organization: X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 X-Spam-Score: -0.2 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.2 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain X-Headers-End: 1T7bzg-0005et-Ly Cc: Matt Porter , List , vinod.koul@intel.com, Linux MMC List , Linux Kernel Mailing List , Linux, List , cjb@laptop.org, Kernel List X-BeenThere: spi-devel-general@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: Linux SPI core/device drivers discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces@lists.sourceforge.net On Fri, 2012-08-31 at 22:32 +0530, Vinod Koul wrote: > On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote: > > >> Yes, this was the problem. Since the SPI driver now depends on > > >> CONFIG_TI_EDMA for basic operation may be select CONFIG_TI_EDMA in > > >> Kconfig if SPI is enabled? That should do until the fallback to PIO > > is > > >> implemented. > > > Then this should be enabled for SPI. Care to send a patch > > > > By 'this' you mean the Kconfig select? Then there should be no need of > > a > > new patch for this. It can be part of this patch itself, no? > Either way is okay for me. And am in good mood :) Applied all with this as well >From b5f14330590118e6a0659255476c0f24ab681e05 Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Sat, 1 Sep 2012 06:29:22 +0530 Subject: [PATCH] spi: davici - make davinci select edma Reported-by: Sekhar Nori Signed-off-by: Vinod Koul --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 5f84b55..b9fb9a1 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -134,6 +134,7 @@ config SPI_DAVINCI tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" depends on ARCH_DAVINCI select SPI_BITBANG + select TI_EDMA help SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.