summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-02-24 16:02:17 +0300
committerTom Rini <trini@konsulko.com>2018-02-24 16:02:17 +0300
commit0bb430c8494e26e8d258cf6957cdd39d2ce4f309 (patch)
tree64a043dbcaea96f023129cf9ec588fbb82d54f8f /include
parentba8bf9481b0854fa7d48b0e9ed913c639f187c7d (diff)
parent3f56552227d1b711cf7dcae986ae0a3f2a91e8d7 (diff)
downloadu-boot-0bb430c8494e26e8d258cf6957cdd39d2ce4f309.tar.xz
Merge git://git.denx.de/u-boot-video
Diffstat (limited to 'include')
-rw-r--r--include/dm/ofnode.h16
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