Repository navigation
Conversation
…control A bytes control blob with only struct sof_mww_model_hdr and model_size 0 now selects a built-in model by its keyword name instead of carrying the model data. This lets a topology choose the keyword without depending on the detector slot, so the same firmware serves the 3-slot topologies and a single-slot topology that needs e.g. the hi_intel model. The blob is only 96 bytes with the ABI header, so it avoids the size problems of embedding a whole model in the topology. Non-zero threshold_q8 and avg_len in the selection header override the trigger settings of the built-in model. A name that is not built in fails the prepare. MWW_GetBuiltinModel() looks up the models built in with the current Kconfig choice. SOF_MWW_MODEL_NAME_LEN is added to user/mww.h and checked against the TFLM side MWW_MODEL_NAME_LEN at build time. The tune script sof_mww_select_conf.py emits the selection blob as a Topology2 data object. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Add SDW_DMIC_WOV_MWW_MODEL to choose the built-in MWW model of the single-slot SoundWire DMIC WoV by keyword name. The default "default" keeps the slot based model choice of the firmware. With "hi_intel" the MWW bytes control gets the select_hi_intel.conf blob that selects the built-in hi_intel model. The single-slot detector lands in slot 2 that would load the orange model, so set SDW_DMIC_WOV_MWW_MODEL=hi_intel for the sof-ptl-rt713-l3-rt1320-l12-wov development topology. The wov-multi topologies are not changed. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
singalsu
marked this pull request as ready for review
November 26, 2026 17:30
lgirdwood
approved these changes
Nov 26, 2026
lgirdwood
left a comment
Member
There was a problem hiding this comment.
@naveen-manohar good for you ?
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.
No description provided.