[d-kernel] [PATCH 2/7] ASoC: Intel: add more DMI info into sof-essx8336 driver

kovalev на altlinux.org kovalev на altlinux.org
Ср Дек 6 19:44:08 MSK 2023


From: Vasiliy Kovalev <kovalev на altlinux.org>

Add Aquarius laptops with sound card based on es8326 codec.

Signed-off-by: Vasiliy Kovalev <kovalev на altlinux.org>
---
 sound/soc/intel/boards/sof_es8336.c | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/sound/soc/intel/boards/sof_es8336.c b/sound/soc/intel/boards/sof_es8336.c
index ee52004e88d329..233a1fc878fe96 100644
--- a/sound/soc/intel/boards/sof_es8336.c
+++ b/sound/soc/intel/boards/sof_es8336.c
@@ -332,6 +332,24 @@ static int sof_es8336_quirk_cb(const struct dmi_system_id *id)
  * if the topology file is modified as well.
  */
 static const struct dmi_system_id sof_es8336_quirk_table[] = {
+	{
+		.callback = sof_es8336_quirk_cb,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Aquarius"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Cmp NS483"),
+		},
+		.driver_data = (void *)(SOF_ES8336_JD_INVERTED |
+					SOF_ES8336_ENABLE_DMIC)
+	},
+	{
+		.callback = sof_es8336_quirk_cb,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Aquarius"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "NS685U R11"),
+		},
+		.driver_data = (void *)(SOF_ES8336_JD_INVERTED |
+					SOF_ES8336_ENABLE_DMIC)
+	},
 	{
 		.callback = sof_es8336_quirk_cb,
 		.matches = {
-- 
2.33.8



Подробная информация о списке рассылки devel-kernel