Skip to content

Mt8196/v0.3#10785

Open
mtkcyril wants to merge 7 commits into
thesofproject:mainfrom
mtkcyril:mt8196/v0.3
Open

Mt8196/v0.3#10785
mtkcyril wants to merge 7 commits into
thesofproject:mainfrom
mtkcyril:mt8196/v0.3

Conversation

@mtkcyril
Copy link
Copy Markdown

No description provided.

Cyril Chao added 7 commits May 15, 2026 15:15
Make sof_dma.h and dma-legacy.h mutually exclusive based on
CONFIG_ZEPHYR_NATIVE_DRIVERS, instead of always including sof_dma.h.

Signed-off-by: Cyril Chao <cyril.chao@mediatek.corp-partner.google.com>
Specify the rimage signing schema for the mt8196 ADSP board so the
firmware image is signed with the matching mt8196 manifest.

Signed-off-by: Cyril Chao <cyril.chao@mediatek.corp-partner.google.com>
Map Zephyr DMA API operations to AFE MEMIF register accesses.
Use chan_filter to enforce fixed channel-to-MEMIF-index mapping.

Signed-off-by: Cyril Chao <cyril.chao@mediatek.corp-partner.google.com>
Software DMA using memcpy + cache ops to copy audio from host DRAM to
DSP local SRAM. Transfer executes in config() so data is ready before
the pipeline callback fires.

Signed-off-by: Cyril Chao <cyril.chao@mediatek.corp-partner.google.com>
Expose each AFE MEMIF as a Zephyr DAI device via DEVICE_DT_INST_DEFINE.
Hardware start/stop is handled by the MEMIF DMA driver; DAI trigger
is a no-op.

Signed-off-by: Cyril Chao <cyril.chao@mediatek.corp-partner.google.com>
Add SOF_DAI_MEDIATEK_AFE handling in dai_set_config() and
dai_set_device_params(), and expose mediatek_afe devices to dai_get().

Signed-off-by: Cyril Chao <cyril.chao@mediatek.corp-partner.google.com>
Register sof_dma[] entries, allocate dma_chan_data[] arrays in
platform_init(), add CONFIG_DMA_MTK_SOF_HOST_DMA Kconfig symbol,
guard legacy-only code paths, and enable native drivers for MT8196.

Signed-off-by: Cyril Chao <cyril.chao@mediatek.corp-partner.google.com>
@sofci
Copy link
Copy Markdown
Collaborator

sofci commented May 18, 2026

Can one of the admins verify this patch?

reply test this please to run this test once

@abonislawski
Copy link
Copy Markdown
Member

test this please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants