From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH V6 1/2] of: Add generic device tree DMA helpers Date: Sat, 15 Sep 2012 01:14:31 +0100 Message-ID: <20120915001431.GB12445@n2100.arm.linux.org.uk> References: <1347662517-4210-1-git-send-email-jon-hunter@ti.com> <1347662517-4210-2-git-send-email-jon-hunter@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1347662517-4210-2-git-send-email-jon-hunter@ti.com> Sender: linux-omap-owner@vger.kernel.org To: Jon Hunter Cc: device-tree , linux-omap , linux-arm , Nicolas Ferre , Benoit Cousson , Stephen Warren , Grant Likely , Rob Herring , Arnd Bergmann , Vinod Koul , Dan Williams List-Id: devicetree@vger.kernel.org On Fri, Sep 14, 2012 at 05:41:56PM -0500, Jon Hunter wrote: > 3. Supporting legacy devices not using DMA Engine > > These devices present a problem, as there may not be a uniform way to easily > support them with regard to device tree. Ideally, these should be migrated > to DMA engine. However, if this is not possible, then they should still be > able to use this binding, the only constaint imposed by this implementation > is that when requesting a DMA channel via of_dma_request_slave_channel(), it > will return a type of dma_chan. As far as devices not using DMA engine, the answer is we don't support their specification in the DT model. Note that the legacy OMAP DMA API is scheduled for removal next year, so it's not going to be around that much longer.