diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2021-10-14 12:47:10 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-15 16:10:55 +0100 |
commit | 96792fdd77cd19fcf2368e7c19bb8b78557ae425 (patch) | |
tree | 2f48cf2add1f7967c0643920a5d8762044e7923d /sound | |
parent | 34a0094b9ff7b7544591a6841f9b61747033f292 (diff) | |
download | linux-96792fdd77cd19fcf2368e7c19bb8b78557ae425.tar.bz2 |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/amd/Kconfig | 11 | ||||
-rw-r--r-- | sound/soc/amd/vangogh/Makefile | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sound/soc/amd/Kconfig b/sound/soc/amd/Kconfig index a2cb50d09980..d91a9399777c 100644 --- a/sound/soc/amd/Kconfig +++ b/sound/soc/amd/Kconfig @@ -63,3 +63,14 @@ config SND_SOC_AMD_ACP5x By enabling this flag build will trigger for ACP PCI 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". diff --git a/sound/soc/amd/vangogh/Makefile b/sound/soc/amd/vangogh/Makefile index 3353f93dc610..c9e53e04e247 100644 --- a/sound/soc/amd/vangogh/Makefile +++ b/sound/soc/amd/vangogh/Makefile @@ -3,7 +3,9 @@ snd-pci-acp5x-objs := pci-acp5x.o snd-acp5x-i2s-objs := acp5x-i2s.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-acp5x-i2s.o obj-$(CONFIG_SND_SOC_AMD_ACP5x) += snd-acp5x-pcm-dma.o +obj-$(CONFIG_SND_SOC_AMD_VANGOGH_MACH) += snd-soc-acp5x-mach.o |