zephyr/drivers/mspi/Kconfig.mspi_emul
Swift Tian f5554ca762 emul: mspi: Add the mspi controller emulator
Add bus emulator support for MSPI and the MSPI controller emulator.
The mspi_emul.c not only serves as an emulator but also provides an
example implementation of the MSPI API. It does not actually do anything
other than validating parameters and forwarding transceive request back
to the device driver emulators.

Signed-off-by: Swift Tian <swift.tian@ambiq.com>
2024-06-14 21:07:00 -04:00

18 lines
544 B
Plaintext

# Copyright (c) 2024, Ambiq Micro Inc. <www.ambiq.com>
# SPDX-License-Identifier: Apache-2.0
config MSPI_EMUL
bool "MSPI emulator"
default y
depends on DT_HAS_ZEPHYR_MSPI_EMUL_CONTROLLER_ENABLED
depends on EMUL
select MSPI_XIP
select MSPI_SCRAMBLE
select MSPI_TIMING
select GPIO
help
Enable the MSPI emulator driver. This is a fake driver in that it
does not talk to real hardware. Instead it talks to emulation
drivers that pretend to be devices on the emulated MSPI bus. It is
used for testing drivers for MSPI devices.