Skip to content

Commit bb98b59

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: amd: Add acpi machine id for acp6.3 version based platform
Add acpi machine id for ACP6.3 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> Link: https://lore.kernel.org/r/20231020062822.3913760-1-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 18562fc commit bb98b59

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

sound/soc/amd/acp-config.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,4 +263,16 @@ struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines[] = {
263263
};
264264
EXPORT_SYMBOL(snd_soc_acpi_amd_rmb_sof_machines);
265265

266+
struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_machines[] = {
267+
{
268+
.id = "AMDI1019",
269+
.drv_name = "acp63-dsp",
270+
.pdata = &acp_quirk_data,
271+
.fw_filename = "sof-acp_6_3.ri",
272+
.sof_tplg_filename = "sof-acp_6_3.tplg",
273+
},
274+
{},
275+
};
276+
EXPORT_SYMBOL(snd_soc_acpi_amd_acp63_sof_machines);
277+
266278
MODULE_LICENSE("Dual BSD/GPL");

sound/soc/amd/mach-config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_sof_machines[];
2222
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_rmb_sof_machines[];
2323
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_vangogh_sof_machines[];
24+
extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_machines[];
2425

2526
struct config_entry {
2627
u32 flags;

0 commit comments

Comments
 (0)