
23 Feb
2018
23 Feb
'18
9:58 p.m.
On 23 February 2018 at 09:38, Philipp Tomsich philipp.tomsich@theobroma-systems.com wrote:
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
drivers/core/ofnode.c | 14 ++++++++++++++ include/dm/ofnode.h | 8 ++++++++ 2 files changed, 22 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
Do you think we could have a simple ofnode test in test/dm to call this new function?