Repository navigation
Conversation
0872698 to
1ef469e
Compare
|
V2:
|
There was a problem hiding this comment.
Pull request overview
This PR adds a platform-specific quirk to select an alternate SOF HDA generic topology when the internal DMIC array is wired to PDM1 (as reported for the Xiaomi Redmi Book 16 2025 / TM2415), instead of relying solely on the NHLT DMIC-count-based topology selection.
Changes:
- Add support in SOF Intel HDA generic machine selection to consult a
machine_quirkcallback for an alternate machine/topology. - Add a DMI-based quirk in the Intel HDA ACPI match table intended to force a PDM1 DMIC topology for the affected Xiaomi model.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| sound/soc/sof/intel/hda.c | Adds machine_quirk handling to allow overriding the default HDA generic machine/topology selection. |
| sound/soc/intel/common/soc-acpi-intel-hda-match.c | Introduces a DMI match and alternate mach/topology intended to force a PDM1 DMIC topology on the target system. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Add a quirk to force a PDM1 DMIC topology on systems where PCH DMIC is connected to PDM1 and not PDM0. Link: thesofproject#5894 Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
1ef469e to
1b317e3
Compare
There was a problem hiding this comment.
🟡 Changes recommended
The DMI condition targets “Redmi Book Pro 16 2025” while the documented hardware is “Redmi Book 16 2025” and the required dmidecode output remains unavailable, so the topology may not be selected.
1 open issue
2 resolved since last review
Review effort: Lite
| { | ||
| .matches = { | ||
| DMI_MATCH(DMI_SYS_VENDOR, "XIAOMI"), | ||
| DMI_MATCH(DMI_PRODUCT_NAME, "Redmi Book Pro 16 2025"), |

Add a quirk to force a PDM1 DMIC topology on systems where PCH DMIC is connected to PDM1 and not not PDM0.
Link: #5894