From patchwork Thu Mar 19 03:33:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Rowand X-Patchwork-Id: 6045471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 47F019F440 for ; Thu, 19 Mar 2015 03:37:02 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ADB92204D3 for ; Thu, 19 Mar 2015 03:36:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF65F204D1 for ; Thu, 19 Mar 2015 03:36:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YYRDU-00038f-Ks; Thu, 19 Mar 2015 03:33:52 +0000 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YYRDO-00030f-IB for linux-arm-kernel@lists.infradead.org; Thu, 19 Mar 2015 03:33:47 +0000 Received: by pabxg6 with SMTP id xg6so49258933pab.0 for ; Wed, 18 Mar 2015 20:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/Ug7dp9TtWsMhOLnC7dpx1xIn8DqfGEvumDlBKATWfE=; b=Qq7ttb5ZPkxZJJ/DZduuoWKrszWyfU/RrGpfZmUC7gpXd/HtQaDTl+D657vWONkgdF QF1c1Dfdv2UX3uEAPDpt2ABysDDlQdRn1rnBAsOzYxGYbFgCbR8Cu3iOtDWloOvB/+8h 70qdbEhtDJQxeuCwwWS4CUHiVOBKTpK+P3GyFWX6d/UdYzowoMGpcUvNFzWPoKh3Vy4V RRlqaiP+zoVJKAjfzovBQUGhEoj8wX7Iftsh4IEHfRrEFvwDviTY5q1idPnaAAj4p8sX KuKYFyBQPZpIaBY+vpjNeUzG051XiDaSXEE5uzY7rCWc8EwR9D/a8hJ94KV4JqiBkEcr MIJQ== X-Received: by 10.70.31.66 with SMTP id y2mr107829245pdh.118.1426736005789; Wed, 18 Mar 2015 20:33:25 -0700 (PDT) Received: from [172.26.79.213] ([64.211.224.253]) by mx.google.com with ESMTPSA id x3sm127501pdb.36.2015.03.18.20.33.23 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Mar 2015 20:33:24 -0700 (PDT) Message-ID: <550A4382.4030209@gmail.com> Date: Wed, 18 Mar 2015 20:33:22 -0700 From: Frank Rowand User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: frowand.list@gmail.com, Rob Herring , Grant Likely , Russell King , Michal Marek Subject: [patch 2/7] dt: dtb version: document chosen/dtb-info node binding References: <550A42AC.8060104@gmail.com> In-Reply-To: <550A42AC.8060104@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150318_203346_643301_CD956A9D X-CRM114-Status: GOOD ( 13.73 ) X-Spam-Score: -0.8 (/) Cc: Mark Rutland , "devicetree@vger.kernel.org" , Pawel Moll , Ian Campbell , linux-kbuild@vger.kernel.org, Linux Kernel list , Leif Lindholm , Kumar Gala , "linux-arm-kernel@lists.infradead.org" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: frowand.list@gmail.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. + +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