[PATCH 8/9 V3] Add documentation for the new DTS language.

Scott Wood scottwood at freescale.com
Wed Mar 3 04:06:56 EST 2010


On Mon, Mar 01, 2010 at 07:08:19PM -0700, Grant Likely wrote:
> > Yes... I think this should just be allowed... or at the very least I don't see a
> > reason to make this an error...  It does occur to me that it might be useful to
> > explicitly note the 'extension' of a previous node, which asserts that it *must*
> > exist.  i.e.
> >
> > foo {
> >        bar + {
> >                bar = 3;
> >        }
> > }
> >
> > Here it is explicitly clear that bar is an incomplete definition?
> 
> hmmm... I don't think I like this so much, and I don't yet see a use
> case where this is really a required feature.

I could see it being useful if instead of being an error if bar (the node)
doesn't already exist, it is ignored.  In other words, "if there is a bar,
add this property to it, but don't create a new bar just for me".

-Scott


More information about the devicetree-discuss mailing list