zephyr/tests/lib/devicetree
TOKITA Hiroshi 87209984f3 devicetree: rename and publish DT_COMPAT_ON_BUS_INTERNAL
Rename `DT_COMPAT_ON_BUS_INTERNAL` to
`DT_HAS_COMPAT_ON_BUS_STATUS_OKAY` to make it a public DT API.

It is helpful for code that handles multiple DT_DRV_COMPAT in one file,
such as in the following cases.

```
 #if (DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(some_sensor, i2c) || \
      DT_HAS_COMPAT_ON_BUS_STATUS_OKAY(another_sensor, i2c)
 ...
 #endif

 #define DT_DRV_COMPAT some_sensor
 DT_INST_FOREACH_STATUS_OKAY(DEFINE_SOME_SENSOR)

 #undef DT_DRV_COMPAT
 #define DT_DRV_COMPAT another_sensor
 DT_INST_FOREACH_STATUS_OKAY(DEFINE_ANOTHER_SENSOR)
```

Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
2023-09-13 14:23:24 -07:00
..
api devicetree: rename and publish DT_COMPAT_ON_BUS_INTERNAL 2023-09-13 14:23:24 -07:00
api_ext test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
devices boards: m5stack_core2: Exclude board from device tree test 2023-09-11 11:06:36 +02:00
memory_region test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00