]> git.dujemihanovic.xyz Git - u-boot.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)
commitd677b00cb62a4cf4d4a24468f218581b4f57c2fe
treebbc0d69b1d74d872bb0b798c36153d6832f5636a
parentb616cef97aa8562a8c08558505675e255b5347cc
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