From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Wed, 12 Jun 2013 23:52:32 +0200 Subject: [PATCH 04/14] bus: mvebu-mbus: Add static window allocation to the DT binding In-Reply-To: <20130612213620.GC23012@localhost> References: <1370623671-7748-1-git-send-email-ezequiel.garcia@free-electrons.com> <20130612212641.GB8625@obsidianresearch.com> <20130612213620.GC23012@localhost> Message-ID: <201306122352.32749.arnd@arndb.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday 12 June 2013, Ezequiel Garcia wrote: > Right. And just to confirm: this kernel side dynamic implementation > will be completely independent of the MBus DT layout proposal. > So I think it's best to agree on this binding first. > > I'll post a v2 with the progress I've made using the preprocessor. Right. My thought was just that with the of_bus handler it might end up being /easier/ to do the dynamic mapping than it is to preconfigure it in the DT. Whether that results in an optimum mapping or not depends on the actual sizes for the child nodes. Since everything is a power-of-two size, a first-fit algorithm actually isn't bad at all. Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH 04/14] bus: mvebu-mbus: Add static window allocation to the DT binding Date: Wed, 12 Jun 2013 23:52:32 +0200 Message-ID: <201306122352.32749.arnd@arndb.de> References: <1370623671-7748-1-git-send-email-ezequiel.garcia@free-electrons.com> <20130612212641.GB8625@obsidianresearch.com> <20130612213620.GC23012@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130612213620.GC23012@localhost> 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: Ezequiel Garcia Cc: Lior Amsalem , Jason Cooper , Andrew Lunn , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Jason Gunthorpe , Maen Suleiman , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Sebastian Hesselbarth List-Id: devicetree@vger.kernel.org On Wednesday 12 June 2013, Ezequiel Garcia wrote: > Right. And just to confirm: this kernel side dynamic implementation > will be completely independent of the MBus DT layout proposal. > So I think it's best to agree on this binding first. > > I'll post a v2 with the progress I've made using the preprocessor. Right. My thought was just that with the of_bus handler it might end up being /easier/ to do the dynamic mapping than it is to preconfigure it in the DT. Whether that results in an optimum mapping or not depends on the actual sizes for the child nodes. Since everything is a power-of-two size, a first-fit algorithm actually isn't bad at all. Arnd