[PATCH 0/2] ASoC: amd: enable audio on HP OmniBook X Flip 14

Ville Saarinen posted 2 patches 1 month, 2 weeks ago
sound/soc/amd/acp-config.c               |  7 +++
sound/soc/amd/acp/amd-acp70-acpi-match.c | 56 ++++++++++++++++++++++++
2 files changed, 63 insertions(+)
[PATCH 0/2] ASoC: amd: enable audio on HP OmniBook X Flip 14
Posted by Ville Saarinen 1 month, 2 weeks ago
The HP OmniBook X Flip 14-kc0xxx (board 8EA1, Strix Point, ACP 7.2) has no
usable audio on mainline at all. Its BIOS reports an ACP configuration flag
of FLAG_AMD_LEGACY_ONLY_DMIC, which binds the legacy ACP driver and
registers a PDM-only card, so the SoundWire links are never scanned. The
two TAS2783 speaker amplifiers on link 0 and the RT712-VB jack codec on
link 1 never enumerate, and the machine has no playback path whatsoever.

Patch 1 adds a DMI quirk overriding the flag so snd_pci_ps probes. Patch 2
adds the machine entry describing the link topology.

With both applied the card comes up and every path on the machine works:
internal speakers, headphone jack with detection, headset microphone and
the internal DMIC array. Two further patches are needed for the speakers
to render stereo rather than mono, and to survive a system resume; those
are in the TAS2783 codec driver and are being sent separately to the TI
maintainers, since they have no build dependency on this pair.

Related reports for the same root cause on other machines:

  - kernel bugzilla #221226 (ASUS Zenbook S16)
  - CachyOS linux-cachyos#820 (HP OmniBook X Flip 16, board 8EA2 -- the
    sibling board, which would need its own entry; I have no access to
    one and have not added it)

Tested on the affected machine only. I do not have any other ACP 7.2
board, so the gating on patch 2 is written to be conservative rather than
broad.

Testing
=======

The hardware testing was done on v7.1.6, where an equivalent version of
this pair is what makes audio work on the machine. Against the master
commit named below, both patches have been compile-tested only (gcc, W=1,
no new warnings, no new external symbol references).

Patch 2 has been reworked slightly relative to the tested build: the
RT712-VB entry now reuses the existing jack_dmic_endpoints array, which
already describes exactly the AIF1 jack + AIF3 DMIC pairing this board
needs, instead of adding a second identical copy of it. That was a
mechanical substitution, but it has not been through hardware.

Tool disclosure, per Documentation/process/generated-content.rst
================================================================

This work was done in extended interactive sessions with Claude (Anthropic,
model claude-opus-5) acting as a coding and debugging assistant, and a
substantial amount of the analysis and of the patch text originated with
it. Both patches carry an Assisted-by tag as described in
Documentation/process/coding-assistants.rst.

The division of work:

  - The assistant read the DMI data and ACP configuration flag off the
    running machine, identified the flag override as the fix, derived the
    SoundWire topology from the enumerated peripherals, and drafted both
    patches and both changelogs.
  - I ran everything that needed root or physical access, rebooted into
    each build, and did the listening tests. The left/right ordering in
    patch 2 is set by the order of the two amplifier entries; the first
    version had the sides reversed and that was caught by ear, not by the
    assistant.
  - No single prompt generated these patches. The session was iterative
    over roughly a day: inspect state, form a hypothesis, build, reboot,
    measure, discard the hypothesis if the measurement disagreed. Several
    confident intermediate conclusions were wrong and were only caught by
    measurement.

I have reviewed both patches, I understand what they do, and I take
responsibility for them.

Ville Saarinen (2):
  ASoC: amd: acp-config: force SoundWire probe on HP OmniBook X Flip 14
  ASoC: amd: acp70: add HP OmniBook X Flip 14 SoundWire machine

 sound/soc/amd/acp-config.c               |  7 +++
 sound/soc/amd/acp/amd-acp70-acpi-match.c | 56 ++++++++++++++++++++++++
 2 files changed, 63 insertions(+)


base-commit: 06cf61899d6498b33e4b7c87d99d5bd471ccc375
-- 
2.55.0
Re: [PATCH 0/2] ASoC: amd: enable audio on HP OmniBook X Flip 14
Posted by Mark Brown 1 month, 2 weeks ago
On Sun, 09 Aug 2026 10:14:58 +0000, Ville Saarinen wrote:
> ASoC: amd: enable audio on HP OmniBook X Flip 14
> 
> The HP OmniBook X Flip 14-kc0xxx (board 8EA1, Strix Point, ACP 7.2) has no
> usable audio on mainline at all. Its BIOS reports an ACP configuration flag
> of FLAG_AMD_LEGACY_ONLY_DMIC, which binds the legacy ACP driver and
> registers a PDM-only card, so the SoundWire links are never scanned. The
> two TAS2783 speaker amplifiers on link 0 and the RT712-VB jack codec on
> link 1 never enumerate, and the machine has no playback path whatsoever.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3

Thanks!

[1/2] ASoC: amd: acp-config: force SoundWire probe on HP OmniBook X Flip 14
      https://git.kernel.org/broonie/sound/c/8393e0bf593b
[2/2] ASoC: amd: acp70: add HP OmniBook X Flip 14 SoundWire machine
      https://git.kernel.org/broonie/sound/c/b48466e4be18

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark