dm: core: Add support for getting node from aliases
authorMichal Simek <michal.simek@xilinx.com>
Tue, 28 Jul 2020 10:51:08 +0000 (12:51 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:32 +0000 (08:13 +0100)
commit305d31885f2f35db486594d051d9aa3a4ed201c5
treef457efe965ffae9667f967a0c27b4cf39ad95725
parentc94b44c64bd8661bee0eb4b39a2aac176c466147
dm: core: Add support for getting node from aliases

Add support for getting a node/property from aliases.
The similar functionality is provided for chosen node and this
implemenatation is copy of it.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/ofnode.c
include/dm/ofnode.h
test/dm/ofnode.c