Commit 2a09cef6 authored by Syed Saba Kareem's avatar Syed Saba Kareem Committed by Mark Brown

ASoC: amd: enable Pink sardine platform machine driver build.

This patch enables Pink Sardine platform machine driver build.
Signed-off-by: default avatarSyed Saba Kareem <Syed.SabaKareem@amd.com>
Reviewed-by: default avatarVijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20220827165657.2343818-14-Syed.SabaKareem@amd.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0c8327c0
...@@ -137,3 +137,14 @@ config SND_SOC_AMD_PS ...@@ -137,3 +137,14 @@ config SND_SOC_AMD_PS
triggered for ACP PCI driver, ACP PDM DMA driver. triggered for ACP PCI driver, ACP PDM DMA driver.
Say m if you have such a device. Say m if you have such a device.
If unsure select "N". If unsure select "N".
config SND_SOC_AMD_PS_MACH
tristate "AMD PINK SARDINE support for DMIC"
select SND_SOC_DMIC
depends on SND_SOC_AMD_PS
help
This option enables machine driver for Pink Sardine 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,6 +2,8 @@ ...@@ -2,6 +2,8 @@
# Pink Sardine platform Support # Pink Sardine platform Support
snd-pci-ps-objs := pci-ps.o snd-pci-ps-objs := pci-ps.o
snd-ps-pdm-dma-objs := ps-pdm-dma.o snd-ps-pdm-dma-objs := ps-pdm-dma.o
snd-soc-ps-mach-objs := ps-mach.o
obj-$(CONFIG_SND_SOC_AMD_PS) += snd-pci-ps.o obj-$(CONFIG_SND_SOC_AMD_PS) += snd-pci-ps.o
obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-pdm-dma.o obj-$(CONFIG_SND_SOC_AMD_PS) += snd-ps-pdm-dma.o
obj-$(CONFIG_SND_SOC_AMD_PS_MACH) += snd-soc-ps-mach.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment