Re: [U-Boot] [PATCH 1/5] core: ofnode: add ofnode_get_parent function
On 23 February 2018 at 09:38, Philipp Tomsichwrote: > > 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 > Tested-by: Klaus Goger > --- > > drivers/core/ofnode.c | 14 ++ > include/dm/ofnode.h | 8 > 2 files changed, 22 insertions(+) > Reviewed-by: Simon Glass Do you think we could have a simple ofnode test in test/dm to call this new function? ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
Re: [U-Boot] [PATCH 1/5] core: ofnode: add ofnode_get_parent function
On Fri, 23 Feb 2018 17:38:49 +0100 Philipp Tomsich philipp.toms...@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> Tested-by: Klaus Goger Reviewed-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot