[U-Boot] [PATCH 1/5] core: ofnode: add ofnode_get_parent function
Simon Glass
sjg at chromium.org
Fri Feb 23 20:58:50 UTC 2018
On 23 February 2018 at 09:38, Philipp Tomsich
<philipp.tomsich at 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 at theobroma-systems.com>
> Tested-by: Klaus Goger <klaus.goger at theobroma-systems.com>
> ---
>
> drivers/core/ofnode.c | 14 ++++++++++++++
> include/dm/ofnode.h | 8 ++++++++
> 2 files changed, 22 insertions(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
Do you think we could have a simple ofnode test in test/dm to call
this new function?
More information about the U-Boot
mailing list