Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add SoundWire machines for ACP7.0/ACP7.1 sof stack

Merge series from Vijendar Mukunda <Vijendar.Mukunda@amd.com>:

Add SoundWire machines as alternate machines for ACP7.0 & ACP7.1
platforms with the below machine configuration.
Link 0: RT722 codec with three endpoints: Headset, Speaker, and DMIC.

+15
+1
sound/soc/amd/acp/Kconfig
··· 148 148 select SND_SOC_RT1316_SDW 149 149 select SND_SOC_RT715_SDW 150 150 select SND_SOC_RT715_SDCA_SDW 151 + select SND_SOC_RT722_SDCA_SDW 151 152 help 152 153 This option enables SOF sound card support for SoundWire enabled 153 154 AMD platforms along with ACP PDM controller.
+12
sound/soc/amd/acp/amd-acp70-acpi-match.c
··· 155 155 }; 156 156 EXPORT_SYMBOL(snd_soc_acpi_amd_acp70_sdw_machines); 157 157 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 + 158 170 MODULE_DESCRIPTION("AMD ACP7.0 & ACP7.1 tables and support for ACPI enumeration"); 159 171 MODULE_LICENSE("GPL"); 160 172 MODULE_AUTHOR("Vijendar.Mukunda@amd.com");
+1
sound/soc/amd/mach-config.h
··· 27 27 extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp63_sof_sdw_machines[]; 28 28 extern struct snd_soc_acpi_mach snd_soc_acpi_amd_acp70_sof_machines[]; 29 29 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[]; 30 31 31 32 struct config_entry { 32 33 u32 flags;
+1
sound/soc/sof/amd/pci-acp70.c
··· 48 48 49 49 static const struct sof_dev_desc acp70_desc = { 50 50 .machines = snd_soc_acpi_amd_acp70_sof_machines, 51 + .alt_machines = snd_soc_acpi_amd_acp70_sof_sdw_machines, 51 52 .resindex_lpe_base = 0, 52 53 .resindex_pcicfg_base = -1, 53 54 .resindex_imr_base = -1,