From mboxrd@z Thu Jan 1 00:00:00 1970 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 E298BC433F5 for ; Tue, 30 Nov 2021 14:49:14 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 035F318EB; Tue, 30 Nov 2021 15:48:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 035F318EB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1638283753; bh=l/E9q6V3Pxx/ScE7Yq5tH1t7/MF0MrJX+kETVf0bhBs=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=DrbnzDpdAzWov+c7PrNIWSSA6iL5fZrRUkf+rZn9mj4f7ekNWCvqCKxcgcJLH4Qi2 IGNnrg/u2VZ2tPIOWUsAVcvd6g5atDPNIguLUg54AyZLob3wpFfKCBXwr6IPSqRaJs FCggrtBm+RvhgBeFq0YY9mh1hCNIB5H5QX0opGVM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 70A2FF8020D; Tue, 30 Nov 2021 15:47:35 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 91A88F802E0; Tue, 30 Nov 2021 15:47:32 +0100 (CET) Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3A6ACF80290 for ; Tue, 30 Nov 2021 15:47:23 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3A6ACF80290 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SdPXr9Dk" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 26622CE1A2E; Tue, 30 Nov 2021 14:47:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D482C53FC7; Tue, 30 Nov 2021 14:47:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638283640; bh=l/E9q6V3Pxx/ScE7Yq5tH1t7/MF0MrJX+kETVf0bhBs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SdPXr9DkaJfDHKa9oUhA7xio73rr8X8GHKPV1pgpt2712qg8+7qa9VBsykYCfbHld fE8Ztis6Rg8KXyakwF3Cm6DZczTaBavFutgp3q1LQlwAGjqw2yOi6bR0D7nVTqO8s1 WMu39GckKSuYfPjBes16cAcgw4e/OE7G1EhL93ND1dDVGxZZCGq0vdrxwPJNP753cP lQ6UuMA5sRa4Ng8pt8Pv8owSH+1gMzyTrz0pEX2WCbSP5/9xGIU8xzMwnJu/KLKHak fcGjUYRGmuv7E3CvI+WT4UZSGihWY9ylu9Q6MXerXSYdxLoSq2y5VdgAAuwSdRYaog SMAHIg3Qj0NJw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 5.15 03/68] ASoC: Intel: soc-acpi: add SKU 0AF3 SoundWire configuration Date: Tue, 30 Nov 2021 09:45:59 -0500 Message-Id: <20211130144707.944580-3-sashal@kernel.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211130144707.944580-1-sashal@kernel.org> References: <20211130144707.944580-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Cc: Sasha Levin , libin.yang@intel.com, cezary.rojewski@intel.com, kai.vehmanen@linux.intel.com, Gongjun Song , tiwai@suse.com, yang.jie@linux.intel.com, Pierre-Louis Bossart , Rander Wang , liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org, Mark Brown , Bard Liao , brent.lu@intel.com, vamshi.krishna.gopal@intel.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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" From: Gongjun Song [ Upstream commit a1797d61cb35848432867a5bc294ce43058b5ead ] New product audio hardware configuration is rt714 on link0, two rt1316s on link1 and link2 Signed-off-by: Gongjun Song Reviewed-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Bard Liao Link: https://lore.kernel.org/r/20211105022646.26305-3-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- .../intel/common/soc-acpi-intel-adl-match.c | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/sound/soc/intel/common/soc-acpi-intel-adl-match.c b/sound/soc/intel/common/soc-acpi-intel-adl-match.c index a0f6a69c70386..4ce7859a67d98 100644 --- a/sound/soc/intel/common/soc-acpi-intel-adl-match.c +++ b/sound/soc/intel/common/soc-acpi-intel-adl-match.c @@ -209,6 +209,25 @@ static const struct snd_soc_acpi_link_adr adl_sdca_3_in_1[] = { {} }; +static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link12_rt714_link0[] = { + { + .mask = BIT(1), + .num_adr = ARRAY_SIZE(rt1316_1_group1_adr), + .adr_d = rt1316_1_group1_adr, + }, + { + .mask = BIT(2), + .num_adr = ARRAY_SIZE(rt1316_2_group1_adr), + .adr_d = rt1316_2_group1_adr, + }, + { + .mask = BIT(0), + .num_adr = ARRAY_SIZE(rt714_0_adr), + .adr_d = rt714_0_adr, + }, + {} +}; + static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link2_rt714_link0[] = { { .mask = BIT(2), @@ -321,6 +340,13 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_sdw_machines[] = { .drv_name = "sof_sdw", .sof_tplg_filename = "sof-adl-rt711-l0-rt1316-l13-rt714-l2.tplg", }, + { + .link_mask = 0x7, /* rt714 on link0 & two rt1316s on link1 and link2 */ + .links = adl_sdw_rt1316_link12_rt714_link0, + .drv_name = "sof_sdw", + .sof_fw_filename = "sof-adl.ri", + .sof_tplg_filename = "sof-adl-rt1316-l12-rt714-l0.tplg", + }, { .link_mask = 0x5, /* 2 active links required */ .links = adl_sdw_rt1316_link2_rt714_link0, -- 2.33.0