From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwyBV-0000Ws-6D for qemu-devel@nongnu.org; Fri, 05 Dec 2014 14:05:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwyBO-0005hF-Pw for qemu-devel@nongnu.org; Fri, 05 Dec 2014 14:04:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwyBO-0005h9-J4 for qemu-devel@nongnu.org; Fri, 05 Dec 2014 14:04:50 -0500 Message-ID: <548201C0.1060006@redhat.com> Date: Fri, 05 Dec 2014 20:04:32 +0100 From: Laszlo Ersek MIME-Version: 1.0 References: <1417366282-13527-1-git-send-email-lersek@redhat.com> <1417366282-13527-3-git-send-email-lersek@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [kernel PATCH v2 2/2] devicetree: document ARM bindings for QEMU's Firmware Config interface List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Mark Rutland , "devicetree@vger.kernel.org" , QEMU Developers , Arnd Bergmann On 12/05/14 19:57, Peter Maydell wrote: > On 30 November 2014 at 16:51, Laszlo Ersek wrote: >> +Example: >> + >> +/ { >> + #size-cells = <0x2>; >> + #address-cells = <0x2>; >> + >> + fw-cfg@9020000 { >> + compatible = "qemu,fw-cfg-mmio"; >> + reg = <0x0 0x9020000 0x0 0x1000>; >> + }; > > I've just noticed that this example claims a register > region size of 0x1000. This seems wrong, because the > underlying device doesn't have a register range that > big. Surely this should be a size of 0x3 ? Arnd said I should round up the region to 0x1000. http://thread.gmane.org/gmane.linux.drivers.devicetree/101173/focus=101176 If that's incorrect I'd prefer to post incremental patches, because 4 other series already depend on this kernel docs patch. Thanks Laszlo