From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Fri, 3 May 2013 16:43:47 +0200 Subject: [PATCH 1/7] ARM: u300: push down syscon registers In-Reply-To: References: <1367511416-4312-1-git-send-email-linus.walleij@stericsson.com> <201305021939.48381.arnd@arndb.de> Message-ID: <201305031643.47527.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday 03 May 2013, Linus Walleij wrote: > I could do something similar by creating a U300 syscon node > and referring to it from the clk node, so the clk looks up its > syscon to find the base. > > If so, I can build this on top of the current patch series > with multiplatform and all, as I convert the clocks to DT > (which is the next and final step). Yes, I think this is a good plan. If there are just two drivers, that is probably the easiest way to do it. Using the syscon driver is not very different in the end and avoids mapping the same physical address range multiple times (having a static mapping avoids this too), and I'd prefer that if you have more drivers that need to get to the same registers. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 1/7] ARM: u300: push down syscon registers Date: Fri, 3 May 2013 16:43:47 +0200 Message-ID: <201305031643.47527.arnd@arndb.de> References: <1367511416-4312-1-git-send-email-linus.walleij@stericsson.com> <201305021939.48381.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Linus Walleij Cc: Lee Jones , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , Mike Turquette , Linus Walleij , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org On Friday 03 May 2013, Linus Walleij wrote: > I could do something similar by creating a U300 syscon node > and referring to it from the clk node, so the clk looks up its > syscon to find the base. > > If so, I can build this on top of the current patch series > with multiplatform and all, as I convert the clocks to DT > (which is the next and final step). Yes, I think this is a good plan. If there are just two drivers, that is probably the easiest way to do it. Using the syscon driver is not very different in the end and avoids mapping the same physical address range multiple times (having a static mapping avoids this too), and I'd prefer that if you have more drivers that need to get to the same registers. Arnd