Re: [PATCH V6 3/3] ARM: dts: Add pcie controller node for SamsungEXYNOS5440 SoC

From: Tomasz Figa
Date: Thu Jun 20 2013 - 07:43:20 EST


On Thursday 20 of June 2013 20:04:47 Jingoo Han wrote:
> On Thursday, June 20, 2013 7:17 PM, Arnd Bergmann wrote:
> > On Thursday 20 June 2013, Jingoo Han wrote:
> > > 2. patch adding label to the pinctrl node (which is a prerequisite)
> > > and
> > >
> > > board-specific properties of PCIe nodes.
> > >
> > > [PATCH] ARM: dts: Add pcie controller node for exynos5440-ssdk5440
> > >
> > > arch/arm/boot/dts/exynos5440-ssdk5440.dts
> > > +
> > > + pcie0@290000 {
> > > + reset-gpio = <&pin_ctrl 5 0>;
> > > + };
> > > +
> > > + pcie1@2a0000 {
> > > + reset-gpio = <&pin_ctrl 22 0>;
> > > + };
> > >
> > > arch/arm/boot/dts/exynos5440.dtsi
> > > - pinctrl {
> > > + pin_ctrl: pinctrl {
> >
> > Note that you don't really have to use a label, you can also refer
> > to the pinctrl node by its full path, which is just "/pinctrl"
> > or "/pinctrl@e0000".

Sure, you can, but this is ugly.

>
> I see.
>
> But, I have a question.
> Using phandle has been the usual way to referring to a node.
> Why do you want to do it differently?

Path is translated to a phandle as well.

--
Best regards,
Tomasz

--
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/