ASoC: SOF: Add Virtual DAI support for i.MX8M #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is part of the GSoC 2025 Project: Add Virtual DAI Component to SOF and is based on SOF Issue #9349.
We introduce a new
SOF_DAI_VIRTUALtype and its associated support to enable audio pipelines that do not rely on physical DAI hardware. This is useful in the following scenarios:Motivation
Key Changes
Tested above changes on IMX8MP EVK board
Logs:
Related Work
Zephyr PR: #95233 drivers: dai: Add virtual DAI driver and tests
Includes Virtual DAI driver, DTS binding, Kconfig/CMake updates, and ztest-based API tests.
SOF PR: #10147 dai: Add support for Virtual DAI for rapid prototyping and software loopback
Adds Virtual DAI support on i.MX8MP with topology and
emul_dmaintegration for software-based audio pipelines.linux-imx nocodec feature commit: Enabled NoCodec support for the i.MX8M platform to allow pipeline testing without real codecs.
Link: nocodec-commit
Current Status
Future Work
Implement proper playback (log/discard) and capture (zero-filled).