]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: SOF: Intel: add topology overwrite for Taniks
authorBrent Lu <brent.lu@intel.com>
Thu, 10 Mar 2022 17:16:50 +0000 (11:16 -0600)
committerMark Brown <broonie@kernel.org>
Fri, 11 Mar 2022 13:40:56 +0000 (13:40 +0000)
Taniks has four max98357a on SSP2 with Demux and EQ in topology to
implement a 2-way speaker system.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220310171651.249385-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-pci-dev.c

index 61f2afd54c3e154052a2eb4994bbbf46e326b966..4c95967428444e5ac3a5a3c97e6817d27dd11ec9 100644 (file)
@@ -75,6 +75,14 @@ static const struct dmi_system_id sof_tplg_table[] = {
                },
                .driver_data = "sof-adl-max98360a-rt5682-2way.tplg",
        },
+       {
+               .callback = sof_tplg_cb,
+               .matches = {
+                       DMI_MATCH(DMI_PRODUCT_FAMILY, "Google_Brya"),
+                       DMI_MATCH(DMI_OEM_STRING, "AUDIO-AUDIO_MAX98357_ALC5682I_I2S_2WAY"),
+               },
+               .driver_data = "sof-adl-max98357a-rt5682-2way.tplg",
+       },
 
        {}
 };