commit | d82ba4c0b457f0cb30da7bbee935aad7793e5fac | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jul 02 18:15:38 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Aug 05 20:57:51 2015 -0600 |
tree | a540d1e498aac23968cd3d0856846ec327a07782 | |
parent | 389f1856bd0882471214c2ac94da2b415362c10f [diff] |
dm: core: Support finding a device by phandle It is common for one node to reference another via a phandle. Add support for obtaining an attached device by this method. As an example, a node may have a 'power-supply' property which references a regulator, allowing the driver to turn on its power. Signed-off-by: Simon Glass <sjg@chromium.org>