Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1564443 > unrolled thread

[PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection

Started byPaul Kocialkowski <contact@paulk.fr>
First post2017-01-22 17:00 +0100
Last post2017-01-25 12:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection Paul Kocialkowski <contact@paulk.fr> - 2017-01-22 17:00 +0100
    Re: [PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible  revisions for proper detection Thierry Reding <thierry.reding@gmail.com> - 2017-01-25 12:10 +0100

#1564443 — [PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection

FromPaul Kocialkowski <contact@paulk.fr>
Date2017-01-22 17:00 +0100
Subject[PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection
Message-ID<t2sIF-2A5-3@gated-at.bofh.it>
Depthcharge (the payload used with cros devices) will attempt to detect
boards using their revision. This includes all the known revisions for
the nyan-blaze board so that the dtb can be selected preferably.

Defining compatibly revisions allows depthcharge to select the kernel
via the revision it detects instead of using the default kernel. This
allows having a FIT image with multiple kernels for multiple devices.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
 arch/arm/boot/dts/tegra124-nyan-blaze.dts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/tegra124-nyan-blaze.dts b/arch/arm/boot/dts/tegra124-nyan-blaze.dts
index c9582361c26e..aca0828115eb 100644
--- a/arch/arm/boot/dts/tegra124-nyan-blaze.dts
+++ b/arch/arm/boot/dts/tegra124-nyan-blaze.dts
@@ -6,7 +6,13 @@
 
 / {
 	model = "HP Chromebook 14";
-	compatible = "google,nyan-blaze", "google,nyan", "nvidia,tegra124";
+	compatible = "google,nyan-blaze-rev10", "google,nyan-blaze-rev9",
+			"google,nyan-blaze-rev8", "google,nyan-blaze-rev7",
+			"google,nyan-blaze-rev6", "google,nyan-blaze-rev5",
+			"google,nyan-blaze-rev4", "google,nyan-blaze-rev3",
+			"google,nyan-blaze-rev2", "google,nyan-blaze-rev1",
+			"google,nyan-blaze-rev0", "google,nyan-blaze",
+			"google,nyan", "nvidia,tegra124";
 
 	panel: panel {
 		compatible = "samsung,ltn140at29-301";
-- 
2.11.0

[toc] | [next] | [standalone]


#1566494 — Re: [PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection

FromThierry Reding <thierry.reding@gmail.com>
Date2017-01-25 12:10 +0100
SubjectRe: [PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection
Message-ID<t3tCF-ZC-19@gated-at.bofh.it>
In reply to#1564443

[Multipart message — attachments visible in raw view] — view raw

On Sun, Jan 22, 2017 at 04:47:51PM +0100, Paul Kocialkowski wrote:
> Depthcharge (the payload used with cros devices) will attempt to detect
> boards using their revision. This includes all the known revisions for
> the nyan-blaze board so that the dtb can be selected preferably.
> 
> Defining compatibly revisions allows depthcharge to select the kernel
> via the revision it detects instead of using the default kernel. This
> allows having a FIT image with multiple kernels for multiple devices.
> 
> Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
> ---
>  arch/arm/boot/dts/tegra124-nyan-blaze.dts | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

Applied, with the same padding adjustments as 3/6.

Thanks,
Thierry

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web