test: dm: test-fdt: Add checks for uclass_get_device_by_endpoint()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Apr 2025 07:39:04 +0000 (09:39 +0200)
committerFabio Estevam <festevam@gmail.com>
Fri, 11 Apr 2025 01:32:55 +0000 (22:32 -0300)
commit7478d04e606d83243c011741603cedc126ba04f5
tree2ca90a32427c8e0c131606ebcb363fc71ae2d4f2
parent04fcddac28c9f28239f40c9b90e3e76ed5f5cb13
test: dm: test-fdt: Add checks for uclass_get_device_by_endpoint()

This is a new DM core helper. There is now a graph endpoint
representation in the sandbox test DTS, so we can just use it to verify
the helper proper behavior.

Suggested-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
configs/sandbox64_defconfig
configs/sandbox_flattree_defconfig
test/dm/test-fdt.c