From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Wed, 12 Jun 2013 13:58:04 +0200 Subject: [PATCH 04/14] bus: mvebu-mbus: Add static window allocation to the DT binding In-Reply-To: References: <1370623671-7748-1-git-send-email-ezequiel.garcia@free-electrons.com> <2456741.M6ZcdeZsEr@wuerfel> Message-ID: <3393006.cAPXijaqQR@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday 12 June 2013 12:54:59 Grant Likely wrote: > > > * These are SoC-wide registers including the UART and other things, not > > just the mbus setup > > * There are at least two different values used for the internal-regs > > mapping address depending on the SoC and boot loader version > > * We have to get the address from the DT since it is impossible to > > probe or change without knowing the current setting: The internal-regs > > also contains the registers in mbus used to relocate the internal-regs. > > I wasn't actually suggesting to not get the address from DT, but your > point is taken; there is a lot more to internal regs than I had > assumed. Right, the first point I think is the important one, the rest was just information added in. At the moment, we actually hardcode the address in the kernel, but that is changing. 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 13:58:04 +0200 Message-ID: <3393006.cAPXijaqQR@wuerfel> References: <1370623671-7748-1-git-send-email-ezequiel.garcia@free-electrons.com> <2456741.M6ZcdeZsEr@wuerfel> 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: Grant Likely Cc: Lior Amsalem , Andrew Lunn , Jason Cooper , devicetree-discuss , 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 12:54:59 Grant Likely wrote: > > > * These are SoC-wide registers including the UART and other things, not > > just the mbus setup > > * There are at least two different values used for the internal-regs > > mapping address depending on the SoC and boot loader version > > * We have to get the address from the DT since it is impossible to > > probe or change without knowing the current setting: The internal-regs > > also contains the registers in mbus used to relocate the internal-regs. > > I wasn't actually suggesting to not get the address from DT, but your > point is taken; there is a lot more to internal regs than I had > assumed. Right, the first point I think is the important one, the rest was just information added in. At the moment, we actually hardcode the address in the kernel, but that is changing. Arnd