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.

ASoC: amd: acp: Add legacy driver support acp7.2 based platforms

Add pci revision id 0x72 in pci and platform driver to support
acp7.2 based platforms.

Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://patch.msgid.link/20250702094425.155185-2-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Venkata Prasad Potturu and committed by
Mark Brown
a3b0e804 c1d10f4c

+7
+2
sound/soc/amd/acp/acp-legacy-common.c
··· 372 372 break; 373 373 case ACP70_PCI_ID: 374 374 case ACP71_PCI_ID: 375 + case ACP72_PCI_ID: 375 376 acp_pgfsm_stat_reg = ACP70_PGFSM_STATUS; 376 377 acp_pgfsm_ctrl_reg = ACP70_PGFSM_CONTROL; 377 378 break; ··· 574 573 break; 575 574 case ACP70_PCI_ID: 576 575 case ACP71_PCI_ID: 576 + case ACP72_PCI_ID: 577 577 pdm_addr = ACP70_PDM_ADDR; 578 578 check_acp70_config(chip); 579 579 break;
+1
sound/soc/amd/acp/acp-pci.c
··· 153 153 break; 154 154 case 0x70: 155 155 case 0x71: 156 + case 0x72: 156 157 chip->name = "acp_asoc_acp70"; 157 158 chip->rsrc = &acp70_rsrc; 158 159 chip->acp_hw_ops_init = acp70_hw_ops_init;
+2
sound/soc/amd/acp/acp-platform.c
··· 140 140 switch (chip->acp_rev) { 141 141 case ACP70_PCI_ID: 142 142 case ACP71_PCI_ID: 143 + case ACP72_PCI_ID: 143 144 switch (stream->dai_id) { 144 145 case I2S_SP_INSTANCE: 145 146 if (stream->dir == SNDRV_PCM_STREAM_PLAYBACK) ··· 206 205 case ACP63_PCI_ID: 207 206 case ACP70_PCI_ID: 208 207 case ACP71_PCI_ID: 208 + case ACP72_PCI_ID: 209 209 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 210 210 runtime->hw = acp6x_pcm_hardware_playback; 211 211 else
+1
sound/soc/amd/acp/acp70.c
··· 136 136 switch (chip->acp_rev) { 137 137 case ACP70_PCI_ID: 138 138 case ACP71_PCI_ID: 139 + case ACP72_PCI_ID: 139 140 break; 140 141 default: 141 142 dev_err(&pdev->dev, "Un-supported ACP Revision %d\n", chip->acp_rev);
+1
sound/soc/amd/acp/acp_common.h
··· 15 15 #define ACP63_PCI_ID 0x63 16 16 #define ACP70_PCI_ID 0x70 17 17 #define ACP71_PCI_ID 0x71 18 + #define ACP72_PCI_ID 0x72 18 19 19 20 #endif