Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-31 Thread Thomas Petazzoni
Dear Tomasz Figa, On Wed, 31 Jul 2013 14:21:49 +0200, Tomasz Figa wrote: > u-boot still does not have generic driver model or at least did not have when > I last checked it not so long ago, so it seems like there is still long way > to > go for using FDT as source of information about hardware

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-30 Thread Jason Cooper
On Tue, Jul 30, 2013 at 11:50:31AM +1000, David Gibson wrote: > On Mon, Jul 29, 2013 at 01:23:39PM -0400, Jason Cooper wrote: > > On Mon, Jul 29, 2013 at 05:49:05PM +0100, Dave Martin wrote: > > > On Mon, Jul 29, 2013 at 11:01:24AM -0400, Jason Cooper wrote: > > > > On Mon, Jul 29, 2013 at 02:21:52

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-30 Thread Jason Cooper
On Tue, Jul 30, 2013 at 09:45:32AM +1000, David Gibson wrote: > On Mon, Jul 29, 2013 at 06:48:40PM -0400, Jason Cooper wrote: > > On Tue, Jul 30, 2013 at 08:29:20AM +1000, David Gibson wrote: > > > On Mon, Jul 29, 2013 at 01:23:39PM -0400, Jason Cooper wrote: > > > > On Mon, Jul 29, 2013 at 05:49:0

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-29 Thread David Gibson
On Mon, Jul 29, 2013 at 01:23:39PM -0400, Jason Cooper wrote: > On Mon, Jul 29, 2013 at 05:49:05PM +0100, Dave Martin wrote: > > On Mon, Jul 29, 2013 at 11:01:24AM -0400, Jason Cooper wrote: > > > On Mon, Jul 29, 2013 at 02:21:52AM +0200, Tomasz Figa wrote: > > > > > b) What information should be

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-29 Thread jonsm...@gmail.com
On Mon, Jul 29, 2013 at 8:41 PM, David Lang wrote: > 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.

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-29 Thread David Lang
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 initializa

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-29 Thread David Gibson
On Mon, Jul 29, 2013 at 06:48:40PM -0400, Jason Cooper wrote: > On Tue, Jul 30, 2013 at 08:29:20AM +1000, David Gibson wrote: > > On Mon, Jul 29, 2013 at 01:23:39PM -0400, Jason Cooper wrote: > > > On Mon, Jul 29, 2013 at 05:49:05PM +0100, Dave Martin wrote: > > > > On Mon, Jul 29, 2013 at 11:01:24

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-29 Thread Jason Cooper
On Tue, Jul 30, 2013 at 08:29:20AM +1000, David Gibson wrote: > On Mon, Jul 29, 2013 at 01:23:39PM -0400, Jason Cooper wrote: > > On Mon, Jul 29, 2013 at 05:49:05PM +0100, Dave Martin wrote: > > > On Mon, Jul 29, 2013 at 11:01:24AM -0400, Jason Cooper wrote: > > > > On Mon, Jul 29, 2013 at 02:21:52

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-29 Thread David Gibson
On Mon, Jul 29, 2013 at 01:23:39PM -0400, Jason Cooper wrote: > On Mon, Jul 29, 2013 at 05:49:05PM +0100, Dave Martin wrote: > > On Mon, Jul 29, 2013 at 11:01:24AM -0400, Jason Cooper wrote: > > > On Mon, Jul 29, 2013 at 02:21:52AM +0200, Tomasz Figa wrote: > > > > > b) What information should be

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-29 Thread Mark Brown
On Mon, Jul 29, 2013 at 01:23:39PM -0400, Jason Cooper wrote: > true, the answer to this problem may be to create a depgraph of the > nodes based on phandles and child status, then init. However, if the > goal is to accelerate boot times, then that should not be calculated > during each boot, esp

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-29 Thread Jason Gunthorpe
On Mon, Jul 29, 2013 at 01:23:39PM -0400, Jason Cooper wrote: > true, the answer to this problem may be to create a depgraph of the > nodes based on phandles and child status, then init. However, if the > goal is to accelerate boot times, then that should not be calculated > during each boot, esp

Re: [Ksummit-2013-discuss] Defining schemas for Device Tree

2013-07-29 Thread Jason Cooper
On Mon, Jul 29, 2013 at 05:49:05PM +0100, Dave Martin wrote: > On Mon, Jul 29, 2013 at 11:01:24AM -0400, Jason Cooper wrote: > > On Mon, Jul 29, 2013 at 02:21:52AM +0200, Tomasz Figa wrote: > > > b) What information should be specified in schemas? What level of > > >granularity is required? >