Proposal: new device-tree syntax and semantics for extendinginformation from included dts files
Grant Likely
grant.likely at secretlab.ca
Sat Oct 16 10:58:06 EST 2010
On Fri, Oct 15, 2010 at 2:20 PM, Stephen Neuendorffer
<stephen.neuendorffer at xilinx.com> wrote:
> The ambiguity between
> bar; (referring to a property)
> and
> /trim-node/ bar; (referring to a node)
>
> Seems awkward, but perhaps unavoidable. At the very least, I don't have anything better to suggest.. :)
>
> perhaps in an ideal world, open firmware would originally have distinguished these by
> having
>
> bar =; // Create an empty property
> bar {}; // Create an empty node
>
> or something...
Actually, none of this is OpenFirmware related. This syntax was
created for use with dtc which is completely independent of
OpenFirmware. Only the device tree structure and usage conventions
are shared with dtc.
However, we've already got a large userbase so making an incompatible
source file format change would be unbelievably painful.
g.
More information about the devicetree-discuss
mailing list