From: David Gibson <david@gibson.dropbear.id.au>
To: Herve Codina <herve.codina@bootlin.com>
Cc: Simon Glass <sjg@chromium.org>,
Devicetree Compiler <devicetree-compiler@vger.kernel.org>
Subject: Re: [PATCH v3 4/4] doc: dts-format: Correct what happens without /dts-v1/
Date: Fri, 30 Oct 2026 14:15:26 +1100 [thread overview]
Message-ID: <auQLzk-0BZcy3Pbi@gractus.seuss> (raw)
In-Reply-To: <20261029123359.0bfd11d6@bootlin.com>
[-- Attachment #1: Type: text/plain, Size: 2095 bytes --]
On Thu, Oct 29, 2026 at 12:33:59PM +0100, Herve Codina wrote:
> Hi Simon,
>
> On Thu, 29 Oct 2026 03:30:57 -0600
> Simon Glass <sjg@chromium.org> wrote:
>
> > dts-format.txt says that dtc treats a file without /dts-v1/ as the
> > obsolete version 0 format. That has not been true since commit
> > 4e1a0a0129b3 ("Remove support for the legacy DTS source file format."),
> > and dtc now gives a syntax error instead.
> >
> > Say that dtc does not accept such files.
> >
> > Assisted-by: Claude:claude-opus-5-5
> > Signed-off-by: Simon Glass <sjg@chromium.org>
> > ---
> >
> > Changes in v3:
> > - Add new patch to correct the description of /dts-v1/
> >
> > Documentation/dts-format.txt | 5 ++---
> > 1 file changed, 2 insertions(+), 3 deletions(-)
> >
> > diff --git a/Documentation/dts-format.txt b/Documentation/dts-format.txt
> > index da0783b..87d3d8e 100644
> > --- a/Documentation/dts-format.txt
> > +++ b/Documentation/dts-format.txt
> > @@ -137,9 +137,8 @@ Version 1 DTS files have the overall layout:
> > };
> >
> > * The "/dts-v1/;" must be present to identify the file as a version 1
> > - DTS (dts files without this tag will be treated by dtc as being in
> > - the obsolete "version 0", which uses a different format for integers
> > - amongst other small but incompatible changes).
> > + DTS. dtc does not accept files without it, which would be in the
> > + obsolete "version 0" format.
>
> obsolete and no more supported "version 0" format.
>
> Just to be clear about the "version 0" format.
>
> With that done:
> Reviewed-by: Herve Codina <herve.codina@bootlin.com>
I'm merging this with a slightly updated version of that change.
>
> >
> > * Memory reservations define an entry for the device tree blob's
> > memory reservation table. They have the form:
>
> Best regards,
> Hervé
>
>
--
David Gibson (he or they) | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you, not the other way
| around.
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2026-10-30 3:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 9:30 [PATCH v3 0/4] dtc: Check fatal error messages and document deletes Simon Glass
2026-10-29 9:30 ` [PATCH v3 1/4] tests: Check the message when dtc fails Simon Glass
2026-10-29 11:11 ` Herve Codina
2026-10-30 3:36 ` David Gibson
2026-10-30 9:40 ` Herve Codina
2026-10-29 9:30 ` [PATCH v3 2/4] tests: Drop dtc-fatal.sh Simon Glass
2026-10-29 9:30 ` [PATCH v3 3/4] doc: dts-format: Describe later definitions and deletes Simon Glass
2026-10-29 11:28 ` Herve Codina
2026-10-30 3:11 ` David Gibson
2026-10-29 9:30 ` [PATCH v3 4/4] doc: dts-format: Correct what happens without /dts-v1/ Simon Glass
2026-10-29 11:33 ` Herve Codina
2026-10-30 3:15 ` David Gibson [this message]
2026-10-29 11:17 ` [PATCH v3 0/4] dtc: Check fatal error messages and document deletes Herve Codina
2026-10-30 3:16 ` David Gibson
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=auQLzk-0BZcy3Pbi@gractus.seuss \
--to=david@gibson.dropbear.id.au \
--cc=devicetree-compiler@vger.kernel.org \
--cc=herve.codina@bootlin.com \
--cc=sjg@chromium.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