]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Add a way to bind a device by ofnode
authorSimon Glass <sjg@chromium.org>
Mon, 11 Jun 2018 19:07:15 +0000 (13:07 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 9 Jul 2018 15:11:00 +0000 (09:11 -0600)
commit0f4ca011e2cb6c1428011ea505b059941cc58d38
treebbc0d69b1d74d872bb0b798c36153d6832f5636a
parentdc8e59e83f7330ff758bba68b3025eadd4f772df
dm: core: Add a way to bind a device by ofnode

Add a new device_bind_ofnode() function which can bind a device given its
ofnode. This allows binding devices more easily with livetree nodes.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/device.c
include/dm/device-internal.h