From patchwork Fri Jun 2 20:22:24 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: 688242 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 B9B4FC7EE24 for ; Fri, 2 Jun 2023 20:30:59 +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 CAFA6950; Fri, 2 Jun 2023 22:30:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CAFA6950 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1685737852; bh=VzQ74kUPgWN7tlEyQZcJ78siTseTGGk4PRs0aC8ody8=; 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=HVhS1lGZxZve2M6HvRamQh4jltWfb/WIvqyNZs05Nwn0yjc/hcpkkXXu23YChv3Qn T3qkYR03ApGOFeze0LAgYaT8N7xx1fcabcAQqg9Qi1OXoKYRGdueqli1sivC4J0Wq2 IQ7R5v9+8MdRwADVMBSxh9/gio5kJgrg85CNKLWk= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4111CF80693; Fri, 2 Jun 2023 22:24:37 +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 5DC75F80695; Fri, 2 Jun 2023 22:24:37 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E9D1FF80630; Fri, 2 Jun 2023 22:24:10 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 53756F80557 for ; Fri, 2 Jun 2023 22:23:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 53756F80557 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=NUZhq+tD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685737398; x=1717273398; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VzQ74kUPgWN7tlEyQZcJ78siTseTGGk4PRs0aC8ody8=; b=NUZhq+tDC6dAbpFsoOFKsSJhE5qlBY82ypwV/LIowquAE8xpOQPDel7T 0Ab0k0OYw/ZhNAI65b8ftk2UcHJk48nQyibPNzHPWygHWOcHcOX+36GOM 6WjL5sFZFpjjF6fEjB+oMz9cCYDauI+IRdN86f6FUzB3SmEPlIH4VqGaL 5VGQ/9x7F6SYl8Ny1dWkPwCgF6OASaxOV37IGSbYy/iid6eS3YbDdu8HO 2CgcduRZAwIdRQXJHEs1XxqQlsXnfY5vfpY8I0QMrgEOmh+AgRNHbhmbA 9geqL4IPX0vDfuEeoOopbg2gvpw3UlANws9UV+4hi3UyjHtBXbUvu7dTu w==; X-IronPort-AV: E=McAfee;i="6600,9927,10729"; a="354811353" X-IronPort-AV: E=Sophos;i="6.00,214,1681196400"; d="scan'208";a="354811353" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2023 13:23:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10729"; a="773020061" X-IronPort-AV: E=Sophos;i="6.00,214,1681196400"; d="scan'208";a="773020061" Received: from clatorre-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.190.110]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2023 13:23:05 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, Uday M Bhat , Ranjani Sridharan , Bard Liao , Yong Zhi , Pierre-Louis Bossart Subject: [PATCH 27/28] ASoC: Intel: sof_sdw: Add support for Rex soundwire Date: Fri, 2 Jun 2023 15:22:24 -0500 Message-Id: <20230602202225.249209-28-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230602202225.249209-1-pierre-louis.bossart@linux.intel.com> References: <20230602202225.249209-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: WHXS2K2SHBBBNDU2OELOV45YCBXLC7NU X-Message-ID-Hash: WHXS2K2SHBBBNDU2OELOV45YCBXLC7NU 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: Uday M Bhat Add rex entry in the soundwire quirk table Reviewed-by: Ranjani Sridharan Signed-off-by: Bard Liao Signed-off-by: Yong Zhi Signed-off-by: Uday M Bhat Signed-off-by: Pierre-Louis Bossart --- 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 6caf598c7aeb..d942696b36cd 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -461,6 +461,14 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { }, .driver_data = (void *)(RT711_JD2_100K), }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Google"), + DMI_MATCH(DMI_PRODUCT_NAME, "Rex"), + }, + .driver_data = (void *)(SOF_SDW_PCH_DMIC), + }, /* LunarLake devices */ { .callback = sof_sdw_quirk_cb,