mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] Add support for the bass speakers of Lenovo Yoga Slim 7 Carbon 14ACN6
@ 2026-09-20  9:28 Ilya Pavlukhin
  2026-09-20  9:28 ` [PATCH 1/4] ACPI: scan: Add CLSA0102 to the serial bus ignore list Ilya Pavlukhin
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Ilya Pavlukhin @ 2026-09-20  9:28 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Jaroslav Kysela, David Rhodes, Richard Fitzgerald,
	Rafael J . Wysocki, Len Brown, Hans de Goede, Ilpo Järvinen,
	linux-sound, patches, linux-acpi, platform-driver-x86,
	linux-kernel

The Lenovo Yoga Slim 7 Carbon 14ACN6 (82L0, Ryzen 5000) has four
speakers. The two tweeters are driven directly by the ALC287, the two
bass speakers by a pair of CS35L41 amplifiers on I2C. On Linux only
the tweeters work [1].

The amplifiers are described by ACPI HID CLSA0102, without _DSD, in a
single node with both I2C addresses, the same way as CLSA0100/CLSA0101
on the Legion 7. Patches 1-3 add CLSA0102 next to them. The Windows
Cirrus driver configures CLSA0102 with an external speaker supply, so
external boost is used.

Patch 4 adds the codec quirk. The ALC287 only clocks the I2S bus to the
amplifiers while pin 0x17 is enabled, and the BIOS marks that pin as
unconnected.

Tested on a Yoga Slim 7 Carbon 14ACN6 (BIOS H5CN42WW) with all four
speakers playing. The DSP firmware (cs35l41-dsp1-spk-prot-17aa3856*)
is not in linux-firmware yet. For testing it was taken from the Lenovo
Windows driver package (tuning "Lenovo-S760-17AA383D"). Without it the
driver falls back to the default spk-prot firmware.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=215632

Ilya Pavlukhin (4):
  ACPI: scan: Add CLSA0102 to the serial bus ignore list
  platform/x86: serial-multi-instantiate: Add CLSA0102
  ALSA: hda: cs35l41: Add support for CLSA0102
  ALSA: hda/realtek: Add quirk for Lenovo Yoga Slim 7 Carbon 14ACN6

 drivers/acpi/scan.c                           |  1 +
 .../platform/x86/serial-multi-instantiate.c   |  1 +
 sound/hda/codecs/realtek/alc269.c             | 28 +++++++++++++++++++
 .../hda/codecs/side-codecs/cs35l41_hda_i2c.c  |  3 ++
 .../codecs/side-codecs/cs35l41_hda_property.c | 28 +++++++++++++++++++
 5 files changed, 61 insertions(+)


base-commit: 4d4bc656580bcc448f8e6d6b3b3a903120eb29bb
-- 
2.43.0


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

end of thread, other threads:[~2026-09-29 14:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20  9:28 [PATCH 0/4] Add support for the bass speakers of Lenovo Yoga Slim 7 Carbon 14ACN6 Ilya Pavlukhin
2026-09-20  9:28 ` [PATCH 1/4] ACPI: scan: Add CLSA0102 to the serial bus ignore list Ilya Pavlukhin
2026-09-22 11:32   ` Rafael J. Wysocki (Intel)
2026-09-20  9:28 ` [PATCH 2/4] platform/x86: serial-multi-instantiate: Add CLSA0102 Ilya Pavlukhin
2026-09-20  9:28 ` [PATCH 3/4] ALSA: hda: cs35l41: Add support for CLSA0102 Ilya Pavlukhin
2026-09-20  9:28 ` [PATCH 4/4] ALSA: hda/realtek: Add quirk for Lenovo Yoga Slim 7 Carbon 14ACN6 Ilya Pavlukhin
2026-09-29  9:45 ` [PATCH 0/4] Add support for the bass speakers of " Takashi Iwai
2026-09-29 14:30   ` Stefan Binding
2026-09-29 14:44     ` Takashi Iwai

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®