commit | 3601b572820ee5f3676ab24c068a4e011b72236d | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu May 17 16:58:55 2012 +0200 |
committer | Alexander Graf <agraf@suse.de> | Sun Jun 24 01:04:46 2012 +0200 |
tree | f8938085fbe4531baca75a487b6ff76c59b2f539 | |
parent | ce36252cc1711a5e222ed68e72235088aec2529d [diff] |
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 <agraf@suse.de>