test: dm: add test for ofnode_for_each_compatible_node()
authorMichael Walle <michael@walle.cc>
Fri, 15 Oct 2021 13:15:18 +0000 (15:15 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 9 Nov 2021 11:48:23 +0000 (17:18 +0530)
commitbce039acf2661b1484aeee3704100b645a3d2198
tree3c206811678058b34d6b11315f48c5fc597af644
parentb8ec9458a35167ab689b3ebfba169f520e1064c4
test: dm: add test for ofnode_for_each_compatible_node()

Check that all matching nodes have the correct compatible and that there
is at least one match.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
test/dm/ofnode.c