From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [RFC] [PATCH] Device Tree on ARM platform Date: Thu, 28 May 2009 17:38:41 +1000 Message-ID: <1243496321.3171.141.camel@pasglop> References: <1243408083.13460.14.camel@debian-nb> <20090527150527.GK6805@pengutronix.de> <87vdnm8sec.fsf@macbook.be.48ers.dk> <4A1D6901.2090508@freescale.com> <20090527175609.GB31861@flint.arm.linux.org.uk> <4A1D8FBA.6040802@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A1D8FBA.6040802-KZfg59tc24xl57MIdRCFDg@public.gmane.org> 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: Scott Wood Cc: Russell King , devicetree-discuss , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Timur Tabi , Janboe Ye , linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org List-Id: devicetree@vger.kernel.org On Wed, 2009-05-27 at 14:08 -0500, Scott Wood wrote: > But to restate, having external glue to create platform devices from the > device tree is fine if that's what you want to do. We used to do that, > but it was a pain compared to keeping everything in one place. Your > experience may differ. This is a non-solved debate as to what is best. If an existing driver already has fairly complete platform_device support, it might be best to just create a glue that fills up the data structure from the DT... In any case, all the approaches are possible, the DT stuff doesn't corner you into a specific one. Cheers, Ben.