Skip to content

Commit

Permalink
ASoC: amd: Add acpi machine id for acp7.0 version based platform
Browse files Browse the repository at this point in the history
Add acpi machine id for ACP7.0 version based platform and configure
driver data to enable SOF sound card support on newer boards.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://patch.msgid.link/20240823053739.465187-2-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Vijendar Mukunda authored and Mark Brown committed Aug 23, 2024
1 parent ca39fab commit e17de78
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sound/soc/amd/acp-config.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,5 +321,17 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_machines[] = {
};
EXPORT_SYMBOL(snd_soc_acpi_amd_acp63_sof_machines);

struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_machines[] = {
{
.id = "AMDI1010",
.drv_name = "acp70-dsp",
.pdata = &acp_quirk_data,
.fw_filename = "sof-acp_7_0.ri",
.sof_tplg_filename = "sof-acp_7_0.tplg",
},
{},
};
EXPORT_SYMBOL(snd_soc_acpi_amd_acp70_sof_machines);

MODULE_DESCRIPTION("AMD ACP Machine Configuration Module");
MODULE_LICENSE("Dual BSD/GPL");
1 change: 1 addition & 0 deletions sound/soc/amd/mach-config.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ extern struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_vangogh_sof_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines[];
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_machines[];

struct config_entry {
u32 flags;
Expand Down

0 comments on commit e17de78

Please sign in to comment.