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