From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.1 From: kovalev@altlinux.org To: devel-kernel@lists.altlinux.org Date: Wed, 6 Dec 2023 19:44:08 +0300 Message-Id: <20231206164413.126554-3-kovalev@altlinux.org> X-Mailer: git-send-email 2.33.8 In-Reply-To: <20231206164413.126554-1-kovalev@altlinux.org> References: <20231206164413.126554-1-kovalev@altlinux.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [d-kernel] [PATCH 2/7] ASoC: Intel: add more DMI info into sof-essx8336 driver X-BeenThere: devel-kernel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2023 16:44:33 -0000 Archived-At: List-Archive: List-Post: From: Vasiliy Kovalev Add Aquarius laptops with sound card based on es8326 codec. Signed-off-by: Vasiliy Kovalev --- 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