Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-16 Thread Shawn Guo
On Mon, Jun 13, 2011 at 07:32:15AM -0600, Grant Likely wrote: [...] > +About now is a good time to lay out an example. Here is part of the > +device tree for the NVIDIA Tegra board. > + > +/{ > + compatible = "nvidia,harmony", "nvidia,tegra250"; > + #address-cells = <1>; > + #size-cell

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-15 Thread Shawn Guo
Hi Grant, On Mon, Jun 13, 2011 at 07:32:15AM -0600, Grant Likely wrote: [...] > +Linux board support code calls of_platform_populate(NULL, NULL, NULL) > +to kick of discovery of devices at the root of the tree. The > +parameters are all NULL because when starting from the root of the > +tree, the

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-14 Thread Grant Likely
On Tue, Jun 14, 2011 at 8:05 AM, Far McKon wrote: > Grant, > I don't see any system for indicating an expandable bus or a pulg in > module so far? Am I missing something, or does this protocol/layout > not allow for plug in or expansion modules? The DT as we're using it now primarily captures the

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-14 Thread David Gibson
Comments below. Only really considering gaps in content or emphasis here, not poor wording or grammatical errors. On Mon, Jun 13, 2011 at 07:32:15AM -0600, Grant Likely wrote: > Signed-off-by: Grant Likely > --- > > Hey all, > > This is an early draft of the usage model document for the device

RE: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-14 Thread Stephen Neuendorffer
> +Some time later, FDT infrastructure was generalized to be usable by > +all architectures. At the time of this writing, 5 mainlined > +architectures (arm, mips, powerpc, sparc, and x86) and 1 out of microblaze too? > +mainline architecture (nios) have some level of DT support. > + Steve Thi

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Grant Likely
On Mon, Jun 13, 2011 at 5:29 PM, Stephen Neuendorffer wrote: > >> +Some time later, FDT infrastructure was generalized to be usable by >> +all architectures.  At the time of this writing, 5 mainlined >> +architectures (arm, mips, powerpc, sparc, and x86) and 1 out of > > microblaze too? Oops, I k

Re: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Randy Dunlap
On Mon, 13 Jun 2011 07:32:15 -0600 Grant Likely wrote: > Signed-off-by: Grant Likely > --- > > Hey all, > > This is an early draft of the usage model document for the device > tree, but I wanted to get it out there for feedback, and so that some > of the Linaro engineers could get started on mi

RE: [RFC] (early draft) dt: Linux dt usage model documentation

2011-06-13 Thread Stephen Warren
Grant Likely wrote at Monday, June 13, 2011 7:32 AM: > Signed-off-by: Grant Likely > --- > > Hey all, > > This is an early draft of the usage model document for the device > tree, but I wanted to get it out there for feedback, and so that some > of the Linaro engineers could get started on migra