]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: Intel: sof_sdw: add support for Dell SKU 0AF0
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 25 Jul 2022 19:49:00 +0000 (14:49 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 Jul 2022 21:37:03 +0000 (22:37 +0100)
Somehow this device was not added in the initial AlderLake batch.
From the ACPI definition this looks like a standard SDCA version with
RT711 on link0, RT1316 on link1/2 and RT714 on link3.

BugLink: https://github.com/thesofproject/linux/issues/3772
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220725194909.145418-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index 12f243ef04bf720b892ffd9f14cd12a5c5981aa7..a49bfaab6b21fa8c41cd63bea0cc5c933d47d6e7 100644 (file)
@@ -246,6 +246,16 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                                        SOF_BT_OFFLOAD_SSP(2) |
                                        SOF_SSP_BT_OFFLOAD_PRESENT),
        },
+       {
+               .callback = sof_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0AF0")
+               },
+               .driver_data = (void *)(SOF_SDW_TGL_HDMI |
+                                       RT711_JD2 |
+                                       SOF_SDW_FOUR_SPK),
+       },
        {
                .callback = sof_sdw_quirk_cb,
                .matches = {