[Qemu-devel] [PATCH 07/31] dt: add helper for phandle allocation

2012-06-19 Thread Alexander Graf
Phandle references work by having 2 pieces: - a "phandle" 1-cell property in the device tree node - a reference to the same value in a property we want to point to the other node To generate the 1-cell property, we need an allocation mechanism that gives us a unique number space. This pat

Re: [Qemu-devel] [PATCH 07/31] dt: add helper for phandle allocation

2012-06-06 Thread Scott Wood
On 06/06/2012 07:15 PM, Peter Crosthwaite wrote: > On Thu, Jun 7, 2012 at 2:55 AM, Scott Wood wrote: >> On 06/06/2012 11:00 AM, Alexander Graf wrote: >>> On 06/06/2012 07:18 AM, Peter Crosthwaite wrote: On Wed, 2012-06-06 at 01:52 +0200, Alexander Graf wrote: > +uint32_t qemu_devtree_allo

Re: [Qemu-devel] [PATCH 07/31] dt: add helper for phandle allocation

2012-06-06 Thread Peter Crosthwaite
On Thu, Jun 7, 2012 at 2:55 AM, Scott Wood wrote: > On 06/06/2012 11:00 AM, Alexander Graf wrote: >> On 06/06/2012 07:18 AM, Peter Crosthwaite wrote: >>> On Wed, 2012-06-06 at 01:52 +0200, Alexander Graf wrote: Phandle references work by having 2 pieces:    - a "phandle" 1-cell prop

Re: [Qemu-devel] [PATCH 07/31] dt: add helper for phandle allocation

2012-06-06 Thread Scott Wood
On 06/06/2012 11:00 AM, Alexander Graf wrote: > On 06/06/2012 07:18 AM, Peter Crosthwaite wrote: >> On Wed, 2012-06-06 at 01:52 +0200, Alexander Graf wrote: >>> Phandle references work by having 2 pieces: >>> >>>- a "phandle" 1-cell property in the device tree node >>>- a reference to the s

Re: [Qemu-devel] [PATCH 07/31] dt: add helper for phandle allocation

2012-06-06 Thread Alexander Graf
On 06/06/2012 07:18 AM, Peter Crosthwaite wrote: On Wed, 2012-06-06 at 01:52 +0200, Alexander Graf wrote: Phandle references work by having 2 pieces: - a "phandle" 1-cell property in the device tree node - a reference to the same value in a property we want to point to the other node

Re: [Qemu-devel] [PATCH 07/31] dt: add helper for phandle allocation

2012-06-05 Thread Peter Crosthwaite
On Wed, 2012-06-06 at 01:52 +0200, Alexander Graf wrote: > Phandle references work by having 2 pieces: > > - a "phandle" 1-cell property in the device tree node > - a reference to the same value in a property we want to point > to the other node > > To generate the 1-cell property, we nee

[Qemu-devel] [PATCH 07/31] dt: add helper for phandle allocation

2012-06-05 Thread Alexander Graf
Phandle references work by having 2 pieces: - a "phandle" 1-cell property in the device tree node - a reference to the same value in a property we want to point to the other node To generate the 1-cell property, we need an allocation mechanism that gives us a unique number space. This pat