zephyr/drivers/espi
Tristan Honscheid 8fd1ce7579 emul: Only add enabled DT nodes to bus emulators
The eSPI, I2C, and SPI emulators use devicetree macros to build an array
of devices on the virtual bus. Currently, they will add device nodes that
are not status-okay. This leads to linker errors because the respective
device drivers would not have instantiated device structs for these
nodes --assuming the driver was even compiled. This can be frustrating
if nodes need to be disabled for debugging or configuration purposes.

Update the bus emulators to only consider status-okay nodes by changing
the macros used to iterate over bus devices.

Signed-off-by: Tristan Honscheid <honscheid@google.com>
2023-07-12 09:25:18 +02:00
..
CMakeLists.txt drivers: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
espi_emul.c emul: Only add enabled DT nodes to bus emulators 2023-07-12 09:25:18 +02:00
espi_handlers.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
espi_it8xxx2.c espi: it8xxx2: enable espi transaction interrupt 2023-01-18 09:55:44 +01:00
espi_mchp_xec.c drivers: espi: espi_mchp_xec: removed redundant state variables 2023-03-09 09:21:43 +01:00
espi_mchp_xec_host_v2.c ec_host_cmd: add eSPI peripheral for the host commands 2022-11-18 10:11:40 +01:00
espi_mchp_xec_v2.c drivers: espi: Distinguish mechanism to send regular VW notifications 2023-04-28 09:47:13 -05:00
espi_mchp_xec_v2.h drivers: espi: Microchip MEC172x eSPI VW initialization update 2023-03-23 11:58:26 -04:00
espi_npcx.c intc: miwu: npcx: improve interrupt latency of miwu input events 2023-05-17 09:48:54 +02:00
espi_saf_mchp_xec.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
espi_saf_mchp_xec_v2.c drivers: espi_saf: Add Microchip MEC172x eSPI SAF version 2 driver 2022-10-28 14:29:46 -05:00
espi_utils.h espi: Fix gpio_manage_callback() logic 2022-10-04 14:10:05 +00:00
host_subs_npcx.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
Kconfig drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
Kconfig.espi_emul emul: Make ESPI/I2C_EMUL depend on EMUL 2023-05-08 16:20:52 +02:00
Kconfig.it8xxx2 espi: it8xxx2: enable configuration of Chromebook 2022-02-21 22:01:48 -05:00
Kconfig.npcx driver: Port80: npcx: defer Port80 code sending to workqueue thread 2023-02-20 09:43:20 +01:00
Kconfig.xec microchip: espi: Fix bug in dependency on ESPI Kconfig 2023-03-23 08:24:18 +00:00