Skip to content

platform: module: nxp: Add NXP SAI hardware endpoint sink module - #99

Open
quic-aditrath wants to merge 2 commits into
AudioReach:masterfrom
quic-aditrath:nxp_sai_hw_ep
Open

platform: module: nxp: Add NXP SAI hardware endpoint sink module#99
quic-aditrath wants to merge 2 commits into
AudioReach:masterfrom
quic-aditrath:nxp_sai_hw_ep

Conversation

@quic-aditrath

Copy link
Copy Markdown
Contributor

AudioReach on the NXP i.MX8MP EVK target needs a CAPI endpoint that drives the SAI/SDMA hardware directly through the Zephyr DAI/DMA interfaces used on this platform.

Add the nxp_device_sink module under fwk/platform/modules/nxp with its CAPI implementation, endpoint APIs, and build files. Wire it into the module build via a new NXP_DEVICE_SINK Kconfig option and register the nxp subdirectory in the platform modules CMake build so the module is compiled when the option is enabled.

@quic-aditrath
quic-aditrath requested review from a team August 4, 2026 11:31
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

AudioReach on the NXP i.MX8MP EVK target needs a CAPI endpoint that
drives the SAI/SDMA hardware directly through the Zephyr DAI/DMA
interfaces used on this platform.

Add the nxp_device_sink module under fwk/platform/modules/nxp with its
CAPI implementation, endpoint APIs, and build files. Wire it into the
module build via a new NXP_DEVICE_SINK Kconfig option and register the
nxp subdirectory in the platform modules CMake build so the module is
compiled when the option is enabled.

Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
With the nxp_device_sink module now available, enable it for the
i.MX8MP EVK ADSP target so the SAI/SDMA endpoint is built and wired
into the audio path.

Turn on NXP_DEVICE_SINK and SHARED_INTERRUPTS in prj.conf. Enable the
Zephyr DAI, DMA, SAI, SDMA, and fixed-rate clock drivers in the board
conf, and mark the sai3, sdma3, mclk, and micfil device tree nodes
okay in the board overlay so the hardware endpoint has the resources
it needs.

Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
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.

2 participants