From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH v2 07/10] ARM: tegra: pcie: Add device tree support Date: Wed, 20 Jun 2012 11:47:39 -0600 Message-ID: <4FE20CBB.7040500@wwwdotorg.org> References: <4FD84133.4060401@firmworks.com> <20120613075232.GA6139@avionic-0098.mockup.avionic-design.de> <4FD849CF.4030009@firmworks.com> <20120613081910.GB6528@avionic-0098.mockup.avionic-design.de> <4FD85127.8050301@firmworks.com> <20120614091905.GA9081@avionic-0098.mockup.avionic-design.de> <4FDA2DDA.1030704@wwwdotorg.org> <20120614192903.GA2212@avionic-0098.mockup.avionic-design.de> <4FDA40A0.4030206@wwwdotorg.org> <20120615061236.GA4081@avionic-0098.mockup.avionic-design.de> <20120619133001.GB24138@avionic-0098.mockup.avionic-design.de> <4FE0EFBB.6090206@firmworks.com> <4FE1FB28.3080901@wwwdotorg.org> <4FE20B34.2090305@firmworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FE20B34.2090305-D5eQfiDGL7eakBO8gow8eQ@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mitch Bradley Cc: Thierry Reding , Russell King , linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Rob Herring , Jesse Barnes , Colin Cross , linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Arnd Bergmann List-Id: devicetree@vger.kernel.org On 06/20/2012 11:41 AM, Mitch Bradley wrote: > On 6/20/2012 6:32 AM, Stephen Warren wrote: >> On 06/19/2012 03:31 PM, Mitch Bradley wrote: >> ... >> >> >> The third cell "offset" is necessary so that the size field has a number >> space that can include it. >> >> Can you expand on that sentence a bit more; I don't quite understand >> that aspect. Thanks. > > The meaning of "size"(in the context of "reg" which is phys,size) is > "the device occupies a > contiguous sequence of addresses beginning at phys and continuing to > phys+size-1". The > implicit addition occurs on the last #size-cells cells of the phys. Ah right of course - that makes perfect sense. Thanks.