From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932293Ab1DAQkd (ORCPT ); Fri, 1 Apr 2011 12:40:33 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:36648 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751316Ab1DAQkc (ORCPT ); Fri, 1 Apr 2011 12:40:32 -0400 MIME-Version: 1.0 In-Reply-To: <201104011755.57412.arnd@arndb.de> References: <201104011554.07924.arnd@arndb.de> <1301671655.28467.52.camel@e102144-lin.cambridge.arm.com> <201104011755.57412.arnd@arndb.de> From: Linus Torvalds Date: Fri, 1 Apr 2011 09:39:38 -0700 Message-ID: Subject: Re: [GIT PULL] omap changes for v2.6.39 merge window To: Arnd Bergmann Cc: Will Deacon , Ingo Molnar , david@lang.hm, Russell King - ARM Linux , Nicolas Pitre , Tony Lindgren , Catalin Marinas , lkml , "H. Peter Anvin" , David Brown , linux-omap@vger.kernel.org, Thomas Gleixner , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 1, 2011 at 8:55 AM, Arnd Bergmann wrote: > > Well, except that because of point 7, device trees are still inferior to > having correct and complete information in hardware. Oh, absolutely. If you have discoverable hardware, use it. But by "discoverable hardware" I mean something like PCI config cycles. IOW, real hardware features. Not some code like if (board_signature_is(xyz)) { ... that just maps some _other_ hardware knowledge (reading a SoC ID or something) into an unrelated thing ("I know this SoC has these bits of hardware"). So devicetree should never override actual "hardware tells me it exists here". But you might well have a mapping from SoC ID's to a compiled-in devicetree thing (this is largely what POWER does, iirc). Linus