zephyr/tests/lib/devicetree/api
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
..
src devicetree: implement DT_INST_NODE_HAS_COMPAT 2024-04-26 20:04:38 +01:00
app.overlay dts: bindings: can: remove optional sample point properties 2024-03-17 15:36:19 +01:00
CMakeLists.txt
prj.conf
README
testcase.yaml tests/lib/devicetree: Enable for native_sim 2023-11-27 16:06:42 +00:00

Test cases for the devicetree.h API.