Skip to content
Commit e2d5997f authored by Philipp Tomsich's avatar Philipp Tomsich Committed by Anatolij Gustschin
Browse files

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: default avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tested-by: default avatarKlaus Goger <klaus.goger@theobroma-systems.com>
Reviewed-by: default avatarAnatolij Gustschin <agust@denx.de>
parent f0f69171
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment