[RFC PATCH 02/19] powerpc: gamecube: device tree

Grant Likely grant.likely at secretlab.ca
Thu Nov 26 15:38:48 EST 2009


On Wed, Nov 25, 2009 at 9:21 PM, Benjamin Herrenschmidt
<benh at kernel.crashing.org> wrote:
> On Sun, 2009-11-22 at 16:02 -0700, Grant Likely wrote:
>> > +
>> > +               video at 0c002000 {
>> > +                       compatible = "nintendo,flipper-video";
>> > +                       reg = <0x0c002000 0x100>;
>> > +                       interrupts = <8>;
>> > +                       interrupt-parent = <&pic>;
>>
>> Hint:  If you move the interrupt-parent property up to the root node,
>> then you don't need to specify it in every single device node; it will
>> just inherit from the parent.
>
> Note that this is a linux-ism no ? (aka ePAPRism). If they aim toward
> having a real OF which I think they do they may wish to pass on this
> trick.

But this isn't real OF.  Real OF can generate its own valid tree.
This is a flat tree, and it is valid according to all users of the
flat tree.  Besides, the last time we talked about this, you told me
that moving it to the root was a good idea, and I happily changed all
the 5200 .dts files.  :-)

http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-January/067046.html

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the Linuxppc-dev mailing list