From: Frank Rowand <frowand.list@gmail.com> To: frowand.list@gmail.com, Rob Herring <robh+dt@kernel.org>, Grant Likely <grant.likely@linaro.org>, Russell King <linux@arm.linux.org.uk>, Michal Marek <mmarek@suse.cz> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Leif Lindholm <leif.lindholm@linaro.org>, Mark Rutland <mark.rutland@arm.com>, Pawel Moll <pawel.moll@arm.com>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, linux-kbuild@vger.kernel.org, Linux Kernel list <linux-kernel@vger.kernel.org> Subject: [patch 6/7] dt: dtb version: dtsi files Date: Wed, 18 Mar 2015 20:39:37 -0700 [thread overview] Message-ID: <550A44F9.9060504@gmail.com> (raw) In-Reply-To: <550A42AC.8060104@gmail.com> From: Frank Rowand <frank.rowand@sonymobile.com> Create a .dtsi file to contain the /chosen/dtb-info node and populate the properties in that node. Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> --- arch/arm/boot/dts/skeleton.dtsi | 2 include/dt-bindings/version.dtsi | 19 +++++ Index: b/include/dt-bindings/version.dtsi =================================================================== --- /dev/null +++ b/include/dt-bindings/version.dtsi @@ -0,0 +1,19 @@ + +#include <utsrelease.h> +#include <compile.h> +#include <compile_dtb.h> + +/ { + chosen { + dtb-info { + version = UTS_RELEASE, " ", DTB_VERSION; + version-linux = + UTS_RELEASE, + " (", LINUX_COMPILE_BY, "@", LINUX_COMPILE_HOST, ") ", + "(", LINUX_COMPILER, ") ", + UTS_VERSION; + dtb-path = ___DTB_DTB_PATH; + dts-path = ___DTB_DTS_PATH; + }; + }; +}; Index: b/arch/arm/boot/dts/skeleton.dtsi =================================================================== --- a/arch/arm/boot/dts/skeleton.dtsi +++ b/arch/arm/boot/dts/skeleton.dtsi @@ -11,3 +11,5 @@ aliases { }; memory { device_type = "memory"; reg = <0 0>; }; }; + +#include <dt-bindings/version.dtsi>
WARNING: multiple messages have this Message-ID (diff)
From: frowand.list@gmail.com (Frank Rowand) To: linux-arm-kernel@lists.infradead.org Subject: [patch 6/7] dt: dtb version: dtsi files Date: Wed, 18 Mar 2015 20:39:37 -0700 [thread overview] Message-ID: <550A44F9.9060504@gmail.com> (raw) In-Reply-To: <550A42AC.8060104@gmail.com> From: Frank Rowand <frank.rowand@sonymobile.com> Create a .dtsi file to contain the /chosen/dtb-info node and populate the properties in that node. Signed-off-by: Frank Rowand <frank.rowand@sonymobile.com> --- arch/arm/boot/dts/skeleton.dtsi | 2 include/dt-bindings/version.dtsi | 19 +++++ Index: b/include/dt-bindings/version.dtsi =================================================================== --- /dev/null +++ b/include/dt-bindings/version.dtsi @@ -0,0 +1,19 @@ + +#include <utsrelease.h> +#include <compile.h> +#include <compile_dtb.h> + +/ { + chosen { + dtb-info { + version = UTS_RELEASE, " ", DTB_VERSION; + version-linux = + UTS_RELEASE, + " (", LINUX_COMPILE_BY, "@", LINUX_COMPILE_HOST, ") ", + "(", LINUX_COMPILER, ") ", + UTS_VERSION; + dtb-path = ___DTB_DTB_PATH; + dts-path = ___DTB_DTS_PATH; + }; + }; +}; Index: b/arch/arm/boot/dts/skeleton.dtsi =================================================================== --- a/arch/arm/boot/dts/skeleton.dtsi +++ b/arch/arm/boot/dts/skeleton.dtsi @@ -11,3 +11,5 @@ aliases { }; memory { device_type = "memory"; reg = <0 0>; }; }; + +#include <dt-bindings/version.dtsi>
next prev parent reply other threads:[~2015-03-19 3:39 UTC|newest] Thread overview: 93+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-19 3:29 [patch 0/7] dt: dtb version: add version info to dtb Frank Rowand 2015-03-19 3:29 ` Frank Rowand 2015-03-19 3:29 ` Frank Rowand 2015-03-19 3:31 ` [patch 1/7] dt: dtb version: consolidate documentation of chosen node bindings Frank Rowand 2015-03-19 3:31 ` Frank Rowand 2015-03-19 3:31 ` Frank Rowand 2015-03-19 13:40 ` Mark Rutland 2015-03-19 13:40 ` Mark Rutland 2015-03-19 13:40 ` Mark Rutland 2015-03-19 3:33 ` [patch 2/7] dt: dtb version: document chosen/dtb-info node binding Frank Rowand 2015-03-19 3:33 ` Frank Rowand 2015-03-19 3:33 ` Frank Rowand 2015-03-19 13:23 ` Rob Herring 2015-03-19 13:23 ` Rob Herring 2015-03-19 13:23 ` Rob Herring 2015-03-19 16:42 ` Frank Rowand 2015-03-19 16:42 ` Frank Rowand 2015-03-19 16:42 ` Frank Rowand 2015-03-19 18:41 ` Russell King - ARM Linux 2015-03-19 18:41 ` Russell King - ARM Linux 2015-03-19 18:41 ` Russell King - ARM Linux 2015-03-19 18:53 ` Mark Rutland 2015-03-19 18:53 ` Mark Rutland 2015-03-19 18:53 ` Mark Rutland 2015-03-19 18:53 ` Mark Rutland 2015-03-19 19:01 ` Frank Rowand 2015-03-19 19:01 ` Frank Rowand 2015-03-19 19:01 ` Frank Rowand 2015-03-19 19:32 ` Russell King - ARM Linux 2015-03-19 19:32 ` Russell King - ARM Linux 2015-03-19 19:32 ` Russell King - ARM Linux 2015-03-19 19:32 ` Russell King - ARM Linux 2015-03-19 20:44 ` Frank Rowand 2015-03-19 20:44 ` Frank Rowand 2015-03-19 20:44 ` Frank Rowand 2015-03-20 14:42 ` Mark Rutland 2015-03-20 14:42 ` Mark Rutland 2015-03-20 14:42 ` Mark Rutland 2015-03-20 14:42 ` Mark Rutland 2015-03-19 13:49 ` Mark Rutland 2015-03-19 13:49 ` Mark Rutland 2015-03-19 13:49 ` Mark Rutland 2015-03-19 17:02 ` Frank Rowand 2015-03-19 17:02 ` Frank Rowand 2015-03-19 17:02 ` Frank Rowand 2015-03-19 17:23 ` Geert Uytterhoeven 2015-03-19 17:23 ` Geert Uytterhoeven 2015-03-19 17:23 ` Geert Uytterhoeven 2015-03-19 19:12 ` Mark Rutland 2015-03-19 19:12 ` Mark Rutland 2015-03-19 19:12 ` Mark Rutland 2015-03-19 21:27 ` Frank Rowand 2015-03-19 21:27 ` Frank Rowand 2015-03-19 21:27 ` Frank Rowand 2015-03-20 15:25 ` Mark Rutland 2015-03-20 15:25 ` Mark Rutland 2015-03-20 15:25 ` Mark Rutland 2015-03-19 17:37 ` Frank Rowand 2015-03-19 17:37 ` Frank Rowand 2015-03-19 17:37 ` Frank Rowand 2015-03-19 17:37 ` Frank Rowand 2015-03-19 3:34 ` [patch 3/7] dt: dtb version: arm dts Makefile Frank Rowand 2015-03-19 3:34 ` Frank Rowand 2015-03-19 3:34 ` Frank Rowand 2015-03-19 3:34 ` Frank Rowand 2015-03-19 3:36 ` [patch 4/7] dt: dtb version: kernel Makefile Frank Rowand 2015-03-19 3:36 ` Frank Rowand 2015-03-19 3:36 ` Frank Rowand 2015-03-19 3:38 ` [patch 5/7] dt: dtb version: kbuild scripts Frank Rowand 2015-03-19 3:38 ` Frank Rowand 2015-03-19 3:38 ` Frank Rowand 2015-03-19 3:39 ` Frank Rowand [this message] 2015-03-19 3:39 ` [patch 6/7] dt: dtb version: dtsi files Frank Rowand 2015-03-19 3:39 ` Frank Rowand 2015-03-19 18:46 ` Sascha Hauer 2015-03-19 18:46 ` Sascha Hauer 2015-03-19 18:46 ` Sascha Hauer 2015-03-19 3:41 ` [patch 7/7] dt: dtb version: report dtb info Frank Rowand 2015-03-19 3:41 ` Frank Rowand 2015-03-19 3:41 ` Frank Rowand 2015-03-19 8:12 ` [patch 0/7] dt: dtb version: add version info to dtb Gregory CLEMENT 2015-03-19 8:12 ` Gregory CLEMENT 2015-03-19 8:12 ` Gregory CLEMENT 2015-03-19 17:05 ` Frank Rowand 2015-03-19 17:05 ` Frank Rowand 2015-03-19 17:05 ` Frank Rowand 2015-03-20 13:46 ` Rob Herring 2015-03-20 13:46 ` Rob Herring 2015-03-20 13:46 ` Rob Herring 2015-03-20 19:14 ` Uwe Kleine-König 2015-03-20 19:14 ` Uwe Kleine-König 2015-03-20 19:14 ` Uwe Kleine-König 2015-03-20 19:14 ` Uwe Kleine-König
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=550A44F9.9060504@gmail.com \ --to=frowand.list@gmail.com \ --cc=devicetree@vger.kernel.org \ --cc=galak@codeaurora.org \ --cc=grant.likely@linaro.org \ --cc=ijc+devicetree@hellion.org.uk \ --cc=leif.lindholm@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kbuild@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux@arm.linux.org.uk \ --cc=mark.rutland@arm.com \ --cc=mmarek@suse.cz \ --cc=pawel.moll@arm.com \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.