zephyr/tests/lib/devicetree
Yong Cong Sin 9b7638f049 devicetree: implement DT_INST_NODE_HAS_COMPAT
Implement `DT_INST_NODE_HAS_COMPAT` to check if a node has a
compatible. This is helpful when a node has more than one
compatible, which can be used to enable additional features
in the driver.

Updated the devicetree test to play with the new API.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
2024-04-26 20:04:38 +01:00
..
api devicetree: implement DT_INST_NODE_HAS_COMPAT 2024-04-26 20:04:38 +01:00
api_ext tests/lib/devicetree: Enable for native_sim 2023-11-27 16:06:42 +00:00
devices tests: lib: devicetree devices: only run on native_sim 2024-01-29 10:29:38 +01:00
memory_region tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00