Repository navigation
Add SOF support for the PHYTEC phyBOARD-Pollux i.MX8MP - #11429
Open
andrejpicej wants to merge 3 commits into
Open
andrejpicej wants to merge 3 commits into
andrejpicej wants to merge 3 commits into
Conversation
Update Zephyr to 25851fa15cdc2dc9c395807bce97fa81c46c10ee to bring in
the phyboard_pollux/mimx8ml8/adsp board (PHYTEC phyBOARD-Pollux audio
DSP) and the SAI2 node of the i.MX8M DSP.
Total of 229 commits.
Changes include:
25851fa15cdc boards: phytec: phyboard_pollux: add audio DSP support
dd6e0849c021 dts: xtensa: nxp_imx8m: add SAI2 node
8bb459acace3 arch: xtensa: Extend small vector table workaround to User
vector
0fc343dedfbe xtensa: coredump: collect extra exception registers
b9fad655eae2 arch: xtensa: mpu: Allow user access to gcov bss sections
Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Add the TLV320AIC3007 codec to the shared i.MX8 topology and build sof-imx8mp-tlv320.tplg from it, for the PHYTEC phyBOARD-Pollux with the PEB-AV-10 expansion board, where the codec is connected to SAI2. sof-imx8-wm8960.m4 is the common i.MX8 topology despite its name: only the stream name and the SAI clock setup depend on CODEC, as for wm8962 and wm8904, see commit 67fa702 ("topology: imx: Combine base topology files for i.MX8MP and i.MX8"). Unlike the Wolfson codecs, the TLV320 is the clock consumer: the SAI provides BCLK and the frame sync, and MCLK at 12.288 MHz. The DAI link is named sai2-tlv320. Also list wm8904 in the header, which was already supported. Signed-off-by: Andrej Picej <andrej.picej@norik.com>
Add the configuration and devicetree overlay for the phyboard_pollux/mimx8ml8/adsp Zephyr board, the HiFi 4 audio DSP of the PHYTEC phyBOARD-Pollux. The configuration is the one of the i.MX8MP EVK without the MICFIL DAI, as the board has no PDM microphones. The overlay enables SAI2, which is on the expansion connector and used by the TLV320 codec of the PEB-AV-10 expansion board. As on that board the frame sync is only routed on SAI2_RXFS, the transmitter runs synchronous to the receiver. Build with: west build -b phyboard_pollux/mimx8ml8/adsp sof/app Signed-off-by: Andrej Picej <andrej.picej@norik.com>
andrejpicej
requested review from
dbaluta,
kv2019i,
lbetlej,
lgirdwood,
mmaka1,
plbossart and
ranj063
as code owners
November 10, 2026 07:47
Collaborator
|
Can one of the admins verify this patch?
|
Collaborator
|
test this please |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the added phyBOARD-Pollux playback and capture support.
No open issues 🎉
What changed in this PR
Adds SOF playback and capture support for the PHYTEC phyBOARD-Pollux i.MX8MP with the PEB-AV-10 expansion board and TLV320AIC3007 codec connected to SAI2.
Changes:
- Updates Zephyr to a revision providing the board and DSP SAI2 support.
- Adds a 48 kHz stereo TLV320 topology using the common i.MX8 topology.
- Adds board configuration and a devicetree overlay for DMA and SAI2, with the codec consuming audio clocks.
| File | Description |
|---|---|
west.yml |
Updates the pinned Zephyr revision for board and SAI2 support. |
tools/topology/topology1/sof-imx8-wm8960.m4 |
Adds TLV320 stream naming and SAI clock configuration. |
tools/topology/topology1/CMakeLists.txt |
Registers the 48 kHz sof-imx8mp-tlv320 topology on SAI2. |
app/boards/phyboard_pollux_mimx8ml8_adsp.overlay |
Enables SDMA3 and SAI2, defines host DMA, and configures FIFO and transmit synchronization. |
app/boards/phyboard_pollux_mimx8ml8_adsp.conf |
Selects i.MX8M, native DMA drivers, and required clock options. |
Review effort: Balanced
lgirdwood
approved these changes
Nov 10, 2026
Collaborator
|
@andrejpicej great to see this! Do you have a product using SOF? Would be interested to know more and see what other features would be required! |
dbaluta
approved these changes
Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Plain playback and capture on the HiFi4 DSP of the PHYTEC phyBOARD-Pollux
(i.MX8MP) with the PEB-AV-10 expansion board. The TLV320AIC3007 codec is
connected to SAI2 and is clock consumer.
phyboard_pollux/mimx8ml8/adspboard and the SAI2 node of the i.MX8M DSP(boards: phytec: phyboard_pollux: add audio DSP support zephyrproject-rtos/zephyr#123763). The commit can be dropped if a regular
Zephyr update to 25851fa15cdc or later lands first.
sof-imx8mp-tlv320.tplgfrom the common i.MX8 topology,48 kHz stereo, S16/S24/S32.
phyboard_pollux/mimx8ml8/adsp(SDMA3, host DMA, SAI2).
Build:
Tested on phyBOARD-Pollux with PEB-AV-10: firmware boot, topology load,
playback on the speaker and capture from the microphone at 48 kHz.