From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: [PATCHv3] mtd: gpio-nand: add device tree bindings Date: Mon, 1 Aug 2011 15:43:21 -0500 Message-ID: <20110801154321.42be1a4b@schlenkerla.am.freescale.net> References: <1312207374-14760-1-git-send-email-jamie@jamieiles.com> <20110801133825.0b4fff24@schlenkerla.am.freescale.net> <20110801193316.GA2648@pulham.picochip.com> <20110801151209.7b904320@schlenkerla.am.freescale.net> <20110801202536.GB2648@pulham.picochip.com> <20110801153950.634eb432@schlenkerla.am.freescale.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110801153950.634eb432@schlenkerla.am.freescale.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-mtd-bounces@lists.infradead.org Errors-To: linux-mtd-bounces+gldm-linux-mtd-36=gmane.org@lists.infradead.org To: Scott Wood Cc: Jamie Iles , devicetree-discuss@lists.ozlabs.org, David Woodhouse , linux-mtd@lists.infradead.org, Artem Bityutskiy List-Id: devicetree@vger.kernel.org On Mon, 1 Aug 2011 15:39:50 -0500 Scott Wood wrote: > On Mon, 1 Aug 2011 21:25:36 +0100 > Jamie Iles wrote: > > > On Mon, Aug 01, 2011 at 03:12:09PM -0500, Scott Wood wrote: > > > Or perhaps the io sync address should just be a physical address, not a reg > > > that gets translated. > > > > OK, I like the sound of that. I'm a bit new to the world of device tree > > so I'm not sure of the best way to do this. Would reading the > > #address-cells property then use of_read_number() be the right way? > > I'd just unconditionally define it as a 64-bit physical address. To be clear, it should go in its own property, not be associated with "reg" at all. -Scott ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/