Skip to content
Snippets Groups Projects
Commit d82ba4c0 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 389f1856
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment