[PATCH v2 5/8] dm: core: implement phandle ofnode_options helper
Simon Glass
sjg at chromium.org
Wed Nov 20 14:48:13 CET 2024
On Sun, 10 Nov 2024 at 04:51, Christian Marangi <ansuelsmth at gmail.com> wrote:
>
> Implement ofnode_options phandle helper to get an ofnode from a phandle
> option in /options/u-boot.
>
> This helper can be useful since new DT yaml usually require to link a
> phandle of a node instead of referencing it by name or other indirect
> way.
>
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
> ---
> drivers/core/ofnode.c | 15 +++++++++++++++
> include/dm/ofnode.h | 15 +++++++++++++++
> 2 files changed, 30 insertions(+)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list