doc: Add MSPI to bus emulator documentation

Add the MSPI bus emulator to documentation.

Signed-off-by: Swift Tian <swift.tian@ambiq.com>
This commit is contained in:
Swift Tian 2024-04-22 18:34:08 +08:00 committed by Anas Nashif
parent 42d24e5716
commit 25d01eaed4
2 changed files with 9 additions and 1 deletions

View file

@ -88,7 +88,7 @@ The ``EMUL_DT_DEFINE()`` function accepts two API types:
#. ``bus_api`` - This points to the API for the upstream bus that the emulator
connects to. The ``bus_api`` parameter is required. The supported
emulated bus types include I2C, SPI, and eSPI.
emulated bus types include I2C, SPI, eSPI, and MSPI.
#. ``_backend_api`` - This points to the device-class specific backend API for
the emulator. The ``_backend_api`` parameter is optional.
@ -141,6 +141,9 @@ Zephyr includes the following emulators:
* eSPI emulator driver, which does the same for eSPI. The emulator is being
developed to support more functionalities.
* MSPI emulator driver, allowing drivers to be connected to an emulator so that
tests can be performed without access to the real hardware.
Samples
=======

View file

@ -89,6 +89,11 @@ Available Emulators
* Main Kconfig option: :kconfig:option:`CONFIG_SPI_EMUL`
* DT binding: :dtcompatible:`zephyr,spi-emul-controller`
**MSPI emulator**
* Emulated MSPI bus. See :ref:`bus emulators <bus_emul>`.
* Main Kconfig option: :kconfig:option:`CONFIG_MSPI_EMUL`
* DT binding: :dtcompatible:`zephyr,mspi-emul-controller`
**UART emulator**
* Emulated UART bus. See :ref:`bus emulators <bus_emul>`.
* Main Kconfig option: :kconfig:option:`CONFIG_UART_EMUL`