ALSA: hda: cs35l41: Support additional Dell models without _DSD
authorStefan Binding <sbinding@opensource.cirrus.com>
Thu, 21 Dec 2023 13:25:16 +0000 (13:25 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 13:26:54 +0000 (14:26 +0100)
Add new model entries into configuration table.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Cc: <stable@vger.kernel.org> # v6.7+
Link: https://lore.kernel.org/r/20231221132518.3213-2-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda_property.c

index 194e1179a253e2b64c65476b5ee4be4d1cd55bd7..5eab2de0d4bbe5c33a0c33a2fbb5d77892dab704 100644 (file)
@@ -35,6 +35,10 @@ struct cs35l41_config {
 };
 
 static const struct cs35l41_config cs35l41_config_table[] = {
+       { "10280B27", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
+       { "10280B28", SPI, 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
+       { "10280BEB", SPI, 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 0, 0, 0 },
+       { "10280C4D", I2C, 4, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, CS35L41_LEFT, CS35L41_RIGHT }, 0, 1, -1, 1000, 4500, 24 },
 /*
  * Device 103C89C6 does have _DSD, however it is setup to use the wrong boost type.
  * We can override the _DSD to correct the boost type here.
@@ -347,6 +351,10 @@ struct cs35l41_prop_model {
 static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
        { "CLSA0100", NULL, lenovo_legion_no_acpi },
        { "CLSA0101", NULL, lenovo_legion_no_acpi },
+       { "CSC3551", "10280B27", generic_dsd_config },
+       { "CSC3551", "10280B28", generic_dsd_config },
+       { "CSC3551", "10280BEB", generic_dsd_config },
+       { "CSC3551", "10280C4D", generic_dsd_config },
        { "CSC3551", "103C89C6", generic_dsd_config },
        { "CSC3551", "104312AF", generic_dsd_config },
        { "CSC3551", "10431433", generic_dsd_config },