1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

ASoC: amd: enable vangogh platform machine driver build

Enable vangogh platform machine driver build.

Signed-off-by: VIjendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20211014071714.836410-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Vijendar Mukunda 2021-10-14 12:47:10 +05:30 committed by Mark Brown
parent 34a0094b9f
commit 96792fdd77
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 13 additions and 0 deletions

View file

@ -63,3 +63,14 @@ config SND_SOC_AMD_ACP5x
By enabling this flag build will trigger for ACP PCI driver, By enabling this flag build will trigger for ACP PCI driver,
ACP DMA driver, CPU DAI driver. ACP DMA driver, CPU DAI driver.
config SND_SOC_AMD_VANGOGH_MACH
tristate "AMD Vangogh support for NAU8821 CS35L41"
select SND_SOC_NAU8821
select SND_SOC_CS35L41_SPI
depends on SND_SOC_AMD_ACP5x && I2C
help
This option enables machine driver for Vangogh platform
using NAU8821 and CS35L41 codecs.
Say m if you have such a device.
If unsure select "N".

View file

@ -3,7 +3,9 @@
snd-pci-acp5x-objs := pci-acp5x.o snd-pci-acp5x-objs := pci-acp5x.o
snd-acp5x-i2s-objs := acp5x-i2s.o snd-acp5x-i2s-objs := acp5x-i2s.o
snd-acp5x-pcm-dma-objs := acp5x-pcm-dma.o snd-acp5x-pcm-dma-objs := acp5x-pcm-dma.o
snd-soc-acp5x-mach-objs := acp5x-mach.o
obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-pci-acp5x.o obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-pci-acp5x.o
obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-acp5x-i2s.o obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-acp5x-i2s.o
obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-acp5x-pcm-dma.o obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-acp5x-pcm-dma.o
obj-$(CONFIG_SND_SOC_AMD_VANGOGH_MACH) += snd-soc-acp5x-mach.o