Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756273Ab3G3AmY (ORCPT ); Mon, 29 Jul 2013 20:42:24 -0400 Received: from mail.lang.hm ([64.81.33.126]:51782 "EHLO bifrost.lang.hm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752364Ab3G3AmV (ORCPT ); Mon, 29 Jul 2013 20:42:21 -0400 Date: Mon, 29 Jul 2013 17:41:11 -0700 (PDT) From: David Lang X-X-Sender: dlang@asgard.lang.hm To: Jason Cooper cc: Dave Martin , Mark Rutland , Tomasz Figa , Wolfram Sang , Grant Likely , Russell King - ARM Linux , Jason Gunthorpe , "devicetree@vger.kernel.org" , Ian Campbell , Pawel Moll , Stephen Warren , Richard Cochran , Domenico Andreoli , "linux-arm-kernel@lists.infradead.org" , James Bottomley , "ksummit-2013-discuss@lists.linuxfoundation.org" , "linux-kernel@vger.kernel.org" , "jonsmirl@gmail.com" Subject: Re: [Ksummit-2013-discuss] Defining schemas for Device Tree In-Reply-To: <20130729172339.GT29916@titan.lakedaemon.net> Message-ID: References: <2469263.vMN09Q7Tzi@flatron> <20130729150124.GS29916@titan.lakedaemon.net> <20130729164905.GB2280@localhost.localdomain> <20130729172339.GT29916@titan.lakedaemon.net> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 944 Lines: 24 On Mon, 29 Jul 2013, Jason Cooper wrote: > >> >> I don't think that siblings have any defined order in DT. If reading a >> device tree, there's no guarantee you get nodes or properties out in the >> same order as the original .dts file. > > That's why I raised the point. If people think encoding initialization > order in the DT is a good idea, then we should change the dtc so it > compiles/decompiles in the same order. if you make the initializaiton order 'magicly' correct by following the order of the flat representation, how do you reflect the case where initialization can be overlapped for different devices? you are just trading one side of the problem for the other. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/