Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2064826rdb; Mon, 20 Nov 2023 00:19:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMWCG08ZaERlbwTCJB2OMBS2a3hZcJT2OEWAP44fMbVGkM1f8pUJqm+nyjEdqS2F/30/Kf X-Received: by 2002:a17:903:238b:b0:1cc:6597:f421 with SMTP id v11-20020a170903238b00b001cc6597f421mr10196959plh.48.1700468353736; Mon, 20 Nov 2023 00:19:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700468353; cv=none; d=google.com; s=arc-20160816; b=Nuo+Dx3oqOzGtG6n1v+r7baSOAulAiY6p9sSRfJdS2/3gQRHrwVtzFzujBgUXy9Ymj TiOAoYb7yPtOMkjs/cAkCjnPq27vs4B6I1MtvuBZjgaoO5/gINi/m/4PbxvkukAAOSWN jYqMP3PkaSXco3ByN4atLaCgkPsIkc+rM/BbB+HeVOPbhkDarAtysbrUZzEIm56UvDsi kxSoPLyAFlj0l4vf5ccCDyJrAJGDlqL5tLlQA/MDuWLn/Vkuln0+LtsfridLkjVoq9OD TrAdeyMMB21b937FL+Ma/kP75Z6hYvmVl3C8OO5x03XDS0lTX8YNQdQV/VxfrDRDt217 tnqw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GAFgiTdwpGDvtNPEo9+dnVRad4u3rIMlxH/kmiggZYk=; fh=PnXphyVJvDQs5mrSJCzFEtEqfGUsRbosrRFT8QARO0o=; b=owS8YQozJyT6vkqodedwHT2os0YFIO5TWXNn/1Mo4YtDuNIfxgcVJgu0tX5up3RAzi Y4uGmlgsfZpXRqd+RiCWDIO0gJ7nA/q1lgV7PM+T771iM6cqBQgPgH50VFUfV1tg6cL3 FJ5CZjhyVFiQ1ErdFlDG18MMQlwABP/fdnCeizTUJQ9W1hxmiPL6A/++rBxtZbKdUp/f K5KyLnACJWLdUvVvpzDfF2L1Y1SF5sKaA7chpMP+kkX2FP2C2KlUkOzaEWZQprp/gh6U RR+5RNacZh22yI3P/G6ajVxXmaGxLC9IS3st4Z/0O+raENDjQX3GcvedyiPahd1h+PD6 rOvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HUxMvAgJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q6-20020a170902bd8600b001cc44f183e3si7298005pls.608.2023.11.20.00.19.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 00:19:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HUxMvAgJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 35B8B805AA1B; Mon, 20 Nov 2023 00:19:10 -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 S231948AbjKTIS6 (ORCPT + 99 others); Mon, 20 Nov 2023 03:18:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229635AbjKTIS5 (ORCPT ); Mon, 20 Nov 2023 03:18:57 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACF17B9; Mon, 20 Nov 2023 00:18:53 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-99bdeae1d0aso549611566b.1; Mon, 20 Nov 2023 00:18:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700468332; x=1701073132; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GAFgiTdwpGDvtNPEo9+dnVRad4u3rIMlxH/kmiggZYk=; b=HUxMvAgJd++mue9ANixlYmInO8YdXDy9RYZynzrLoLn1gdq+lqEocE4Woz4TAd/5+2 RlwXIndH8qj1uAPoN63N3BbtppNDBdVzBWI3K4zV6decyqK/TbeT+6E05rtk6zs0sdwa qbWC/7SJqozde2VDMhLHKJQhg3EYwA3G2RyYnDmtDRJDnSMMjubwbpXbEK/qT2RvjlZl VDVrrglskMCJsfhLUwjGgi0+VPiArto2A5gS4ac1IWJmKFAZLekmw2ruZFPAS9Zxv55c yClkPaStUVHtJvqIsSb35JmrZTxtPkgpqRQ74VF9BpPcBsCtkTCOyIgqpuI8UA6zyC5+ dm+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700468332; x=1701073132; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GAFgiTdwpGDvtNPEo9+dnVRad4u3rIMlxH/kmiggZYk=; b=jg8fIm/sfm9Tgj8hRVbLfcZ9l2mXIAx1deAMjYUyg5QzFidgLrBGYT/jiT/vlq6jM/ 8zU6cg6ePRXOvV0DHvX16DBzLSWyouzIq3vmN7dwOUeYaSfe6cc0E67OPXZwJWPJN5nB 828bTLauV488cjNeXu4ZEB7frpbVAqmMs2DNxN2GXfiOEzfypzeYLkrXuYO2XWqnQqPK UuO1ltE0QS5lz52B74YbRE1Itvuwqg/MsVDJM7/qLIWPyhDfzYObTQoenRhKS1SsKZhd dMxo7nGKkA63r5Ict+Wd9AexaPvI5GOdJs7mMWEsXDch7d5Cyoio3FDNG9bn7Gfoh2dB Zu4A== X-Gm-Message-State: AOJu0Yze91gUMzQFrTj860Z/sBY1BLkYQc3BTQbthcUGClmUzN33iX1k D/ZSO1kCr3PIh1jrmwik1/g= X-Received: by 2002:a17:906:5357:b0:9bf:30e8:5bf9 with SMTP id j23-20020a170906535700b009bf30e85bf9mr4603272ejo.4.1700468331949; Mon, 20 Nov 2023 00:18:51 -0800 (PST) Received: from t14s.fritz.box (p200300d38f2bca00f021423dbbbc0b9b.dip0.t-ipconnect.de. [2003:d3:8f2b:ca00:f021:423d:bbbc:b9b]) by smtp.googlemail.com with ESMTPSA id k18-20020a1709065fd200b009ff8be60791sm355806ejv.210.2023.11.20.00.18.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 00:18:51 -0800 (PST) From: Oliver Sieber To: bagasdotme@gmail.com Cc: alsa-devel@alsa-project.org, broonie@kernel.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org, ollisieber@gmail.com, perex@perex.cz, tiwai@suse.com, tiwai@suse.de Subject: [PATCH] Subject: ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad T14s Gen 2 Date: Mon, 20 Nov 2023 09:18:34 +0100 Message-Id: <20231120081834.125555-1-ollisieber@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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]); Mon, 20 Nov 2023 00:19:10 -0800 (PST) The ThinkPad T14s Gen 2 latop does not have the internal digital microphone connected to the AMD's ACP bridge, but it's advertised via BIOS. The internal microphone is connected to the HDA codec. Use DMI to block the microphone PCM device for this platform. Signed-off-by: Oliver Sieber --- sound/soc/amd/renoir/rn-pci-acp3x.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c index b3812b70f5f9..754e24d55e6f 100644 --- a/sound/soc/amd/renoir/rn-pci-acp3x.c +++ b/sound/soc/amd/renoir/rn-pci-acp3x.c @@ -199,6 +199,13 @@ static const struct dmi_system_id rn_acp_quirk_table[] = { DMI_EXACT_MATCH(DMI_BOARD_NAME, "20NLCTO1WW"), } }, + { + /* Lenovo ThinkPad T14s Gen 2 */ + .matches = { + DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"), + DMI_EXACT_MATCH(DMI_BOARD_NAME, "20XGS1KT02"), + } + }, {} }; -- 2.34.1