Skip to content

Commit 0df24f3

Browse files
Venkata-Prasad-Potturubroonie
authored andcommitted
ASoC: amd: acp: Add SoundWire legacy machine driver support for acp7.2 platform
Add SoundWire legacy machine driver support for acp7.2 platform. Signed-off-by: Venkata Prasad Potturu <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 60e5b24 commit 0df24f3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

sound/soc/amd/acp/acp-sdw-legacy-mach.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ static int create_sdw_dailink(struct snd_soc_card *card,
158158
break;
159159
case ACP70_PCI_REV:
160160
case ACP71_PCI_REV:
161+
case ACP72_PCI_REV:
161162
ret = get_acp70_cpu_pin_id(ffs(soc_end->link_mask - 1),
162163
*be_id, &cpu_pin_id, dev);
163164
if (ret)
@@ -264,6 +265,7 @@ static int create_sdw_dailinks(struct snd_soc_card *card,
264265
case ACP63_PCI_REV:
265266
case ACP70_PCI_REV:
266267
case ACP71_PCI_REV:
268+
case ACP72_PCI_REV:
267269
sdw_platform_component->name = "amd_ps_sdw_dma.0";
268270
break;
269271
default:
@@ -311,6 +313,7 @@ static int create_dmic_dailinks(struct snd_soc_card *card,
311313
case ACP63_PCI_REV:
312314
case ACP70_PCI_REV:
313315
case ACP71_PCI_REV:
316+
case ACP72_PCI_REV:
314317
pdm_cpu->name = "acp_ps_pdm_dma.0";
315318
pdm_platform->name = "acp_ps_pdm_dma.0";
316319
break;

sound/soc/amd/acp/soc_amd_sdw_common.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#define ACP63_PCI_REV 0x63
2222
#define ACP70_PCI_REV 0x70
2323
#define ACP71_PCI_REV 0x71
24+
#define ACP72_PCI_REV 0x72
25+
2426
#define SOC_JACK_JDSRC(quirk) ((quirk) & GENMASK(3, 0))
2527
#define ASOC_SDW_FOUR_SPK BIT(4)
2628
#define ASOC_SDW_ACP_DMIC BIT(5)

0 commit comments

Comments
 (0)