commit | e2d5997ffdf5cbf4f7d53584dab2ffc673f50987 | [log] [tgz] |
---|---|---|
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | Fri Feb 23 17:38:49 2018 +0100 |
committer | Anatolij Gustschin <agust@denx.de> | Fri Feb 23 20:47:47 2018 +0100 |
tree | f85fd1c36105b7a728145ec95b13dbc4a5b1e847 | |
parent | f0f6917188ad660cf002c10095f46ecf748b8f58 [diff] |
core: ofnode: add ofnode_get_parent function The Rockchip video drivers need to walk the ofnode-parrents to find an enclosing device that has a UCLASS_DISPLAY driver bound. This adds a ofnode_get_parent()-function that returns the parent-node. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Tested-by: Klaus Goger <klaus.goger@theobroma-systems.com> Reviewed-by: Anatolij Gustschin <agust@denx.de>