[PATCH v7 0/2] ASoC: Intel: Add Yoga Book RT5677 support

From: Maurizio Casciano

Date: Wed Sep 02 2026 - 08:56:01 EST


Hi,

This series adds the Cherry Trail machine driver and machine-table entry
needed by the Lenovo Yoga Book YB1-X91F/L with its RT5677 codec and
TS3A227E headset detector.

The driver supports both legacy SST and SOF. The Intel DSP configuration
selects one backend at probe time, so the paths are mutually exclusive.
The tested configuration prefers SOF automatically, while
snd_intel_dspcfg.dsp_driver=2 selects SST on the same kernel.

Cezary, thank you for questioning the v6 statement that SST had not been
validated on this hardware. That statement was inaccurate: it conflated
not revalidating SST against v6 with SST never having been validated. v7
restores the dual-path support and now includes separate runtime evidence
for both backends.

Changes in v7:
- Restore the SST firmware and board fields in the machine-table entry.
- Select separate card identities from the firmware parent: SOF registers
as "sof-cht rt5677" (ALSA ID "rt5677"), while SST registers as
"cht-rt5677" (ALSA ID "chtrt5677").
- Retain the v6 removal of snd_soc_fixup_dai_links_platform_name(); both
backends register and stream successfully without it.
- Add the matching cht-rt5677 alias to the shared Yoga Book UCM profile.

The matching UCM source and package are available at:
https://github.com/Yoga-Book/Yoga-Book-ALSA-UCM-Config/releases/tag/v1.7

Validation used one 7.2.0 kernel built from the exact v7 source state on a
Lenovo Yoga Book YB1-X91L:
- Automatic selection, with no DSP override, loaded SOF firmware 2.2.0 and
sof-cht-rt5677.tplg.
- snd_intel_dspcfg.dsp_driver=2 loaded intel/fw_sst_22a8.bin through SST.
- PCM0 playback and capture plus PCM1 deep-buffer playback passed on both
backends at 48 kHz stereo.
- SOF passed S16_LE, S24_LE and S32_LE; SST advertises and passed S16_LE.
- UCM Speaker1 and Mic1 routing and PipeWire playback/capture passed on
both backends with alsa-ucm-conf-yogabook 1.7.
- The built-in speakers were physically audible on both backends; the
internal microphone produced non-empty stereo captures. GNOME Settings
speaker and microphone tests passed in the final default SOF boot.
- No ASoC, SOF/SST stream or failed-unit errors were present after the
successful final tests.

The v7 series is sent as a fresh thread and Yauhen Kharuzhy remains copied
as co-developer.

Maurizio Casciano (2):
ASoC: Intel: Add Cherry Trail RT5677 machine driver
ASoC: Intel: cht: Add Yoga Book RT5677 machine entry

sound/soc/intel/boards/Kconfig | 14 +
sound/soc/intel/boards/Makefile | 2 +
sound/soc/intel/boards/cht_rt5677.c | 647 ++++++++++++++++++
.../intel/common/soc-acpi-intel-cht-match.c | 8 +
4 files changed, 671 insertions(+)
create mode 100644 sound/soc/intel/boards/cht_rt5677.c

With Best Regards,
Maurizio Casciano


base-commit: 8a070652d9194babdd35bf7cbd2c6722b441e8f4
--
2.53.0