Skip to content

Commit c75003e

Browse files
committed
ASoC: Intel: soc-acpi: add tables for Dell SKU 0B34
jira LE-1907 Rebuild_History Non-Buildable kernel-5.14.0-284.30.1.el9_2 commit-author Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> commit b62a1a8 Yet another permutation of devices. Closes: thesofproject/linux#4399 Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20230602202225.249209-18-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> (cherry picked from commit b62a1a8) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
1 parent c210b9b commit c75003e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

sound/soc/intel/common/soc-acpi-intel-adl-match.c

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ static const struct snd_soc_acpi_adr_device rt1316_1_group2_adr[] = {
133133
}
134134
};
135135

136+
static const struct snd_soc_acpi_adr_device rt1316_1_single_adr[] = {
137+
{
138+
.adr = 0x000130025D131601ull,
139+
.num_endpoints = 1,
140+
.endpoints = &single_endpoint,
141+
.name_prefix = "rt1316-1"
142+
}
143+
};
144+
136145
static const struct snd_soc_acpi_adr_device rt1316_2_single_adr[] = {
137146
{
138147
.adr = 0x000230025D131601ull,
@@ -312,6 +321,20 @@ static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link12_rt714_link0[] =
312321
{}
313322
};
314323

324+
static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link1_rt714_link0[] = {
325+
{
326+
.mask = BIT(1),
327+
.num_adr = ARRAY_SIZE(rt1316_1_single_adr),
328+
.adr_d = rt1316_1_single_adr,
329+
},
330+
{
331+
.mask = BIT(0),
332+
.num_adr = ARRAY_SIZE(rt714_0_adr),
333+
.adr_d = rt714_0_adr,
334+
},
335+
{}
336+
};
337+
315338
static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link2_rt714_link3[] = {
316339
{
317340
.mask = BIT(2),
@@ -582,6 +605,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_sdw_machines[] = {
582605
.drv_name = "sof_sdw",
583606
.sof_tplg_filename = "sof-adl-rt1316-l2-mono-rt714-l3.tplg",
584607
},
608+
{
609+
.link_mask = 0x3, /* rt1316 on link1 & rt714 on link0 */
610+
.links = adl_sdw_rt1316_link1_rt714_link0,
611+
.drv_name = "sof_sdw",
612+
.sof_tplg_filename = "sof-adl-rt1316-l1-mono-rt714-l0.tplg",
613+
},
585614
{
586615
.link_mask = 0x7, /* rt714 on link0 & two rt1316s on link1 and link2 */
587616
.links = adl_sdw_rt1316_link12_rt714_link0,

0 commit comments

Comments
 (0)