Skip to content

Commit 8b04b76

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: amd: acp: add soundwire machine for ACP7.0 and ACP7.1 sof stack
Add SoundWire machine with RT722 multi functional codec support for ACP7.0 and ACP7.1 platforms at sdw link0 for sof stack. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/20250620120942.1168827-2-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3421d46 commit 8b04b76

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

sound/soc/amd/acp/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ config SND_SOC_AMD_SOF_SDW_MACH
148148
select SND_SOC_RT1316_SDW
149149
select SND_SOC_RT715_SDW
150150
select SND_SOC_RT715_SDCA_SDW
151+
select SND_SOC_RT722_SDCA_SDW
151152
help
152153
This option enables SOF sound card support for SoundWire enabled
153154
AMD platforms along with ACP PDM controller.

sound/soc/amd/acp/amd-acp70-acpi-match.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,18 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[] = {
155155
};
156156
EXPORT_SYMBOL(snd_soc_acpi_amd_acp70_sdw_machines);
157157

158+
struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_sdw_machines[] = {
159+
{
160+
.link_mask = BIT(0),
161+
.links = acp70_rt722_only,
162+
.drv_name = "amd_sof_sdw",
163+
.sof_tplg_filename = "sof-acp_7_0-rt722-l0.tplg",
164+
.fw_filename = "sof-acp_7_0.ri",
165+
},
166+
{},
167+
};
168+
EXPORT_SYMBOL(snd_soc_acpi_amd_acp70_sof_sdw_machines);
169+
158170
MODULE_DESCRIPTION("AMD ACP7.0 & ACP7.1 tables and support for ACPI enumeration");
159171
MODULE_LICENSE("GPL");
160172
MODULE_AUTHOR("Vijendar.Mukunda@amd.com");

sound/soc/amd/mach-config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sdw_machines[];
2727
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines[];
2828
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_machines[];
2929
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sdw_machines[];
30+
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_sdw_machines[];
3031

3132
struct config_entry {
3233
u32 flags;

0 commit comments

Comments
 (0)