zephyr/drivers/espi
Aaron Massey 3cc74f1140 emul: Make ESPI/I2C_EMUL depend on EMUL
The emulated espi and i2c bus controllers do not depend on CONFIG_EMUL
being enabled. When these fake bus controllers are enabled by their
assoicated compatible in the devicetree without CONFIG_EMUL it results in
linker failures for underlying peripheral emulators which may be difficult
to understand. The SPI config already depends on EMUL.

Make the ESPI and I2C emulated controllers depend on CONFIG_EMUL. Note:
This still allows linker failures if CONFIG_EMUL=n, but the linker failures
will be consistently at device driver instantiation due to a missing bus
controller. Regardless, this will be easier to debug when someone forgets
to enable CONFIG_EMUL.

Signed-off-by: Aaron Massey <aaronmassey@google.com>
2023-05-08 16:20:52 +02:00
..
CMakeLists.txt drivers: espi_saf: Add Microchip MEC172x eSPI SAF version 2 driver 2022-10-28 14:29:46 -05:00
espi_emul.c emul: remove name param from bus register APIs 2022-07-19 15:52:36 -05: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 treewide: Update clock control API usage 2023-04-05 10:55:46 +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