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 creates the TS3A227E I2C client and attaches
software-node properties for RT5677 GPIO2 and GPIO4:
https://lore.kernel.org/r/20260829225729.395270-1-mauriziocasciano7@gmail.com
Changes in v9:
- Restore the TS3A227E auxiliary component name to "i2c-ts3a227e" and
document that x86-android-tablets creates the client with dev_name
"ts3a227e".
- Hardware testing found that v8's "i2c-104C227E:00" name did not match
any registered component. The machine driver bound, but card
registration did not complete, leaving only Dummy Output.
- Re-run the affected-object build and Yoga Book runtime validation.
v8:
https://lore.kernel.org/r/20260925003030.1077471-1-mauriziocasciano7@gmail.com
The v9 patches apply to ASoC for-next at 74612d0b448f. On the remote
build host, the two affected objects build with W=1. The exact v9
cht_rt5677.c source was used for that build.
For runtime validation, the same driver and machine-table sources were
integrated into the known-working Yoga Book 7.2 test tree. On a Lenovo
YB1-X91L, automatic SOF and forced SST both registered the RT5677 card.
PCM0 playback and capture and PCM1 deep-buffer playback passed on both
paths. SOF passed S16_LE, S24_LE and S32_LE; SST advertised and passed
S16_LE. Routed speaker-test completed on both paths, the SOF tone was
audible, and internal-microphone captures contained signal on both paths.
No ASoC or DSP stream errors were logged. Desktop PipeWire exposed the
stereo speakers and internal microphone after the test.
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 | 654 ++++++++++++++++++
.../intel/common/soc-acpi-intel-cht-match.c | 8 +
4 files changed, 678 insertions(+)
create mode 100644 sound/soc/intel/boards/cht_rt5677.c
base-commit: 74612d0b448fe745e80cda87fe49ac3c102ccc1f
--
2.53.0