summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-02 18:15:38 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 20:57:51 -0600
commitd82ba4c0b457f0cb30da7bbee935aad7793e5fac (patch)
treea540d1e498aac23968cd3d0856846ec327a07782 /drivers/i2c/i2c-uclass.c
parent389f1856bd0882471214c2ac94da2b415362c10f (diff)
downloadu-boot-imx-d82ba4c0b457f0cb30da7bbee935aad7793e5fac.zip
u-boot-imx-d82ba4c0b457f0cb30da7bbee935aad7793e5fac.tar.gz
u-boot-imx-d82ba4c0b457f0cb30da7bbee935aad7793e5fac.tar.bz2
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>
Diffstat (limited to 'drivers/i2c/i2c-uclass.c')
0 files changed, 0 insertions, 0 deletions