Skip to contentSkip to conversation

CS35L41 firmware for Lenovo Yoga Slim 7 Carbon 14ACN6 (17aa3856)

DISCUSSION Ilya Pavlukhin 1 participant 1 message Sep 20 Sound

lore
Share & tools
lore
#0 lore raw

Hi,

I have just submitted a patch series adding support for the two CS35L41 amplifiers of the Lenovo Yoga Slim 7 Carbon 14ACN6 (82L0), ACPI HID CLSA0102:

https://lore.kernel.org/linux-sound/[email protected]/T/

With those patches both amplifiers bind and the bass speakers work. What is missing is the firmware and tuning in linux-firmware. The driver looks for:

cirrus/cs35l41-dsp1-spk-prot-17aa3856.wmfw
cirrus/cs35l41-dsp1-spk-prot-17aa3856-l0.bin
cirrus/cs35l41-dsp1-spk-prot-17aa3856-r0.bin

Could Cirrus release these for this machine?

For testing I used the files from Lenovo's Windows audio driver package (support.lenovo.com, DS552749, "Audio Driver for Windows 11 (64-bit)" for Yoga Slim 7 Carbon 14ACN06, v6.0.9366.1). In the CsAudio part of that package, csaudioext.inf maps ACPI\VEN_CLSA&DEV_0102 to the configuration named "S760":

Playback_6.47.0/Firmware/CS35L41/RevB2/halo_cspl_RAM_revB2_29.49.0.wmfw tunings/Lenovo-S760-17AA383D_20210811/17AA383D_20210811_A0.bin (amp at 0x40) tunings/Lenovo-S760-17AA383D_20210811/17AA383D_20210811_A1.bin (amp at 0x41)

The INF also sets ExternalVspkControl=1 and an init sequence with BST_EN=00, which is why the patches use CS35L41_EXT_BOOST for CLSA0102.

The amplifiers report "Firmware Loaded - Type: spk-prot, Gain: 17" with those files and play without errors, but I have no way to verify that this is the right, complete set, and those files cannot be redistributed, so a proper linux-firmware submission from Cirrus would be much better.

I am happy to test anything on this machine.

Thanks,
Ilya Pavlukhin