From patchwork Fri May 12 17:33:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 681225 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 8784DC77B7C for ; Fri, 12 May 2023 17:37:26 +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 4BEE4E9A; Fri, 12 May 2023 19:36:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4BEE4E9A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1683913044; bh=7rvsQggI1vzNPh1sASp9TWcZniMmY6ecWFuBW3kdHtU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=q/bKJLs65gePgEC2UoZPGterxzc7RRiz+yBCG2U0NRCe852Ixu5NMzkYAAW3LCah3 z/zaAUkNLBXDvcOPCCllRa8Y9wLImKZcb3Pq+FieUir6cu1IquQg3zobCW9dY34Xmx CSo4sQUFsp7p+kT4Leva2jptxUnMUgNI8N8xpw1I= Received: by alsa1.perex.cz (Postfix, from userid 50401) id BD43DF805DA; Fri, 12 May 2023 19:34:15 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 0F8ECF805D2; Fri, 12 May 2023 19:34:15 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 98CD7F805C1; Fri, 12 May 2023 19:34:09 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 76908F8053D for ; Fri, 12 May 2023 19:33:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 76908F8053D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Bj7F0g6p DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683912827; x=1715448827; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=7rvsQggI1vzNPh1sASp9TWcZniMmY6ecWFuBW3kdHtU=; b=Bj7F0g6pyjyIP52jS4oiHXvsaU8tGTsWKItSmIkRFE5EEWFZErTsiV57 P/3+tvIPbLrENRIYEWFN/WXVWTfGN4zJB2ePlFhtAYBQ8gsViUvCTRQ5N 4IfdvLhdhXdcY1aSb75ECRpnQFJ/FNC7uhGYFsK8gj1YVvmpHL1hWZXPY j74AqN5CoP5OC2FmyYtZiC9xsmEaidZRJivQR6Zsu52cjURMNqPQOBXvd ZHo4JJRMq3XfeaxtJAY80HIVxN2idWEuhV20etgRl67cc69GWN9b0UIYy md3SVMrcqSpev8jAYHySeHWl6+bK6YODL3fmmgi6XzdlX9S2ta4uzQeqY w==; X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="340164713" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="340164713" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 10:33:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10708"; a="1030160309" X-IronPort-AV: E=Sophos;i="5.99,269,1677571200"; d="scan'208";a="1030160309" Received: from winkelru-mobl.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.144.249]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2023 10:33:15 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, Bard Liao , Pierre-Louis Bossart , Ranjani Sridharan Subject: [PATCH 3/8] ASoC: Intel: sof_sdw: add quirk for MTL RVP Date: Fri, 12 May 2023 12:33:00 -0500 Message-Id: <20230512173305.65399-4-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230512173305.65399-1-pierre-louis.bossart@linux.intel.com> References: <20230512173305.65399-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: NOYE2NJE6S5BEOOYS4FRFXNJ67A5KQ2S X-Message-ID-Hash: NOYE2NJE6S5BEOOYS4FRFXNJ67A5KQ2S X-MailFrom: pierre-louis.bossart@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Bard Liao We should use RT711_JD2_100K for on board rt711. Signed-off-by: Bard Liao Signed-off-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan --- sound/soc/intel/boards/sof_sdw.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 5ab1df4cc927..0841e28d1256 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -415,6 +415,14 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { }, .driver_data = (void *)(RT711_JD1), }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"), + DMI_MATCH(DMI_PRODUCT_NAME, "Meteor Lake Client Platform"), + }, + .driver_data = (void *)(RT711_JD2_100K), + }, {} };