xref: /openbmc/linux/sound/soc/atmel/Makefile (revision 6b342707)
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
10
11# pdc and dma need to both be built-in if any user of
12# ssc is built-in.
13ifdef CONFIG_SND_ATMEL_SOC_PDC
14obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel-pcm-pdc.o
15endif
16ifdef CONFIG_SND_ATMEL_SOC_DMA
17obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel-pcm-dma.o
18endif
19obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel_ssc_dai.o
20obj-$(CONFIG_SND_ATMEL_SOC_I2S) += snd-soc-atmel-i2s.o
21obj-$(CONFIG_SND_MCHP_SOC_I2S_MCC) += snd-soc-mchp-i2s-mcc.o
22obj-$(CONFIG_SND_MCHP_SOC_SPDIFTX) += snd-soc-mchp-spdiftx.o
23obj-$(CONFIG_SND_MCHP_SOC_SPDIFRX) += snd-soc-mchp-spdifrx.o
24
25# AT91 Machine Support
26snd-soc-sam9g20-wm8731-objs := sam9g20_wm8731.o
27snd-atmel-soc-wm8904-objs := atmel_wm8904.o
28snd-soc-sam9x5-wm8731-objs := sam9x5_wm8731.o
29snd-atmel-soc-classd-objs := atmel-classd.o
30snd-atmel-soc-pdmic-objs := atmel-pdmic.o
31snd-atmel-soc-tse850-pcm5142-objs := tse850-pcm5142.o
32snd-soc-mikroe-proto-objs := mikroe-proto.o
33
34obj-$(CONFIG_SND_AT91_SOC_SAM9G20_WM8731) += snd-soc-sam9g20-wm8731.o
35obj-$(CONFIG_SND_ATMEL_SOC_WM8904) += snd-atmel-soc-wm8904.o
36obj-$(CONFIG_SND_AT91_SOC_SAM9X5_WM8731) += snd-soc-sam9x5-wm8731.o
37obj-$(CONFIG_SND_ATMEL_SOC_CLASSD) += snd-atmel-soc-classd.o
38obj-$(CONFIG_SND_ATMEL_SOC_PDMIC) += snd-atmel-soc-pdmic.o
39obj-$(CONFIG_SND_ATMEL_SOC_TSE850_PCM5142) += snd-atmel-soc-tse850-pcm5142.o
40obj-$(CONFIG_SND_SOC_MIKROE_PROTO) += snd-soc-mikroe-proto.o
41