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.