From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [RFC] [PATCH] Device Tree on ARM platform Date: Thu, 28 May 2009 07:38:42 -0600 Message-ID: References: <1243408083.13460.14.camel@debian-nb> <20090527150527.GK6805@pengutronix.de> <1243495925.3171.134.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1243495925.3171.134.camel@pasglop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: Benjamin Herrenschmidt Cc: devicetree-discuss , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org, Janboe Ye , Timur Tabi , rmk-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org List-Id: devicetree@vger.kernel.org On Thu, May 28, 2009 at 1:32 AM, Benjamin Herrenschmidt 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.