]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: Intel: sof_sdw: Add support for SKU 0B11 product
authorGongjun Song <gongjun.song@intel.com>
Fri, 5 Nov 2021 02:26:41 +0000 (10:26 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 5 Nov 2021 17:04:15 +0000 (17:04 +0000)
This product supports a SoundWire headset codec, SoundWire
capture from local microphones and two SoundWire amplifiers.

Signed-off-by: Gongjun Song <gongjun.song@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20211105022646.26305-5-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index 55c3e5935585ca9fc00d0898aa29de2942b51302..d0bea028b9b765c2f2e105460f1fdca87984bcf9 100644 (file)
@@ -278,6 +278,16 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                                        RT711_JD2 |
                                        SOF_SDW_FOUR_SPK),
        },
+       {
+               .callback = sof_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0B11")
+               },
+               .driver_data = (void *)(SOF_SDW_TGL_HDMI |
+                                       RT711_JD2 |
+                                       SOF_SDW_FOUR_SPK),
+       },
        {}
 };