Add a mostly complete list of ofnode analogs of of_graph parsing helpers. Commits pass all tests of stage 1 and all but sandbox_spl test of stage 2. I am not able to track how these commits affect spl, log does not provide any references to ofnode_graph testes or functions
Here is a link to latest test: https://source.denx.de/u-boot/custodians/u-boot-tegra/-/jobs/1028134 --- Changes in v3: - fixed missing reg property - switched to ut_asserteq_str and ofnode_has_property Changes in v2: - added tests --- Svyatoslav Ryhel (2): core: ofnode: add of_graph parsing helpers test: dm: add ofnode_graph tests arch/sandbox/dts/test.dts | 55 +++++++++ drivers/core/Makefile | 2 +- drivers/core/ofnode_graph.c | 217 ++++++++++++++++++++++++++++++++++++ include/dm/ofnode_graph.h | 90 +++++++++++++++ test/dm/ofnode.c | 54 +++++++++ 5 files changed, 417 insertions(+), 1 deletion(-) create mode 100644 drivers/core/ofnode_graph.c create mode 100644 include/dm/ofnode_graph.h -- 2.43.0