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

From: Maurizio Casciano

Date: Thu Sep 24 2026 - 20:32:44 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 series has a runtime dependency on the Yoga Book platform/x86 v3
series. That series attaches software-node properties for RT5677 GPIO2
and GPIO4, which control the second speaker amplifier and headphone path:
https://lore.kernel.org/r/20260829225729.395270-1-mauriziocasciano7@xxxxxxxxx

Changes in v8:
- Use snd_soc_substream_to_rtd() instead of accessing private_data.
- Use the ACPI-enumerated "i2c-104C227E:00" name for the TS3A227E
auxiliary device.
- Clarify that the ACPI GPIO mapping in the machine driver covers the
external speaker enable, while platform/x86 supplies the two RT5677
GPIO properties requested later in probe.
- Rebase onto the current ASoC for-next branch.

The v8 patches apply to ASoC for-next at 74612d0b448f. On the remote build
host, x86_64_defconfig with SND_SOC, X86_INTEL_LPSS, GPIOLIB and
SND_SOC_INTEL_CHT_RT5677_MACH=m built cht_rt5677.o and
soc-acpi-intel-cht-match.o with W=1. Strict checkpatch reports no errors;
the only warning asks whether MAINTAINERS needs an update for the new
driver, which is already covered by the existing Intel ASoC entries.

The v7 source was runtime-tested on a Yoga Book YB1-X91L with both SOF and
SST, including PCM0 playback/capture, PCM1 deep-buffer playback, built-in
speakers and internal-microphone capture. The v8 review delta has not yet
been rerun on the device.

With Best Regards,
Maurizio Casciano

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 | 653 ++++++++++++++++++
.../intel/common/soc-acpi-intel-cht-match.c | 8 +
4 files changed, 677 insertions(+)
create mode 100644 sound/soc/intel/boards/cht_rt5677.c

base-commit: 74612d0b448fe745e80cda87fe49ac3c102ccc1f

--
2.53.0