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

Maurizio Casciano posted 2 patches 3 weeks, 2 days ago
There is a newer version of this series
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
[PATCH v7 0/2] ASoC: Intel: Add Yoga Book RT5677 support
Posted by Maurizio Casciano 3 weeks, 2 days ago
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
Re: [PATCH v7 0/2] ASoC: Intel: Add Yoga Book RT5677 support
Posted by Maurizio Casciano 1 day, 11 hours ago
Hi Mark, Cezary,

This v7 series has been pending since September 2. It restores the dual
SST/SOF machine entry and includes separate runtime validation for both
firmware paths on the YB1-X91L. The series remains unchanged.

Please let me know if any further changes or testing are needed.

With Best Regards,
Maurizio Casciano
Re: [PATCH v7 0/2] ASoC: Intel: Add Yoga Book RT5677 support
Posted by Mark Brown 1 day, 10 hours ago
On Thu, Sep 24, 2026 at 11:55:40PM +0200, Maurizio Casciano wrote:

> This v7 series has been pending since September 2. It restores the dual
> SST/SOF machine entry and includes separate runtime validation for both
> firmware paths on the YB1-X91L. The series remains unchanged.

> Please let me know if any further changes or testing are needed.

You have not responded to:

   https://lore.kernel.org/all/aphNzNx3G4qDt9X-@sirena.org.uk/