Skip to content

Commit 84fc889

Browse files
Stefan Bindingtiwai
authored andcommitted
ALSA: hda/realtek: Add support for ASUS NUC using CS35L41 HDA
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>
1 parent dfce24f commit 84fc889

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

sound/pci/hda/patch_realtek.c

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

7299+
static void cs35l41_fixup_spi_one(struct hda_codec *codec, const struct hda_fixup *fix, int action)
7300+
{
7301+
comp_generic_fixup(codec, action, "spi", "CSC3551", "-%s:00-cs35l41-hda.%d", 1);
7302+
}
7303+
72997304
static void cs35l41_fixup_spi_four(struct hda_codec *codec, const struct hda_fixup *fix, int action)
73007305
{
73017306
comp_generic_fixup(codec, action, "spi", "CSC3551", "-%s:00-cs35l41-hda.%d", 4);
@@ -7986,6 +7991,7 @@ enum {
79867991
ALC287_FIXUP_CS35L41_I2C_2,
79877992
ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED,
79887993
ALC287_FIXUP_CS35L41_I2C_4,
7994+
ALC245_FIXUP_CS35L41_SPI_1,
79897995
ALC245_FIXUP_CS35L41_SPI_2,
79907996
ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED,
79917997
ALC245_FIXUP_CS35L41_SPI_4,
@@ -10112,6 +10118,10 @@ static const struct hda_fixup alc269_fixups[] = {
1011210118
.type = HDA_FIXUP_FUNC,
1011310119
.v.func = cs35l41_fixup_spi_two,
1011410120
},
10121+
[ALC245_FIXUP_CS35L41_SPI_1] = {
10122+
.type = HDA_FIXUP_FUNC,
10123+
.v.func = cs35l41_fixup_spi_one,
10124+
},
1011510125
[ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED] = {
1011610126
.type = HDA_FIXUP_FUNC,
1011710127
.v.func = cs35l41_fixup_spi_two,
@@ -11049,6 +11059,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
1104911059
SND_PCI_QUIRK(0x1043, 0x8398, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
1105011060
SND_PCI_QUIRK(0x1043, 0x83ce, "ASUS P1005", ALC269_FIXUP_STEREO_DMIC),
1105111061
SND_PCI_QUIRK(0x1043, 0x8516, "ASUS X101CH", ALC269_FIXUP_ASUS_X101),
11062+
SND_PCI_QUIRK(0x1043, 0x88f4, "ASUS NUC14LNS", ALC245_FIXUP_CS35L41_SPI_1),
1105211063
SND_PCI_QUIRK(0x104d, 0x9073, "Sony VAIO", ALC275_FIXUP_SONY_VAIO_GPIO2),
1105311064
SND_PCI_QUIRK(0x104d, 0x907b, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),
1105411065
SND_PCI_QUIRK(0x104d, 0x9084, "Sony VAIO", ALC275_FIXUP_SONY_HWEQ),

0 commit comments

Comments
 (0)