Skip to content

Conversation

@LaurentiuM1234
Copy link
Contributor

Zephyr commit 774370a1d712 ("boards: nxp: imx95_evk_mimx9596_m7: add uart dma support") replaces the configuration of the "edma2" node with that mandated by the programming model associated with the "nxp,mcux-edma" compatible. This change was done because the EDMA driver associated with said compatible is compatible with multiple peripheral drivers as opposed to the previous "nxp,edma" driver.

However, SOF currently requires using the previous EDMA driver (i.e. the one associated with the "nxp,edma" driver). Therefore, switch back to the previous programming model.

Furthermore, the DMA channels used by the SAI IP were also changed. Since these were not tested, switch back to the previous DMA channels.

Zephyr commit 774370a1d712 ("boards: nxp: imx95_evk_mimx9596_m7: add uart
dma support") replaces the configuration of the "edma2" node with that
mandated by the programming model associated with the "nxp,mcux-edma"
compatible. This change was done because the EDMA driver associated with
said compatible is compatible with multiple peripheral drivers as opposed
to the previous "nxp,edma" driver.

However, SOF currently requires using the previous EDMA driver (i.e. the
one associated with the "nxp,edma" driver). Therefore, switch back to the
previous programming model.

Furthermore, the DMA channels used by the SAI IP were also changed. Since
these were not tested, switch back to the previous DMA channels.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
@dbaluta
Copy link
Collaborator

dbaluta commented Jul 28, 2025

Thanks! @LaurentiuM1234.

I forgot to update the DMA channels used by SAI on imx-stable-v2.14. I will backport your patch once merged.

Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LaurentiuM1234 can this be merged first, and then the Zephyr west update?

@LaurentiuM1234
Copy link
Contributor Author

@LaurentiuM1234 can this be merged first, and then the Zephyr west update?

should be fine. I was expecting the build tool to complain when applying the overlay but I guess not?

@LaurentiuM1234 LaurentiuM1234 marked this pull request as ready for review July 28, 2025 14:07
@kv2019i kv2019i merged commit 7b01a21 into thesofproject:main Jul 28, 2025
39 of 45 checks passed
@kv2019i
Copy link
Collaborator

kv2019i commented Jul 28, 2025

@lrudyX @lgirdwood ignored the Intel quickbuild fail, this PR (NXP overlay change only) cannot possibly influence Intel builds.

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