From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH V5 2/2] dmaengine: add helper function to request a slave DMA channel Date: Fri, 14 Sep 2012 15:26:35 +0000 Message-ID: <201209141526.36088.arnd@arndb.de> References: <1347635923-30166-1-git-send-email-jon-hunter@ti.com> <1347635923-30166-3-git-send-email-jon-hunter@ti.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: Received: from moutng.kundenserver.de ([212.227.126.186]:64214 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757042Ab2INP0j (ORCPT ); Fri, 14 Sep 2012 11:26:39 -0400 In-Reply-To: <1347635923-30166-3-git-send-email-jon-hunter@ti.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Jon Hunter Cc: device-tree , linux-omap , linux-arm , Nicolas Ferre , Benoit Cousson , Stephen Warren , Grant Likely , Russell King , Rob Herring , Vinod Koul , Dan Williams On Friday 14 September 2012, Jon Hunter wrote: > Currently slave DMA channels are requested by calling dma_request_channel() > and requires DMA clients to pass various filter parameters to obtain the > appropriate channel. > > With device-tree being used by architectures such as arm and the addition of > device-tree helper functions to extract the relevant DMA client information > from device-tree, add a new function to request a slave DMA channel using > device-tree. This function is currently a simple wrapper that calls the > device-tree of_dma_request_slave_channel() function. > > Cc: Nicolas Ferre > Cc: Benoit Cousson > Cc: Stephen Warren > Cc: Grant Likely > Cc: Russell King > Cc: Rob Herring > Cc: Arnd Bergmann > Cc: Vinod Koul > Cc: Dan Williams > > Signed-off-by: Jon Hunter Acked-by: Arnd Bergmann