diff options
author | Tom Rini <trini@konsulko.com> | 2018-02-24 08:02:17 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-24 08:02:17 -0500 |
commit | 0bb430c8494e26e8d258cf6957cdd39d2ce4f309 (patch) | |
tree | 64a043dbcaea96f023129cf9ec588fbb82d54f8f /include | |
parent | ba8bf9481b0854fa7d48b0e9ed913c639f187c7d (diff) | |
parent | 3f56552227d1b711cf7dcae986ae0a3f2a91e8d7 (diff) | |
download | u-boot-0bb430c8494e26e8d258cf6957cdd39d2ce4f309.tar.gz |
Merge git://git.denx.de/u-boot-video
Diffstat (limited to 'include')
-rw-r--r-- | include/dm/ofnode.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h index c359a60f95..0d008404f9 100644 --- a/include/dm/ofnode.h +++ b/include/dm/ofnode.h @@ -302,6 +302,14 @@ ofnode ofnode_first_subnode(ofnode node); ofnode ofnode_next_subnode(ofnode node); /** + * ofnode_get_parent() - get the ofnode's parent (enclosing ofnode) + * + * @node: valid node to look up + * @return ofnode reference of the parent node + */ +ofnode ofnode_get_parent(ofnode node); + +/** * ofnode_get_name() - get the name of a node * * @node: valid node to look up @@ -310,6 +318,14 @@ ofnode ofnode_next_subnode(ofnode node); const char *ofnode_get_name(ofnode node); /** + * ofnode_get_by_phandle() - get ofnode from phandle + * + * @phandle: phandle to look up + * @return ofnode reference to the phandle + */ +ofnode ofnode_get_by_phandle(uint phandle); + +/** * ofnode_read_size() - read the size of a property * * @node: node to check |