]> git.ipfire.org Git - thirdparty/u-boot.git/commit
interconnect: add DM test suite
authorNeil Armstrong <neil.armstrong@linaro.org>
Thu, 20 Nov 2025 08:12:53 +0000 (09:12 +0100)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 20 Nov 2025 08:17:58 +0000 (09:17 +0100)
commit9ab7163710d390672a7325cd0980ce32e2a8191a
tree422be0ecb86bc7ee18f6850e00b663a62209b822
parent60a99d5ca374c83c0118f2634a7fcf4cc707b965
interconnect: add DM test suite

Add a test suite exercising the whole lifetime and callbacks
of interconnect with a fake 5 providers with a split node graph.

The test suite checks the calculus are right and goes to the correct
nodes, and the lifetime of the node is correct.

Link: https://patch.msgid.link/20251120-topic-interconnect-next-v5-2-e8a82720da5d@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/interconnect.h [new file with mode: 0644]
configs/sandbox64_defconfig
configs/sandbox_defconfig
drivers/interconnect/Kconfig
drivers/interconnect/Makefile
drivers/interconnect/sandbox-interconnect-test.c [new file with mode: 0644]
drivers/interconnect/sandbox-interconnect.c [new file with mode: 0644]
test/dm/Makefile
test/dm/interconnect.c [new file with mode: 0644]