From nobody Mon Dec 29 00:37:19 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1BDA3C4167B for ; Sat, 2 Dec 2023 22:30:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232443AbjLBWaX (ORCPT ); Sat, 2 Dec 2023 17:30:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbjLBWaV (ORCPT ); Sat, 2 Dec 2023 17:30:21 -0500 Received: from mail.mutex.one (mail.mutex.one [62.77.152.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E9AA4118 for ; Sat, 2 Dec 2023 14:30:27 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.mutex.one (Postfix) with ESMTP id B079E16C004F; Sun, 3 Dec 2023 00:30:25 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at mail.mutex.one Received: from mail.mutex.one ([127.0.0.1]) by localhost (mail.mutex.one [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UEsZY57NrXHr; Sun, 3 Dec 2023 00:30:24 +0200 (EET) From: Marian Postevca DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mutex.one; s=default; t=1701556224; bh=s585yJTEP1BIT7VQPTYSUVZfeJViMXhJ8P6thTlf5V4=; h=From:To:Cc:Subject:Date:From; b=T3g3FD9bpTodjDxExZLR+5KvBiNu1YqAhNSn1aZiwCS/48lyni4Ca7/1QUeBgdx9H 0XuZ/fllWPcCCTwHRd00TwJSPorI8nCNQz01as1u4ZUUdoNUlYIWCG663Si/j9JJAZ LR+J/nt1dkiIJGUg3A0aR/qJ3vJJ0081juL0+fMo= To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Marian Postevca Subject: [PATCH] ASoC: amd: acp: Add support for a new Huawei Matebook laptop Date: Sun, 3 Dec 2023 00:29:51 +0200 Message-ID: <20231202223001.8025-1-posteuca@mutex.one> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" This commit adds support for Huawei MateBook D16 2021 with Ryzen 4600H in driver acp3x-es83xx. Signed-off-by: Marian Postevca --- sound/soc/amd/acp-config.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/sound/soc/amd/acp-config.c b/sound/soc/amd/acp-config.c index 20cee7104c2b..3bc4b2e41650 100644 --- a/sound/soc/amd/acp-config.c +++ b/sound/soc/amd/acp-config.c @@ -103,6 +103,20 @@ static const struct config_entry config_table[] =3D { {} }, }, + { + .flags =3D FLAG_AMD_LEGACY, + .device =3D ACP_PCI_DEV_ID, + .dmi_table =3D (const struct dmi_system_id []) { + { + .matches =3D { + DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HVY-WXX9"), + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1010"), + }, + }, + {} + }, + }, { .flags =3D FLAG_AMD_LEGACY, .device =3D ACP_PCI_DEV_ID, --=20 2.41.0