Skip to content

ASoC: amd: acp: Support Huawei MateBook D 14 (NBM-WXX9)

Samuel Leyva linux-sound lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Patch 2: only move the speaker amplifier to the endpoint widget. The Headphone widget shares its power-up rank with the ES8316 output drivers, so the reordering did not hold for headphones (Sashiko).
- Patch 2: use braces on both if/else branches (Sashiko).
- Patch 2: add Fixes tag (Sashiko).
- Patch 1: unchanged.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: amd: acp: Add DMI quirk for Huawei MateBook D 14 (NBM-WXX9)sound/soc/amd/acp-config.c sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c+22 -00 replies
2/2ASoC: amd: acp: es83xx: Enable speaker amplifier after the codec outputsound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c+9 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] ASoC: amd: acp: Support Huawei MateBook D 14 (NBM-WXX9)

The Huawei MateBook D 14 AMD (NBM-WXX9) has the same ES8336 + ACP3x audio layout as the already supported BOM-WXX9, but is missing from the DMI tables, so only the DMIC-only driver binds and the speakers do not work.

Patch 1 adds the DMI quirk.

Patch 2 greatly reduces a pop heard every time the speaker output powers up (a faint one is still audible on this machine):
the speaker amplifier GPIO was driven from a SUPPLY widget, which DAPM enables before the codec output. It is independent of patch 1.

Both were tested as an out-of-tree DKMS module on the NBM-WXX9.

Changes in v2:
- Patch 2: only move the speaker amplifier to the endpoint widget. The Headphone widget shares its power-up rank with the ES8316 output drivers, so the reordering did not hold for headphones (Sashiko).
- Patch 2: use braces on both if/else branches (Sashiko).
- Patch 2: add Fixes tag (Sashiko).
- Patch 1: unchanged.

Samuel Leyva (2):
ASoC: amd: acp: Add DMI quirk for Huawei MateBook D 14 (NBM-WXX9)
ASoC: amd: acp: es83xx: Enable speaker amplifier after the codec
output

 sound/soc/amd/acp-config.c                    | 14 +++++++++++
 sound/soc/amd/acp/acp3x-es83xx/acp3x-es83xx.c | 24 +++++++++++++------
 2 files changed, 31 insertions(+), 7 deletions(-)
Signature · 1 line
2.56.0