Skip to content

Commit

Permalink
ASoC: amd: enable Yellow Carp platform machine driver build
Browse files Browse the repository at this point in the history
This patch enables Yellow Carp platform machine driver build.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20211018112044.1705805-14-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Vijendar Mukunda authored and Mark Brown committed Oct 18, 2021
1 parent fa99148 commit a80d7ed
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sound/soc/amd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,14 @@ config SND_SOC_AMD_ACP6x
triggered for ACP PCI driver, ACP PDM DMA driver.
Say m if you have such a device.
If unsure select "N".

config SND_SOC_AMD_YC_MACH
tristate "AMD YC support for DMIC"
select SND_SOC_DMIC
depends on SND_SOC_AMD_ACP6x
help
This option enables machine driver for Yellow Carp platform
using dmic. ACP IP has PDM Decoder block with DMA controller.
DMIC can be connected directly to ACP IP.
Say m if you have such a device.
If unsure select "N".
2 changes: 2 additions & 0 deletions sound/soc/amd/yc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Yellow Carp platform Support
snd-pci-acp6x-objs := pci-acp6x.o
snd-acp6x-pdm-dma-objs := acp6x-pdm-dma.o
snd-soc-acp6x-mach-objs := acp6x-mach.o

obj-$(CONFIG_SND_SOC_AMD_ACP6x) += snd-pci-acp6x.o
obj-$(CONFIG_SND_SOC_AMD_ACP6x) += snd-acp6x-pdm-dma.o
obj-$(CONFIG_SND_SOC_AMD_YC_MACH) += snd-soc-acp6x-mach.o

0 comments on commit a80d7ed

Please sign in to comment.