1 # SPDX-License-Identifier: GPL-2.0
2 # AT91 Platform Support
3 snd-soc-atmel-pcm-pdc-objs
:= atmel-pcm-pdc.o
4 snd-soc-atmel-pcm-dma-objs
:= atmel-pcm-dma.o
5 snd-soc-atmel_ssc_dai-objs
:= atmel_ssc_dai.o
6 snd-soc-atmel-i2s-objs
:= atmel-i2s.o
7 snd-soc-mchp-i2s-mcc-objs
:= mchp-i2s-mcc.o
8 snd-soc-mchp-spdiftx-objs
:= mchp-spdiftx.o
9 snd-soc-mchp-spdifrx-objs
:= mchp-spdifrx.o
11 # pdc and dma need to both be built-in if any user of
13 ifdef CONFIG_SND_ATMEL_SOC_PDC
14 obj-
$(CONFIG_SND_ATMEL_SOC_SSC
) += snd-soc-atmel-pcm-pdc.o
16 ifdef CONFIG_SND_ATMEL_SOC_DMA
17 obj-
$(CONFIG_SND_ATMEL_SOC_SSC
) += snd-soc-atmel-pcm-dma.o
19 obj-
$(CONFIG_SND_ATMEL_SOC_SSC
) += snd-soc-atmel_ssc_dai.o
20 obj-
$(CONFIG_SND_ATMEL_SOC_I2S
) += snd-soc-atmel-i2s.o
21 obj-
$(CONFIG_SND_MCHP_SOC_I2S_MCC
) += snd-soc-mchp-i2s-mcc.o
22 obj-
$(CONFIG_SND_MCHP_SOC_SPDIFTX
) += snd-soc-mchp-spdiftx.o
23 obj-
$(CONFIG_SND_MCHP_SOC_SPDIFRX
) += snd-soc-mchp-spdifrx.o
25 # AT91 Machine Support
26 snd-soc-sam9g20-wm8731-objs
:= sam9g20_wm8731.o
27 snd-atmel-soc-wm8904-objs
:= atmel_wm8904.o
28 snd-soc-sam9x5-wm8731-objs
:= sam9x5_wm8731.o
29 snd-atmel-soc-classd-objs
:= atmel-classd.o
30 snd-atmel-soc-pdmic-objs
:= atmel-pdmic.o
31 snd-atmel-soc-tse850-pcm5142-objs
:= tse850-pcm5142.o
32 snd-soc-mikroe-proto-objs
:= mikroe-proto.o
34 obj-
$(CONFIG_SND_AT91_SOC_SAM9G20_WM8731
) += snd-soc-sam9g20-wm8731.o
35 obj-
$(CONFIG_SND_ATMEL_SOC_WM8904
) += snd-atmel-soc-wm8904.o
36 obj-
$(CONFIG_SND_AT91_SOC_SAM9X5_WM8731
) += snd-soc-sam9x5-wm8731.o
37 obj-
$(CONFIG_SND_ATMEL_SOC_CLASSD
) += snd-atmel-soc-classd.o
38 obj-
$(CONFIG_SND_ATMEL_SOC_PDMIC
) += snd-atmel-soc-pdmic.o
39 obj-
$(CONFIG_SND_ATMEL_SOC_TSE850_PCM5142
) += snd-atmel-soc-tse850-pcm5142.o
40 obj-
$(CONFIG_SND_SOC_MIKROE_PROTO
) += snd-soc-mikroe-proto.o