2024-06-06 13:07:14

by Stefan Binding

[permalink] [raw]
Subject: [PATCH v1 0/4] Add support for Lenovo Thinkbooks

These laptops do not contain _DSD required to support CS35L41 HDA.
To workaround this, add support for these laptops into the configuration
table in cs35l41_hda_property.c.
Also add the required entries into patch_realtek for this SSID.

Stefan Binding (4):
ALSA: hda: cs35l41: Support Lenovo Thinkbook 16P Gen 5
ALSA: hda: cs35l41: Support Lenovo Thinkbook 13x Gen 4
ALSA: hda/realtek: Support Lenovo Thinkbook 16P Gen 5
ALSA: hda/realtek: Support Lenovo Thinkbook 13x Gen 4

sound/pci/hda/cs35l41_hda_property.c | 8 ++++++++
sound/pci/hda/patch_realtek.c | 4 ++++
2 files changed, 12 insertions(+)

--
2.34.1



2024-06-06 13:08:20

by Stefan Binding

[permalink] [raw]
Subject: [PATCH v1 4/4] ALSA: hda/realtek: Support Lenovo Thinkbook 13x Gen 4

Add support for this laptop, which uses CS35L41 HDA amps.
The laptop does not contain valid _DSD for these amps, so requires
entries into the CS35L41 configuration table to function correctly.

Signed-off-by: Stefan Binding <[email protected]>
---
sound/pci/hda/patch_realtek.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 6cb258978666..621b525a3c14 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -10540,6 +10540,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x17aa, 0x38be, "Yoga S980-14.5 proX YC Dual", ALC287_FIXUP_TAS2781_I2C),
SND_PCI_QUIRK(0x17aa, 0x38bf, "Yoga S980-14.5 proX LX Dual", ALC287_FIXUP_TAS2781_I2C),
SND_PCI_QUIRK(0x17aa, 0x38c3, "Y980 DUAL", ALC287_FIXUP_TAS2781_I2C),
+ SND_PCI_QUIRK(0x17aa, 0x38c7, "Thinkbook 13x Gen 4", ALC287_FIXUP_CS35L41_I2C_4),
+ SND_PCI_QUIRK(0x17aa, 0x38c8, "Thinkbook 13x Gen 4", ALC287_FIXUP_CS35L41_I2C_4),
SND_PCI_QUIRK(0x17aa, 0x38cb, "Y790 YG DUAL", ALC287_FIXUP_TAS2781_I2C),
SND_PCI_QUIRK(0x17aa, 0x38cd, "Y790 VECO DUAL", ALC287_FIXUP_TAS2781_I2C),
SND_PCI_QUIRK(0x17aa, 0x38d2, "Lenovo Yoga 9 14IMH9", ALC287_FIXUP_YOGA9_14IMH9_BASS_SPK_PIN),
--
2.34.1


2024-06-13 12:14:11

by Takashi Iwai

[permalink] [raw]
Subject: Re: [PATCH v1 0/4] Add support for Lenovo Thinkbooks

On Thu, 06 Jun 2024 15:03:47 +0200,
Stefan Binding wrote:
>
> These laptops do not contain _DSD required to support CS35L41 HDA.
> To workaround this, add support for these laptops into the configuration
> table in cs35l41_hda_property.c.
> Also add the required entries into patch_realtek for this SSID.
>
> Stefan Binding (4):
> ALSA: hda: cs35l41: Support Lenovo Thinkbook 16P Gen 5
> ALSA: hda: cs35l41: Support Lenovo Thinkbook 13x Gen 4
> ALSA: hda/realtek: Support Lenovo Thinkbook 16P Gen 5
> ALSA: hda/realtek: Support Lenovo Thinkbook 13x Gen 4

Applied all patches. I corrected the hex numbers in the patch 3 to
lower cases.


thanks,

Takashi