Home
last modified time | relevance | path

Searched hist:"2693047 acdcdae20b066715d0da4937814347935" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/dm/
H A Ddevice.h2693047acdcdae20b066715d0da4937814347935 Tue Jun 23 21:38:37 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add a function to find any device from device tree

In some rare cases it is useful to be able to locate a device given a device
tree node offset. An example is when you have an alias that points to a node
and you want to find the associated device. The device may be SPI, MMC or
something else, but you don't need to know the uclass to find it.

Add a function to do a global search for a device, given its device tree
offset.

Signed-off-by: Simon Glass <sjg@chromium.org>
/rk3399_rockchip-uboot/drivers/core/
H A Ddevice.c2693047acdcdae20b066715d0da4937814347935 Tue Jun 23 21:38:37 UTC 2015 Simon Glass <sjg@chromium.org> dm: core: Add a function to find any device from device tree

In some rare cases it is useful to be able to locate a device given a device
tree node offset. An example is when you have an alias that points to a node
and you want to find the associated device. The device may be SPI, MMC or
something else, but you don't need to know the uclass to find it.

Add a function to do a global search for a device, given its device tree
offset.

Signed-off-by: Simon Glass <sjg@chromium.org>