ASoC: Intel: sof_sdw: Add support for SKU 0C10 product
authorGongjun Song <gongjun.song@intel.com>
Fri, 11 Nov 2022 04:50:13 +0000 (12:50 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 11 Nov 2022 12:09:18 +0000 (12:09 +0000)
SKU 0C10 product supports SoundWire capture from local microphone
and two SoundWire amplifiers(no headset codec).

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Gongjun Song <gongjun.song@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20221111045016.46573-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index ee9857dc3135d6b8ff9d2604fecd940c0b9bb808..ed4ca10b671042b59e1db284cb5a054a94ef1ee3 100644 (file)
@@ -355,6 +355,17 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                .driver_data = (void *)(SOF_SDW_TGL_HDMI |
                                        RT711_JD2),
        },
+       /* RaptorLake devices */
+       {
+               .callback = sof_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0C10"),
+               },
+               /* No Jack */
+               .driver_data = (void *)(SOF_SDW_TGL_HDMI |
+                                       SOF_SDW_FOUR_SPK),
+       },
        /* MeteorLake devices */
        {
                .callback = sof_sdw_quirk_cb,