« Previous | Next » 

Revision 3601b572

ID3601b572820ee5f3676ab24c068a4e011b72236d

Added by Alexander Graf almost 12 years ago

dt: add helper for phandle allocation

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 patch adds an allocator for these
properties.

Signed-off-by: Alexander Graf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences