This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ESPI_EMUL

eSPI emulator

Type: bool

Help

Enable the eSPI emulator driver. This is a fake driver,
it does not talk to real hardware. Instead it talks to emulation
drivers that pretend to be devices on the emulated eSPI bus. It is
used for testing drivers for eSPI devices.

eSPI is an interface using SPI wires, whose main goal is to reduce the
number of required pins. It includes the functionality of LPC, SMB, SPI
itself (flash access) and GPIO (virtual wires). Please refer to the
specification for more details (it is good for the introduction as well)
https://www.intel.com/content/dam/support/us/en/documents/software/chipset-software/327432-004_espi_base_specification_rev1.0_cb.pdf

Direct dependencies

ESPI

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/espi/Kconfig.espi_emul:4

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:90drivers/espi/Kconfig:17

Menu path: (Top) → Device Drivers → ESPI Driver

config ESPI_EMUL
    bool "eSPI emulator"
    depends on ESPI
    help
      Enable the eSPI emulator driver. This is a fake driver,
      it does not talk to real hardware. Instead it talks to emulation
      drivers that pretend to be devices on the emulated eSPI bus. It is
      used for testing drivers for eSPI devices.

      eSPI is an interface using SPI wires, whose main goal is to reduce the
      number of required pins. It includes the functionality of LPC, SMB, SPI
      itself (flash access) and GPIO (virtual wires). Please refer to the
      specification for more details (it is good for the introduction as well)
      https://www.intel.com/content/dam/support/us/en/documents/software/chipset-software/327432-004_espi_base_specification_rev1.0_cb.pdf

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)