mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v9 0/2] ASoC: Intel: Add Yoga Book RT5677 support
@ 2026-09-25 13:59 Maurizio Casciano
  2026-09-25 13:59 ` [PATCH v9 1/2] ASoC: Intel: Add Cherry Trail RT5677 machine driver Maurizio Casciano
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Maurizio Casciano @ 2026-09-25 13:59 UTC (permalink / raw)
  To: Mark Brown
  Cc: Cezary Rojewski, Liam Girdwood, Peter Ujfalusi, Yung-Chuan Liao,
	Kai Vehmanen, Pierre-Louis Bossart, Jaroslav Kysela,
	Takashi Iwai, Yauhen Kharuzhy, linux-sound, linux-kernel,
	Maurizio Casciano

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-08  8:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 13:59 [PATCH v9 0/2] ASoC: Intel: Add Yoga Book RT5677 support Maurizio Casciano
2026-09-25 13:59 ` [PATCH v9 1/2] ASoC: Intel: Add Cherry Trail RT5677 machine driver Maurizio Casciano
2026-09-25 13:59 ` [PATCH v9 2/2] ASoC: Intel: cht: Add Yoga Book RT5677 machine entry Maurizio Casciano
2026-10-07 15:51 ` [PATCH v9 0/2] ASoC: Intel: Add Yoga Book RT5677 support Mark Brown
2026-10-08  8:25   ` Cezary Rojewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®