Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1904220rdb; Sat, 2 Dec 2023 14:30:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXqafI9f16keI2xf6VDrzgbQa3HP2CD6CDFmrKWb8HtIUIl/jflY0oBypVknCl7o2u6iiJ X-Received: by 2002:a05:6808:1489:b0:3b8:b063:9b58 with SMTP id e9-20020a056808148900b003b8b0639b58mr2354364oiw.74.1701556258337; Sat, 02 Dec 2023 14:30:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701556258; cv=none; d=google.com; s=arc-20160816; b=imY5mAfRxDsn1mh5lfWXhDSTbk6zCD0llHzbgb+QQt4F4+ydfScWoMEPcxW6oZIG3Y 5X7hlXUI/dCIDmdoWIQEVNjvC8lZ/B/txjlt1tf/C5LCPXsqNPloB243so3gv79d7le+ xsFsWJU3qeGWStCTUleS6542wcsbvvQl9QziCnD9flGh52r91vgW1PrdqLZ1qY2KqURb +IPvmGeUKnkKLKyzoYk2s0pXHk9FCVAqzbNQjQlcJ/OaOBa33BaSyOHgOcbr1E5TKdao UudqM+mIOxtAMAPyzkdaYwqYF091qxWr6NgPUSFF9Et7ing25ZqPOANqeQUZrSbRK4ba sqkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:dkim-signature:from; bh=c80BKtSeVybDd70OHE9FV2U8yi+wOUmSv0C/Azcp+Qw=; fh=pH3LUxhZx3T6BZ6Kh9JijtKMLo8f+w4v+M4mGb/p+Vc=; b=UdLITEYOsK27xdy6/Y7174Zv6N2qCJ/213EwiWVXPRtOcYch93tHsOsIYYKtlMO9ru v3tarqLZAGe1w2E1jHkUqzm9aMT/Pu2CBaJu82x8WzWG1sEFSMelB6wwoAJe3weS7lsD GmrDnIY+G9vo2prdvC7GbHXtpJMDo4bdPvh0e1g3H+FOf3+fG/rsiyWv9F6F1+VewrL/ dzR76gohxJAl+f6OIjfORifDtn6di9LghXnoS09Dd196A0Lp07CQXlIzqVNOv4CaXr7v MfVF2CCzbjSuBzcKXD38fQG70mxFeoaQAZN+awzqb5MxDwIsHkhRdYNkxiEUgnpptkJ2 LpaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mutex.one header.s=default header.b=T3g3FD9b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l6-20020a056a00140600b006cb63513372si5168479pfu.12.2023.12.02.14.30.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Dec 2023 14:30:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@mutex.one header.s=default header.b=T3g3FD9b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id ADC53807BEC6; Sat, 2 Dec 2023 14:30:38 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230225AbjLBWaW (ORCPT + 99 others); Sat, 2 Dec 2023 17:30:22 -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: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 02 Dec 2023 14:30:38 -0800 (PST) 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[] = { {} }, }, + { + .flags = FLAG_AMD_LEGACY, + .device = ACP_PCI_DEV_ID, + .dmi_table = (const struct dmi_system_id []) { + { + .matches = { + DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HUAWEI"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "HVY-WXX9"), + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "M1010"), + }, + }, + {} + }, + }, { .flags = FLAG_AMD_LEGACY, .device = ACP_PCI_DEV_ID, -- 2.41.0