mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-21 06:50:25 +00:00
ASoC: Intel: soc-acpi: add tables for Dell SKU 0B34
Yet another permutation of devices. Closes: https://github.com/thesofproject/linux/issues/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>
This commit is contained in:
parent
3daf02819a
commit
b62a1a839b
1 changed files with 29 additions and 0 deletions
|
@ -133,6 +133,15 @@ static const struct snd_soc_acpi_adr_device rt1316_1_group2_adr[] = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct snd_soc_acpi_adr_device rt1316_1_single_adr[] = {
|
||||||
|
{
|
||||||
|
.adr = 0x000130025D131601ull,
|
||||||
|
.num_endpoints = 1,
|
||||||
|
.endpoints = &single_endpoint,
|
||||||
|
.name_prefix = "rt1316-1"
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
static const struct snd_soc_acpi_adr_device rt1316_2_single_adr[] = {
|
static const struct snd_soc_acpi_adr_device rt1316_2_single_adr[] = {
|
||||||
{
|
{
|
||||||
.adr = 0x000230025D131601ull,
|
.adr = 0x000230025D131601ull,
|
||||||
|
@ -312,6 +321,20 @@ static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link12_rt714_link0[] =
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link1_rt714_link0[] = {
|
||||||
|
{
|
||||||
|
.mask = BIT(1),
|
||||||
|
.num_adr = ARRAY_SIZE(rt1316_1_single_adr),
|
||||||
|
.adr_d = rt1316_1_single_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_link3[] = {
|
static const struct snd_soc_acpi_link_adr adl_sdw_rt1316_link2_rt714_link3[] = {
|
||||||
{
|
{
|
||||||
.mask = BIT(2),
|
.mask = BIT(2),
|
||||||
|
@ -620,6 +643,12 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_adl_sdw_machines[] = {
|
||||||
.drv_name = "sof_sdw",
|
.drv_name = "sof_sdw",
|
||||||
.sof_tplg_filename = "sof-adl-rt1316-l2-mono-rt714-l3.tplg",
|
.sof_tplg_filename = "sof-adl-rt1316-l2-mono-rt714-l3.tplg",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.link_mask = 0x3, /* rt1316 on link1 & rt714 on link0 */
|
||||||
|
.links = adl_sdw_rt1316_link1_rt714_link0,
|
||||||
|
.drv_name = "sof_sdw",
|
||||||
|
.sof_tplg_filename = "sof-adl-rt1316-l1-mono-rt714-l0.tplg",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.link_mask = 0x7, /* rt714 on link0 & two rt1316s on link1 and link2 */
|
.link_mask = 0x7, /* rt714 on link0 & two rt1316s on link1 and link2 */
|
||||||
.links = adl_sdw_rt1316_link12_rt714_link0,
|
.links = adl_sdw_rt1316_link12_rt714_link0,
|
||||||
|
|
Loading…
Add table
Reference in a new issue