Skip to content

Commit b257187

Browse files
Stefan Bindingtiwai
authored andcommitted
ALSA: hda: cs35l41: Support additional ASUS Zenbook 2022 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 a40ce9f commit b257187

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sound/pci/hda/cs35l41_hda_property.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ 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+
{ "104312AF", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
4546
{ "10431433", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
4647
{ "10431463", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
4748
{ "10431473", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 1000, 4500, 24 },
@@ -60,6 +61,11 @@ static const struct cs35l41_config cs35l41_config_table[] = {
6061
{ "10431CDF", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
6162
{ "10431CEF", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
6263
{ "10431D1F", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
64+
{ "10431DA2", SPI, 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 0, 0, 0 },
65+
{ "10431E02", SPI, 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 0, 0, 0 },
66+
{ "10431EE2", I2C, 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 },
67+
{ "10431F12", I2C, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
68+
{ "10431F62", SPI, 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 0, 0, 0 },
6369
{}
6470
};
6571

@@ -334,6 +340,7 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
334340
{ "CLSA0100", NULL, lenovo_legion_no_acpi },
335341
{ "CLSA0101", NULL, lenovo_legion_no_acpi },
336342
{ "CSC3551", "103C89C6", generic_dsd_config },
343+
{ "CSC3551", "104312AF", generic_dsd_config },
337344
{ "CSC3551", "10431433", generic_dsd_config },
338345
{ "CSC3551", "10431463", generic_dsd_config },
339346
{ "CSC3551", "10431473", generic_dsd_config },
@@ -352,6 +359,11 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
352359
{ "CSC3551", "10431CDF", generic_dsd_config },
353360
{ "CSC3551", "10431CEF", generic_dsd_config },
354361
{ "CSC3551", "10431D1F", generic_dsd_config },
362+
{ "CSC3551", "10431DA2", generic_dsd_config },
363+
{ "CSC3551", "10431E02", generic_dsd_config },
364+
{ "CSC3551", "10431EE2", generic_dsd_config },
365+
{ "CSC3551", "10431F12", generic_dsd_config },
366+
{ "CSC3551", "10431F62", generic_dsd_config },
355367
{}
356368
};
357369

0 commit comments

Comments
 (0)