-
Notifications
You must be signed in to change notification settings - Fork 349
app: boards: share (yet more) common audio build options for Intel ADSPs #10264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app: boards: share (yet more) common audio build options for Intel ADSPs #10264
Conversation
CONFIG_MM_DRV is set based on hardware properties in the Zephyr soc defconfig file, so no need to set this in each board file. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Remove a few leftover unnecessary statements to set COMP_CHAIN_DMA=y. This is already set in the board defconfig for the Intel DSPs, so no need to set this in the board file. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Move COMP_KPB to the shared defconfig file. This has not been enabled for cavs25 boards, but no reason why not, so enable it for all. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Move COMP_UP_DOWN_MIXER to the shared defconfig file. This has not been enabled for cavs25 boards, but no reason why not, so enable it for all. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Move COMP_VOLUME_WINDOWS_FADE to the shared defconfig file. This has not been enabled for cavs25 boards, but no reason why not, so enable it for all. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR centralizes common audio build options for Intel ADSP boards by moving duplicated configuration options from individual board configuration files to a shared Kconfig.defconfig file. This follows up on previous work to consolidate common build settings.
- Removes duplicate CONFIG_MM_DRV, CONFIG_COMP_KPB, CONFIG_COMP_UP_DOWN_MIXER, and CONFIG_COMP_VOLUME_WINDOWS_FADE options from individual board files
- Adds these common configurations to the shared intel_adsp/Kconfig.defconfig file with default values
- Streamlines maintenance by reducing configuration duplication across Intel ADSP board variants
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| app/boards/intel_adsp/Kconfig.defconfig | Adds shared default configurations for MM_DRV, COMP_KPB, COMP_UP_DOWN_MIXER, and COMP_VOLUME_WINDOWS_FADE |
| app/boards/intel_adsp_cavs25_tgph.conf | Removes CONFIG_MM_DRV (now inherited from shared defaults) |
| app/boards/intel_adsp_cavs25.conf | Removes CONFIG_MM_DRV (now inherited from shared defaults) |
| app/boards/intel_adsp_ace40_nvls.conf | Removes CONFIG_MM_DRV, CONFIG_COMP_CHAIN_DMA, CONFIG_COMP_KPB, CONFIG_COMP_UP_DOWN_MIXER, and CONFIG_COMP_VOLUME_WINDOWS_FADE |
| app/boards/intel_adsp_ace40_nvl.conf | Removes CONFIG_MM_DRV, CONFIG_COMP_KPB, CONFIG_COMP_UP_DOWN_MIXER, and CONFIG_COMP_VOLUME_WINDOWS_FADE |
| app/boards/intel_adsp_ace30_wcl_sim.conf | Removes CONFIG_COMP_VOLUME_WINDOWS_FADE and CONFIG_COMP_UP_DOWN_MIXER |
| app/boards/intel_adsp_ace30_wcl.conf | Removes CONFIG_MM_DRV, CONFIG_COMP_KPB, CONFIG_COMP_UP_DOWN_MIXER, and CONFIG_COMP_VOLUME_WINDOWS_FADE |
| app/boards/intel_adsp_ace30_ptl_sim.conf | Removes CONFIG_COMP_VOLUME_WINDOWS_FADE and CONFIG_COMP_UP_DOWN_MIXER |
| app/boards/intel_adsp_ace30_ptl.conf | Removes CONFIG_MM_DRV, CONFIG_COMP_CHAIN_DMA, CONFIG_COMP_KPB, CONFIG_COMP_UP_DOWN_MIXER, and CONFIG_COMP_VOLUME_WINDOWS_FADE |
| app/boards/intel_adsp_ace20_lnl.conf | Removes CONFIG_COMP_KPB, CONFIG_COMP_UP_DOWN_MIXER, and CONFIG_COMP_VOLUME_WINDOWS_FADE |
| app/boards/intel_adsp_ace15_mtpm.conf | Removes CONFIG_COMP_KPB, CONFIG_COMP_UP_DOWN_MIXER, and CONFIG_COMP_VOLUME_WINDOWS_FADE |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Follow-up to #10236 .
This is for now the last in the series.