From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Paul Kocialkowski <contact-W9ppeneeCTY@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
Alexandre Courbot
<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Mikko Perttunen <cyndis-/1wQRMveznE@public.gmane.org>,
Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org>
Subject: Re: [PATCH v2 3/6] ARM: tegra: nyan-big: Include compatible revisions for proper detection
Date: Wed, 25 Jan 2017 12:14:58 +0100 [thread overview]
Message-ID: <20170125111458.GH9344@ulmo.ba.sec> (raw)
In-Reply-To: <1485342488.1224.3.camel-W9ppeneeCTY@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 2431 bytes --]
On Wed, Jan 25, 2017 at 12:08:08PM +0100, Paul Kocialkowski wrote:
> Le mercredi 25 janvier 2017 à 12:02 +0100, Thierry Reding a écrit :
> > On Sun, Jan 22, 2017 at 04:47:50PM +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-big 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-W9ppeneeCTY@public.gmane.org>
> > > ---
> > > arch/arm/boot/dts/tegra124-nyan-big.dts | 7 ++++++-
> > > 1 file changed, 6 insertions(+), 1 deletion(-)
> >
> > I've applied this, with a small change, see below.
> >
> > > diff --git a/arch/arm/boot/dts/tegra124-nyan-big.dts
> > > b/arch/arm/boot/dts/tegra124-nyan-big.dts
> > > index 67d7cfb32541..f12ece9b76a6 100644
> > > --- a/arch/arm/boot/dts/tegra124-nyan-big.dts
> > > +++ b/arch/arm/boot/dts/tegra124-nyan-big.dts
> > > @@ -6,7 +6,12 @@
> > >
> > > / {
> > > model = "Acer Chromebook 13 CB5-311";
> > > - compatible = "google,nyan-big", "nvidia,tegra124";
> > > + compatible = "google,nyan-big-rev7", "google,nyan-big-rev6",
> > > + "google,nyan-big-rev5", "google,nyan-big-rev4",
> > > + "google,nyan-big-rev3", "google,nyan-big-rev2",
> > > + "google,nyan-big-rev5", "google,nyan-big-rev4",
> >
> > This line is the same as two lines above, so I've removed this one. I've
> > also used slightly different padding (two tabs and align to the first
> > string in the first line with spaces) to make it consistent with other
> > string lists in the file.
>
> Oops, sorry I missed that last faulty line. Actually, it should have contained:
> "google,nyan-blaze-rev1", "google,nyan-blaze-rev0";
>
> instead so that all revision, from 7 down to 0 are covered.
>
> Should I make another patch on top to fix that?
Here's what I've put into Tegra's for-next, that has all the necessary
revisions, doesn't it?
https://git.kernel.org/cgit/linux/kernel/git/tegra/linux.git/commit/?h=for-next&id=bfa3c0d4e8ba8eff525d34dbde0e76a98ebfbade
If so, no need for another patch.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-01-25 11:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-22 15:47 [PATCH v2 1/6] ARM: tegra: nyan: Use proper IRQ type definitions Paul Kocialkowski
[not found] ` <20170122154753.31942-1-contact-W9ppeneeCTY@public.gmane.org>
2017-01-22 15:47 ` [PATCH v2 2/6] ARM: tegra: nyan: Use external control for bq24735 charger Paul Kocialkowski
[not found] ` <20170122154753.31942-2-contact-W9ppeneeCTY@public.gmane.org>
2017-01-25 10:59 ` Thierry Reding
2017-01-25 11:01 ` Paul Kocialkowski
2017-01-22 15:47 ` [PATCH v2 4/6] ARM: tegra: nyan-blaze: Include compatible revisions for proper detection Paul Kocialkowski
[not found] ` <20170122154753.31942-4-contact-W9ppeneeCTY@public.gmane.org>
2017-01-25 11:04 ` Thierry Reding
2017-01-25 10:58 ` [PATCH v2 1/6] ARM: tegra: nyan: Use proper IRQ type definitions Thierry Reding
2017-01-22 15:47 ` [PATCH v2 3/6] ARM: tegra: nyan-big: Include compatible revisions for proper detection Paul Kocialkowski
[not found] ` <20170122154753.31942-3-contact-W9ppeneeCTY@public.gmane.org>
2017-01-25 11:02 ` Thierry Reding
[not found] ` <20170125110246.GD9344-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2017-01-25 11:08 ` Paul Kocialkowski
[not found] ` <1485342488.1224.3.camel-W9ppeneeCTY@public.gmane.org>
2017-01-25 11:14 ` Thierry Reding [this message]
2017-01-25 11:19 ` Paul Kocialkowski
2017-01-22 15:47 ` [PATCH v2 5/6] ARM: tegra: nyan-big: Proper pinmux for TPM i2c Paul Kocialkowski
2017-01-25 11:06 ` Thierry Reding
[not found] ` <20170125110644.GF9344-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2017-01-25 11:10 ` Jon Hunter
2017-01-25 11:16 ` Thierry Reding
2017-01-22 15:47 ` [PATCH v2 6/6] ARM: tegra: nyan-blaze: " Paul Kocialkowski
[not found] ` <20170122154753.31942-6-contact-W9ppeneeCTY@public.gmane.org>
2017-01-25 11:09 ` Thierry Reding
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=20170125111458.GH9344@ulmo.ba.sec \
--to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=contact-W9ppeneeCTY@public.gmane.org \
--cc=cyndis-/1wQRMveznE@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox