dm: core: Expand ofnode tests
authorSimon Glass <sjg@chromium.org>
Wed, 7 Sep 2022 02:27:30 +0000 (20:27 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 30 Sep 2022 02:43:43 +0000 (22:43 -0400)
commit47a677c2eb030d5a4e905fb8993a4cb43bcde55d
treee8587f0e5e5077cec03aa0f555e5bf7a640a5061
parent88a1ae8172a847911ce699ac95f79ea17c88739c
dm: core: Expand ofnode tests

The current tests do not cover all functions, nor do they cover the new
multi-tree functionality. Add and update the tests accordingly and update
the 'future work' notes in the documentation.

There is a still more testing needed for the failure cases, since at
present some ofnode functions return a libfdt error code instead of
converting it to an errno.

Signed-off-by: Simon Glass <sjg@chromium.org>
doc/develop/driver-model/livetree.rst
test/dm/ofnode.c