xref: /openbmc/linux/sound/soc/atmel/Makefile (revision 7559e757)
1# SPDX-License-Identifier: GPL-2.0
2# AT91 Platform Support
3snd-soc-atmel-pcm-pdc-objs := atmel-pcm-pdc.o
4snd-soc-atmel-pcm-dma-objs := atmel-pcm-dma.o
5snd-soc-atmel_ssc_dai-objs := atmel_ssc_dai.o
6snd-soc-atmel-i2s-objs := atmel-i2s.o
7snd-soc-mchp-i2s-mcc-objs := mchp-i2s-mcc.o
8snd-soc-mchp-spdiftx-objs := mchp-spdiftx.o
9snd-soc-mchp-spdifrx-objs := mchp-spdifrx.o
10snd-soc-mchp-pdmc-objs := 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-objs := sam9g20_wm8731.o
29snd-atmel-soc-wm8904-objs := atmel_wm8904.o
30snd-soc-sam9x5-wm8731-objs := sam9x5_wm8731.o
31snd-atmel-soc-classd-objs := atmel-classd.o
32snd-atmel-soc-pdmic-objs := atmel-pdmic.o
33snd-atmel-soc-tse850-pcm5142-objs := tse850-pcm5142.o
34snd-soc-mikroe-proto-objs := 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