[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140908212143.GN2601@sirena.org.uk>
Date: Mon, 8 Sep 2014 22:21:43 +0100
From: Mark Brown <broonie@...nel.org>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: Grant Likely <grant.likely@...aro.org>,
Stanimir Varbanov <svarbanov@...sol.com>,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, devicetree@...r.kernel.org,
Rob Herring <robherring2@...il.com>,
Rob Herring <rob.herring@...aro.org>,
Arnd Bergmann <arnd@...db.de>, Lee Jones <lee.jones@...aro.org>
Subject: Re: [PATCH] RFC: add function for localbus address
On Mon, Sep 08, 2014 at 01:22:44PM -0700, Stephen Boyd wrote:
> Where is this described? From the commit text that introduces
> IORESOURCE_REG I see:
> "Currently a bunch of I2C/SPI MFD drivers are using IORESOURCE_IO for
> register address ranges. Since this causes some confusion due to the
> primary use of this resource type for PCI/ISA I/O ports create a new
> resource type IORESOURCE_REG."
> And the comment next to the #define says "Register offsets". I don't see
> anywhere where it mentions these are CPU addresses. Certainly the
> current IORESOURCE_REG users aren't CPU addresses because they're
> SPI/I2C device drivers.
Right, the intention was specifically to handle things where
IORESOURCE_MEM wasn't appropriate as it wasn't ever going to be memory
mapped I/O and should be in a separate address space.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists