From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers Date: Thu, 17 May 2012 14:18:28 +0100 Message-ID: <20120517131828.GA9650@n2100.arm.linux.org.uk> References: <201205041923.07620.arnd@arndb.de> <4FA7F009.5010003@wwwdotorg.org> <4FA94B49.5050500@wwwdotorg.org> <4FAAC111.9020308@wwwdotorg.org> <4FABF445.3030105@wwwdotorg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:49341 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760961Ab2EQNTQ (ORCPT ); Thu, 17 May 2012 09:19:16 -0400 Content-Disposition: inline In-Reply-To: <4FABF445.3030105@wwwdotorg.org> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Stephen Warren Cc: Jassi Brar , Arnd Bergmann , Stephen Warren , Benoit Cousson , device-tree , Nicolas Ferre , Rob Herring , Grant Likely , Jon Hunter , linux-omap , linux-arm On Thu, May 10, 2012 at 11:00:53AM -0600, Stephen Warren wrote: > To solve Russell's HW, we need some way of representing the mux directly > in DT irrespective of how the DMA controller or DMA client specify what > they're connected to. Anything else isn't representing the HW in DT. Note that it's now no longer _just_ my hardware. The Spear family of SoCs have a very similar setup - they mux the DMA request signals between the PL08x and their peripherals. It looks like each of the 16 DMA requests to the PL08x can be independently muxed between four possibilities via a common register. See arch/arm/plat-spear/pl080.c in current arm-soc.