From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f169.google.com ([209.85.192.169]:34459 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751332AbbCSRhM (ORCPT ); Thu, 19 Mar 2015 13:37:12 -0400 Message-ID: <550B0944.6080203@gmail.com> Date: Thu, 19 Mar 2015 10:37:08 -0700 From: Frank Rowand Reply-To: frowand.list@gmail.com MIME-Version: 1.0 Subject: Re: [patch 2/7] dt: dtb version: document chosen/dtb-info node binding References: <550A42AC.8060104@gmail.com> <550A4382.4030209@gmail.com> In-Reply-To: <550A4382.4030209@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: Cc: Rob Herring , Grant Likely , Russell King , Michal Marek , Ian Campbell , Kumar Gala , Leif Lindholm , Mark Rutland , Pawel Moll , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , linux-kbuild@vger.kernel.org, Linux Kernel list On 3/18/2015 8:33 PM, Frank Rowand wrote: > From: Frank Rowand > > Add /chosen/dtb-node binding. > > Signed-off-by: Frank Rowand > --- > Documentation/devicetree/bindings/chosen.txt | 37 +++++++++++ > > Index: b/Documentation/devicetree/bindings/chosen.txt > =================================================================== > --- a/Documentation/devicetree/bindings/chosen.txt > +++ b/Documentation/devicetree/bindings/chosen.txt > @@ -46,6 +46,43 @@ on PowerPC "stdout" if "stdout-path" is > should only use the "stdout-path" property. > > > +dtb-info node > +---------------- > + > +Information that describes where the device tree blob (DTB) came from and the > +environment it was created in. I left out optional vs required. The next version will state that the dtb-info node and each separate property within it are optional. > + > +This node is normally created by including arch/arm/boot/dts/skeleton.dtsi, > +which includes include/dt-bindings/version.dtsi. > + > +Properties: > + > +version > + The version of the DTB. This is analagous to the linux kernel version. > + > + This is a format free field intended for human consumption. User space > + programs should not have any expections about this property. > + > + The DTB number in this property is incremented each time a make that > + creates one or more DTBs is invoked. If the make creates multiple > + DTBs then this number is only incremented once. > + > + The DTB number is stored in file .version_dtb. > + > +version-linux > + The version of the linux kernel most recently built in the source > + control system that contains the source used to build the DTB. > + > + The linux kernel version number is not incremented for a make that > + creates a DTB. > + > +dtb-path > + The build directory relative path of the DTB. > + > +dts-path > + The absolute path of the .dts file compiled to create the DTB. > + > + > Properties documented in other bindings > --------------------------------------- > #address-cells video/simple-framebuffer-sunxi.txt >