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

David Gibson david at gibson.dropbear.id.au
Tue Mar 2 12:25:22 EST 2010


On Mon, Mar 01, 2010 at 04:13:30PM -0800, Stephen Neuendorffer wrote:
[snip]
> 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?

Hrm, interesting idea, and one that could have some merit.  However,
that specific syntax won't work, since '+' is a valid character in
node and property names.

-- 
David Gibson			| 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


More information about the devicetree-discuss mailing list