All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bard Liao <yung-chuan.liao@linux.intel.com>
To: broonie@kernel.org, tiwai@suse.de
Cc: alsa-devel@alsa-project.org,
	pierre-louis.bossart@linux.intel.com, bard.liao@intel.com
Subject: [PATCH 2/9] ASoC: Intel: soc-acpi: add SKU 0AF3 SoundWire configuration
Date: Fri,  5 Nov 2021 10:26:39 +0800	[thread overview]
Message-ID: <20211105022646.26305-3-yung-chuan.liao@linux.intel.com> (raw)
In-Reply-To: <20211105022646.26305-1-yung-chuan.liao@linux.intel.com>

From: Gongjun Song <gongjun.song@intel.com>

New product audio hardware configuration is rt714 on link0,
two rt1316s on link1 and link2

Signed-off-by: Gongjun Song <gongjun.song@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
---
 .../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 06f503452aa5..d8ae94d39d57 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),
@@ -339,6 +358,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.17.1


  parent reply	other threads:[~2021-11-05  2:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-05  2:26 [PATCH 0/9] ASoC: Ietel: Add Dell ADL products support Bard Liao
2021-11-05  2:26 ` [PATCH 1/9] ASoC: Intel: sof_sdw: Add support for SKU 0AF3 product Bard Liao
2021-11-05  2:26 ` Bard Liao [this message]
2021-11-05  2:26 ` [PATCH 3/9] ASoC: Intel: sof_sdw: Add support for SKU 0B00 and 0B01 products Bard Liao
2021-11-05  2:26 ` [PATCH 4/9] ASoC: Intel: sof_sdw: Add support for SKU 0B11 product Bard Liao
2021-11-05  2:26 ` [PATCH 5/9] ASoC: Intel: sof_sdw: Add support for SKU 0B13 product Bard Liao
2021-11-05  2:26 ` [PATCH 6/9] ASoC: Intel: soc-acpi: add SKU 0B13 SoundWire configuration Bard Liao
2021-11-05  2:26 ` [PATCH 7/9] ASoC: Intel: sof_sdw: Add support for SKU 0B29 product Bard Liao
2021-11-05  2:26 ` [PATCH 8/9] ASoC: Intel: soc-acpi: add SKU 0B29 SoundWire configuration Bard Liao
2021-11-05  2:26 ` [PATCH 9/9] ASoC: Intel: sof_sdw: Add support for SKU 0B12 product Bard Liao
2021-11-05 20:14 ` [PATCH 0/9] ASoC: Ietel: Add Dell ADL products support Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211105022646.26305-3-yung-chuan.liao@linux.intel.com \
    --to=yung-chuan.liao@linux.intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=bard.liao@intel.com \
    --cc=broonie@kernel.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.