Devicetree Compiler
 help / color / mirror / Atom feed
From: Herve Codina <herve.codina@bootlin.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: Simon Glass <sjg@chromium.org>,
	Devicetree Compiler <devicetree-compiler@vger.kernel.org>
Subject: Re: [PATCH v4 02/10] dtc: Add a struct for the top-level fragments of a dts file
Date: Fri, 27 Nov 2026 04:08:43 +0100	[thread overview]
Message-ID: <20261127040843.21de136d@bootlin.com> (raw)
In-Reply-To: <awjq9pu5MKwQYlk4@gractus.seuss>

Hi David,

On Fri, 27 Nov 2026 13:29:23 +1100
David Gibson <david@gibson.dropbear.id.au> wrote:

> On Thu, Nov 26, 2026 at 09:36:15PM +0100, Herve Codina wrote:
> > Hi Simon, David,
> > 
> > On Thu, 26 Nov 2026 10:34:24 -0800
> > Simon Glass <sjg@chromium.org> wrote:
> >   
> > > Hi David,
> > > 
> > > On 2026-11-25T00:44:05, David Gibson <david@gibson.dropbear.id.au> wrote:
> > >   
> > > > After consideration of our previous discussions, I'm leaning towards
> > > > using the term "source layer" for these top level components (thanks
> > > > for the "layer" suggestion).  It's more verbose than I'd like, but I
> > > > think disambiguating from dtb level "fragments" is worth it.    
> > > 
> > > OK, done in v5, through the series. The struct is struct source_layer,
> > > but to keep the lines short the helpers just say 'layer':
> > > build_layer_ref(), free_layer(), LAYER_NODE and so on. Let me know if
> > > you would prefer source_layer throughout. 'Overlay fragment' and
> > > fragment@N are unchanged.
> > >   
> > 
> > Maybe late but "snippet" instead of "source_layer" or "layer" comes in my
> > mind.
> > 
> > Could this "snippet" make sense?  
> 
> Eh.  "snippet"s not a bad idea, but I prefer "source layer" even
> though it's longer.
> 
> 1) To me "snippet" suggests something small, but the layers can be an
>    entire dt
> 2) "layer" at leasts hints at the correct merge semantics: later
>    layers "cover" (overwrite) earlier layers.
> 

Make sense. Let's go with "layer".

You can just ignore the same comment I did in the v5 iteration.

Best regards,
Hervé

  reply	other threads:[~2026-11-27  3:08 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 23:57 [PATCH v4 00/10] dtc: Move the merging of fragments out of the grammar Simon Glass
2026-11-16 23:57 ` [PATCH v4 01/10] tests: Check how the fragments of a dts file are merged Simon Glass
2026-11-25  0:34   ` David Gibson
2026-11-25  6:42     ` David Gibson
2026-11-26 18:06     ` Simon Glass
2026-11-26 18:40     ` Simon Glass
2026-11-27  2:30       ` David Gibson
2026-11-16 23:57 ` [PATCH v4 02/10] dtc: Add a struct for the top-level fragments of a dts file Simon Glass
2026-11-25  0:44   ` David Gibson
2026-11-26 18:03     ` Simon Glass
2026-11-26 18:34     ` Simon Glass
2026-11-26 20:36       ` Herve Codina
2026-11-27  2:29         ` David Gibson
2026-11-27  3:08           ` Herve Codina [this message]
2026-11-27  2:27       ` David Gibson
2026-11-16 23:57 ` [PATCH v4 03/10] dtc: Move the /delete-node/ handling out of the grammar Simon Glass
2026-11-25  0:48   ` David Gibson
2026-11-16 23:57 ` [PATCH v4 04/10] dtc: Move the /omit-if-no-ref/ " Simon Glass
2026-11-25  1:15   ` David Gibson
2026-11-16 23:57 ` [PATCH v4 05/10] dtc: Move is_ref_relative() to livetree.c Simon Glass
2026-11-25  1:16   ` David Gibson
2026-11-16 23:58 ` [PATCH v4 06/10] dtc: Move label-reference handling out of the grammar Simon Glass
2026-11-25  6:12   ` David Gibson
2026-11-16 23:58 ` [PATCH v4 07/10] dtc: Merge &{label} in a plugin as with &label Simon Glass
2026-11-25  6:16   ` David Gibson
2026-11-16 23:58 ` [PATCH v4 08/10] dtc: Move path-reference handling out of the grammar Simon Glass
2026-11-25  6:18   ` David Gibson
2026-11-16 23:58 ` [PATCH v4 09/10] dtc: Move labelled-reference " Simon Glass
2026-11-25  6:21   ` David Gibson
2026-11-26 18:33     ` Simon Glass
2026-11-27  2:26       ` David Gibson
2026-11-16 23:58 ` [PATCH v4 10/10] dtc: Move first-reference " Simon Glass
2026-11-25  6:24   ` David Gibson
2026-11-26 18:07     ` Simon Glass

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=20261127040843.21de136d@bootlin.com \
    --to=herve.codina@bootlin.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=devicetree-compiler@vger.kernel.org \
    --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