Re: [PATCH v3 1/2] arm: dts: am4372: let boards access all nodes through phandles

From: Mark Rutland
Date: Wed Jun 25 2014 - 07:15:25 EST


On Wed, Jun 25, 2014 at 02:40:16AM +0100, Felipe Balbi wrote:
> Hi,
>
> On Tue, Jun 24, 2014 at 04:11:48PM -0500, Rob Herring wrote:
> > On Mon, Jun 23, 2014 at 1:20 PM, Felipe Balbi <balbi@xxxxxx> wrote:
> > > by providing phandles to rtc, wdt, cpu and dispc nodes,
> > > boards can access them to add board-specific data.
> >
> > Strictly speaking, you are adding labels, not phandles. You can do
>
> heh, fair point. Easily editable when applying, though (?)
>
> > phandles without using labels, but the syntax is not so obvious. I'd
> > tell you what it is but offhand I don't remember. :)
>
> something along the lines of using the full path ?

Yup. The full path in braces:

phandle-property = <&{/full/path/to/node@0xDEAD}>;

Mark.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/