Skip to content

Commit d4c2d53

Browse files
saba-kareembroonie
authored andcommitted
ASoC: amd: acp: add Kconfig options for acp6.3 based platform driver
ACP6.3 based platform legacy drivers can be built by selecting necessary kernel config option. This patch enables build support of the same. Signed-off-by: Syed Saba Kareem <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 9393bfb commit d4c2d53

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

sound/soc/amd/acp/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,17 @@ config SND_AMD_ASOC_REMBRANDT
5757
Say Y if you want to enable AUDIO on Rembrandt
5858
If unsure select "N".
5959

60+
config SND_AMD_ASOC_ACP63
61+
tristate "AMD ACP ASOC ACP6.3 Support"
62+
select SND_SOC_AMD_ACP_PCM
63+
select SND_SOC_AMD_ACP_I2S
64+
select SND_SOC_AMD_ACP_PDM
65+
depends on X86 && PCI
66+
help
67+
This option enables Acp6.3 I2S support on AMD platform.
68+
Say Y if you want to enable AUDIO on ACP6.3
69+
If unsure select "N".
70+
6071
config SND_SOC_AMD_MACH_COMMON
6172
tristate
6273
depends on X86 && PCI && I2C

sound/soc/amd/acp/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ snd-acp-pci-objs := acp-pci.o
1414
#platform specific driver
1515
snd-acp-renoir-objs := acp-renoir.o
1616
snd-acp-rembrandt-objs := acp-rembrandt.o
17+
snd-acp63-objs := acp63.o
1718

1819
#machine specific driver
1920
snd-acp-mach-objs := acp-mach-common.o
@@ -28,6 +29,7 @@ obj-$(CONFIG_SND_SOC_AMD_ACP_PCI) += snd-acp-pci.o
2829

2930
obj-$(CONFIG_SND_AMD_ASOC_RENOIR) += snd-acp-renoir.o
3031
obj-$(CONFIG_SND_AMD_ASOC_REMBRANDT) += snd-acp-rembrandt.o
32+
obj-$(CONFIG_SND_AMD_ASOC_ACP63) += snd-acp63.o
3133

3234
obj-$(CONFIG_SND_SOC_AMD_MACH_COMMON) += snd-acp-mach.o
3335
obj-$(CONFIG_SND_SOC_AMD_LEGACY_MACH) += snd-acp-legacy-mach.o

0 commit comments

Comments
 (0)