From patchwork Mon Jan 16 17:17:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joseph Hunkeler X-Patchwork-Id: 13103514 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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72D95C677F1 for ; Mon, 16 Jan 2023 17:18:09 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8C79F58F8; Mon, 16 Jan 2023 18:17:17 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8C79F58F8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1673889487; bh=E2BwdlSfSdNql01coFX3GOLetktx9JEoW/zwBkIW9mA=; h=Subject:From:To:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=fR7WDhxTGYjWe/rPwkbOPhz4avGZJkDOXMz5W3FZQMsXEYY2/dY+d+Q1QOlJPVXcb zh/mhJSNxY75lOkOYoFW9CVbqRDjkeATv3nEVKVoKp71LRLql8pTk1/+bFPYRz/24Z ToDl+V7Dg/1hAOHRoJqLisYeCbppFuFGfjbddk1k= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 39825F80240; Mon, 16 Jan 2023 18:17:17 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4FECDF80482; Mon, 16 Jan 2023 18:17:16 +0100 (CET) Received: from mail-vs1-xe34.google.com (mail-vs1-xe34.google.com [IPv6:2607:f8b0:4864:20::e34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id E3CF4F8023A for ; Mon, 16 Jan 2023 18:17:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz E3CF4F8023A Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=PciueYCi Received: by mail-vs1-xe34.google.com with SMTP id q125so17929461vsb.0 for ; Mon, 16 Jan 2023 09:17:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:content-transfer-encoding:date:to:from :subject:message-id:from:to:cc:subject:date:message-id:reply-to; bh=E2BwdlSfSdNql01coFX3GOLetktx9JEoW/zwBkIW9mA=; b=PciueYCiHL+8gKicoa+wx5jCtsA0nAiNUPICiBof5vAnup+KPOzNS8SE+FmQJ6e+en 2ZK4/WjUPzzCSMudC5zlsLy2fbzBzV52YAHliwOugp8VE5arZgl1eghT3B/ZPj3bm8q3 HL/l1+b6FdyiYd6W3jeqL7m+xnfC3bX8lPGtgxNEcT2YM3Rxt/q0ihC1V5+9xcc+6t8q ulOAjd82c1WqoN87AovClQk7T0UlkoSt2D9P8QWtiwIzgJZLbunytUBJb2qLl5Ri2QuL MSq5J4keRXh2L4tH7jIgfUXBxvB+ST6qNupogYMOmn/5W3brZU8izFD20ef1Y6l3RcdY sTuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:date:to:from :subject:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=E2BwdlSfSdNql01coFX3GOLetktx9JEoW/zwBkIW9mA=; b=soUXoNNuluqyTBrAMZ+z0XXlDOBvM3xGZ6+q/WjsRxPbFjLhd0jaJUPZpm5LX5HeB2 V519MlKjtN57cxwNepy2O9ALJF5Wj3O0Rrm2JhZy6fZ6QvxJr0JhaYQpgs0sUN6AiAYp Hp7E/0N8edLzqiBkluMitexMqt8ZTNv+qVMLKdI6aZI4uLoosqgHsscwdxaLa2Wdd9+P rQq8q0LAwZNpQG+oqVn4EPBgb/2hA3vYzJzfRC6jtz/lYTfQsK44O/Gduvjx3yw2nPDO sCnKo+u/T77XifgriAkoaHjDDYuAAZo8iL9R7etYKtNUj+0/0eJVM+gg5aApb5hEvfap 8X0g== X-Gm-Message-State: AFqh2koQogmeRmauI2lswR6a5h1aEUxEwbpF7ot0GKT9qqhLK5troSra JicFPjvKocLBZ34asbbaWkZjdMTafaryvA== X-Google-Smtp-Source: AMrXdXtFoCbcTkHRA1tbRmLT3C5Y8BrYs4LGWivzoee7bCRz7NYnkqgLvNXL1fjpaX7joDrkgf7Smg== X-Received: by 2002:a67:fc8e:0:b0:3d3:cb9c:f79b with SMTP id x14-20020a67fc8e000000b003d3cb9cf79bmr2147916vsp.2.1673889429037; Mon, 16 Jan 2023 09:17:09 -0800 (PST) Received: from ?IPv6:2601:14d:4e80:336e:6940:faac:fba5:1dee? ([2601:14d:4e80:336e:6940:faac:fba5:1dee]) by smtp.gmail.com with ESMTPSA id x14-20020a05620a258e00b006e07228ed53sm18442167qko.18.2023.01.16.09.17.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 09:17:08 -0800 (PST) Message-ID: <66b11b3a9573fa450045056c971326db0a31893e.camel@gmail.com> Subject: [PATCH] ASoC: amd: yc: Add OMEN by HP Gaming Laptop 16z-n000 into DMI table From: Joseph Hunkeler To: alsa-devel@alsa-project.org Date: Mon, 16 Jan 2023 12:17:07 -0500 User-Agent: Evolution 3.46.2 MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Adding support for the HP Omen 16z-n000 laptop; this enables the internal microphone. Signed-off-by: Joseph Hunkeler ---  sound/soc/amd/yc/acp6x-mach.c | 7 +++++++  1 file changed, 7 insertions(+) diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c index 1f0b5527c594..32b61189d653 100644 --- a/sound/soc/amd/yc/acp6x-mach.c +++ b/sound/soc/amd/yc/acp6x-mach.c @@ -220,6 +220,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {                         DMI_MATCH(DMI_PRODUCT_NAME, "Redmi Book Pro 14 2022"),                 }         }, +       { +               .driver_data = &acp6x_card, +               .matches = { +                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"), +                       DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16z-n000"), +               } +       },         {}  };