commit | 75f00df982767bd789328200add0cb573845da7b | [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 | b1b833304e858f9e82d5709ccdc875201e0ddbcd [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>