Re: [RFC] [PATCH] Device Tree on ARM platform

Grant Likely
2009-05-28T13:39:16Z

On Thu, May 28, 2009 at 1:32 AM, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
> Nowadays, any struct device can be linked to an OF device node thanks to
> the archdata extension that we added to the generic struct device. One
> of the idea we have in mind is to create a simple mechanism that
> "intanciate" devices based on probing them in the tree, regardless of
> the actual bus and linux device "type" (platform, PCI, i2c, ...).

Which is actually exactly what happens now for i2c, spi and (in .31)
mdio. of_platform is the exception. a really big elephant of an
exception, but an excpection never the less.

g.

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