Skip to content

Commit b592ed2

Browse files
Stefan Bindingtiwai
authored andcommitted
ALSA: hda: cs35l41: Support additional ASUS ROG 2023 models
Add new model entries into configuration table. Signed-off-by: Stefan Binding <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 8c4c216 commit b592ed2

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

sound/pci/hda/cs35l41_hda_property.c

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,24 @@ static const struct cs35l41_config cs35l41_config_table[] = {
4242
* in the ACPI. The Reset GPIO is also valid, so we can use the Reset defined in _DSD.
4343
*/
4444
{ "103C89C6", SPI, 2, INTERNAL, { CS35L41_RIGHT, CS35L41_LEFT, 0, 0 }, -1, -1, -1, 1000, 4500, 24 },
45+
{ "10431433", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
46+
{ "10431463", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
47+
{ "10431473", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 1000, 4500, 24 },
48+
{ "10431483", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 1000, 4500, 24 },
49+
{ "10431493", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
50+
{ "104314D3", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
51+
{ "104314E3", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
52+
{ "10431503", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
53+
{ "10431533", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
54+
{ "10431573", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
55+
{ "10431663", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 1000, 4500, 24 },
56+
{ "104317F3", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
57+
{ "10431C9F", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
58+
{ "10431CAF", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
59+
{ "10431CCF", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
60+
{ "10431CDF", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
61+
{ "10431CEF", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
62+
{ "10431D1F", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
4563
{}
4664
};
4765

@@ -316,6 +334,24 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
316334
{ "CLSA0100", NULL, lenovo_legion_no_acpi },
317335
{ "CLSA0101", NULL, lenovo_legion_no_acpi },
318336
{ "CSC3551", "103C89C6", generic_dsd_config },
337+
{ "CSC3551", "10431433", generic_dsd_config },
338+
{ "CSC3551", "10431463", generic_dsd_config },
339+
{ "CSC3551", "10431473", generic_dsd_config },
340+
{ "CSC3551", "10431483", generic_dsd_config },
341+
{ "CSC3551", "10431493", generic_dsd_config },
342+
{ "CSC3551", "104314D3", generic_dsd_config },
343+
{ "CSC3551", "104314E3", generic_dsd_config },
344+
{ "CSC3551", "10431503", generic_dsd_config },
345+
{ "CSC3551", "10431533", generic_dsd_config },
346+
{ "CSC3551", "10431573", generic_dsd_config },
347+
{ "CSC3551", "10431663", generic_dsd_config },
348+
{ "CSC3551", "104317F3", generic_dsd_config },
349+
{ "CSC3551", "10431C9F", generic_dsd_config },
350+
{ "CSC3551", "10431CAF", generic_dsd_config },
351+
{ "CSC3551", "10431CCF", generic_dsd_config },
352+
{ "CSC3551", "10431CDF", generic_dsd_config },
353+
{ "CSC3551", "10431CEF", generic_dsd_config },
354+
{ "CSC3551", "10431D1F", generic_dsd_config },
319355
{}
320356
};
321357

0 commit comments

Comments
 (0)