zephyr/subsys/emul
Aaron Massey fc98549952 emul: Use DEVICE_DT_GET instead of DT_LABEL
DT nodes aren't guaranteed to define a label property. But emulated bus
controllers currently make use of this property to dispatch to the
associated emulator.

Have emulated bus controllers use DEVICE_DT_GET(node_id) to dispatch to
right target peripheral emulator. This also change makes emul_get_binding
and device_get_binding synonymous in behavior with respect to their
parameters.

This also strictly enforces a 1:1 correspondence between invocations of
DEVICE_DT_DEFINE and EMUL_DEFINE.

Signed-off-by: Aaron Massey <aaronmassey@google.com>
2022-07-19 11:43:30 -05:00
..
espi emul: Make emulator parameters consistently named 2022-07-19 11:43:30 -05:00
i2c emul: Make emulator parameters consistently named 2022-07-19 11:43:30 -05:00
spi emul: spi: bmi160: Move to top-level directory 2020-10-27 16:41:30 +01:00
CMakeLists.txt emul: Add an emulator for the eSPI Host 2021-01-20 17:49:19 -05:00
emul.c emul: Use DEVICE_DT_GET instead of DT_LABEL 2022-07-19 11:43:30 -05:00
emul_bmi160.c emul: Make emulator parameters consistently named 2022-07-19 11:43:30 -05:00
Kconfig emul: Add an emulator for the eSPI Host 2021-01-20 17:49:19 -05:00