From: Thomas Petazzoni Subject: Re: [PATCH v3 14/16] ARM: marvell/dt: enable crypto on armada-xp-gp Date: Wed, 27 May 2015 13:23:46 +0200 Message-ID: <20150527132346.40bf820c@free-electrons.com> References: <1432301642-11470-1-git-send-email-boris.brezillon@free-electrons.com> <1432301642-11470-15-git-send-email-boris.brezillon@free-electrons.com> <55633B6D.7080307@free-electrons.com> <20150526105936.25db3afb@bbrezillon> <55659A81.3040600@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Boris Brezillon , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, Arnaud Ebalard , Jason Cooper , Sebastian Hesselbarth , Andrew Lunn , Tawfik Bayouk , Lior Amsalem , Nadav Haklai , Eran Ben-Avi , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org To: Gregory CLEMENT Return-path: Received: from down.free-electrons.com ([37.187.137.238]:57098 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751360AbbE0LXu (ORCPT ); Wed, 27 May 2015 07:23:50 -0400 In-Reply-To: <55659A81.3040600@free-electrons.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: Dear Gregory CLEMENT, On Wed, 27 May 2015 12:20:49 +0200, Gregory CLEMENT wrote: > But is it really depending of the board itself? > I see that the first lines are the same on all the dts, I just remember that > there was a reason why we could not put it in the dtsi. Yes, because the DT language doesn't have a += operator, basically. Some of the MBus ranges are inherently board-specific: when you have a NOR flash, you need a specific MBus range for it. And such a MBus range is board-specific. Since it's not possible to do: ranges = in .dtsi, and: ranges += in .dts, we simply decided to always put: ranges = in the .dts. It does create some duplication, but that's the best we could do with the existing DT infrastructure. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com