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