Re: [PATCH 0/2] request for help -- do not apply patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, Feb 25, 2018 at 9:22 PM,  <frowand.list@xxxxxxxxx> wrote:
> From: Frank Rowand <frowand.list@xxxxxxxxx>
>
> Hi All,
>
> I am once again out of my depth with bison and flex.

Can't help on that one...

> The Devicetree Specification and ePAPR both tell me that I can
> put a label on a node, as in:
>
>    [label:] node-name[@unit-address] {
>       [properties definitions]
>       [child nodes]
>    }

Applying this to the root node would also imply that a unit-address is
also allowed which it is not. I'd contend that the root is special.

> and do not make any mention of the root node as being different
> that any other node in this respect.
>
> However, the dtc implementation does not allow a label on the
> root node.  I tried modifying the dtc parser to allow a label
> on the root node.  The result is patch 1/2 in this series.

Why would you want a label there? Because using "/" is too short or
the syntax for phandles using the path is too hard to remember (I
never can)?

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree-compiler" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux