dt: add helper for phandle enumeration
This patch adds a helper to search for a node's phandle by its path. This is especially useful when the phandle is part of an array, not just a single cell in which case qemu_devtree_setprop_phandle would be the easy choice. Signed-off-by: NAlexander Graf <agraf@suse.de> Reviewed-by: NPeter Crosthwaite <peter.crosthwaite@petalogix.com>
Showing
想要评论请 注册 或 登录