From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762275AbZE1ACo (ORCPT ); Wed, 27 May 2009 20:02:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756478AbZE1ACg (ORCPT ); Wed, 27 May 2009 20:02:36 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:42604 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757093AbZE1ACe (ORCPT ); Wed, 27 May 2009 20:02:34 -0400 Date: Wed, 27 May 2009 17:02:34 -0700 (PDT) Message-Id: <20090527.170234.69075052.davem@davemloft.net> To: scottwood@freescale.com Cc: r.schwebel@pengutronix.de, grant.likely@secretlab.ca, devicetree-discuss@ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk, yuan-bo.ye@motorola.com, timur@freescale.com, rmk@arm.linux.org.uk Subject: Re: [RFC] [PATCH] Device Tree on ARM platform From: David Miller In-Reply-To: <4A1DD3A0.3010501@freescale.com> References: <20090527234801.GP6805@pengutronix.de> <4A1DD3A0.3010501@freescale.com> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Scott Wood Date: Wed, 27 May 2009 18:58:24 -0500 > Because it's better to have a little platform specific code than a lot > of it? Judging by some of the questions I see popping up over and over again, I suspect that many people resisting OF device trees lack much of an understanding of what they provide and can do. Questions like "How do we determine attribute X of a given device" has an obvious answer if you understand device node properties and that you can encode arbitrary things into them to provide arbitrary bits of information on a per-device-instance basis. From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [RFC] [PATCH] Device Tree on ARM platform Date: Wed, 27 May 2009 17:02:34 -0700 (PDT) Message-ID: <20090527.170234.69075052.davem@davemloft.net> References: <20090527234801.GP6805@pengutronix.de> <4A1DD3A0.3010501@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A1DD3A0.3010501-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: scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org Cc: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, timur-KZfg59tc24xl57MIdRCFDg@public.gmane.org, yuan-bo.ye-3WKxDLwmzFNWk0Htik3J/w@public.gmane.org, linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org, rmk-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org List-Id: devicetree@vger.kernel.org From: Scott Wood Date: Wed, 27 May 2009 18:58:24 -0500 > Because it's better to have a little platform specific code than a lot > of it? Judging by some of the questions I see popping up over and over again, I suspect that many people resisting OF device trees lack much of an understanding of what they provide and can do. Questions like "How do we determine attribute X of a given device" has an obvious answer if you understand device node properties and that you can encode arbitrary things into them to provide arbitrary bits of information on a per-device-instance basis.