Skip to content

Commit a9bed48

Browse files
Stefan Bindinggregkh
authored andcommitted
ALSA: hda/realtek: Add support for ASUS NUC using CS35L41 HDA
[ Upstream commit 84fc889 ] Add support for ASUS NUC14LNS. This NUC uses a single CS35L41 Amp in using Internal Boost with SPI. To support the Single Amp, a new quirk is required. Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com> Link: https://patch.msgid.link/20250612160029.848104-3-sbinding@opensource.cirrus.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 1f1bc26 commit a9bed48

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7272,6 +7272,11 @@ static void cs35l41_fixup_spi_two(struct hda_codec *codec, const struct hda_fixu
72727272
comp_generic_fixup(codec, action, "spi", "CSC3551", "-%s:00-cs35l41-hda.%d", 2);
72737273
}
72747274

7275+
static void cs35l41_fixup_spi_one(struct hda_codec *codec, const struct hda_fixup *fix, int action)
7276+
{
7277+
comp_generic_fixup(codec, action, "spi", "CSC3551", "-%s:00-cs35l41-hda.%d", 1);
7278+
}
7279+
72757280
static void cs35l41_fixup_spi_four(struct hda_codec *codec, const struct hda_fixup *fix, int action)
72767281
{
72777282
comp_generic_fixup(codec, action, "spi", "CSC3551", "-%s:00-cs35l41-hda.%d", 4);
@@ -7956,6 +7961,7 @@ enum {
79567961
ALC287_FIXUP_CS35L41_I2C_2,
79577962
ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED,
79587963
ALC287_FIXUP_CS35L41_I2C_4,
7964+
ALC245_FIXUP_CS35L41_SPI_1,
79597965
ALC245_FIXUP_CS35L41_SPI_2,
79607966
ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED,
79617967
ALC245_FIXUP_CS35L41_SPI_4,
@@ -10067,6 +10073,10 @@ static const struct hda_fixup alc269_fixups[] = {
1006710073
.type = HDA_FIXUP_FUNC,
1006810074
.v.func = cs35l41_fixup_spi_two,
1006910075
},
10076+
[ALC245_FIXUP_CS35L41_SPI_1] = {
10077+
.type = HDA_FIXUP_FUNC,
10078+
.v.func = cs35l41_fixup_spi_one,
10079+
},
1007010080
[ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED] = {
1007110081
.type = HDA_FIXUP_FUNC,
1007210082
.v.func = cs35l41_fixup_spi_two,
@@ -11001,6 +11011,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
1100111011
SND_PCI_QUIRK(0x1043, 0x8398, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
1100211012
SND_PCI_QUIRK(0x1043, 0x83ce, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
1100311013
SND_PCI_QUIRK(0x1043, 0x8516, "ASUS X101CH", ALC269_FIXUP_ASUS_X101),
11014+
SND_PCI_QUIRK(0x1043, 0x88f4, "ASUS NUC14LNS", ALC245_FIXUP_CS35L41_SPI_1),
1100411015
SND_PCI_QUIRK(0x104d, 0x9073, "Sony VAIO", ALC275_FIXUP_SONY_VAIO_GPIO2),
1100511016
SND_PCI_QUIRK(0x104d, 0x907b, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),
1100611017
SND_PCI_QUIRK(0x104d, 0x9084, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),

0 commit comments

Comments
 (0)