xref: /linux/sound/soc/atmel/Makefile (revision 33e02dc69afbd8f1b85a51d74d72f139ba4ca623)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
26c742509SSedji Gaouaou# AT91 Platform Support
3*907cb79dSTakashi Iwaisnd-soc-atmel-pcm-pdc-y := atmel-pcm-pdc.o
4*907cb79dSTakashi Iwaisnd-soc-atmel-pcm-dma-y := atmel-pcm-dma.o
5*907cb79dSTakashi Iwaisnd-soc-atmel_ssc_dai-y := atmel_ssc_dai.o
6*907cb79dSTakashi Iwaisnd-soc-atmel-i2s-y := atmel-i2s.o
7*907cb79dSTakashi Iwaisnd-soc-mchp-i2s-mcc-y := mchp-i2s-mcc.o
8*907cb79dSTakashi Iwaisnd-soc-mchp-spdiftx-y := mchp-spdiftx.o
9*907cb79dSTakashi Iwaisnd-soc-mchp-spdifrx-y := mchp-spdifrx.o
10*907cb79dSTakashi Iwaisnd-soc-mchp-pdmc-y := mchp-pdmc.o
116c742509SSedji Gaouaou
129437bfdaSArnd Bergmann# pdc and dma need to both be built-in if any user of
139437bfdaSArnd Bergmann# ssc is built-in.
149437bfdaSArnd Bergmannifdef CONFIG_SND_ATMEL_SOC_PDC
159437bfdaSArnd Bergmannobj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel-pcm-pdc.o
169437bfdaSArnd Bergmannendif
179437bfdaSArnd Bergmannifdef CONFIG_SND_ATMEL_SOC_DMA
189437bfdaSArnd Bergmannobj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel-pcm-dma.o
199437bfdaSArnd Bergmannendif
206c742509SSedji Gaouaouobj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel_ssc_dai.o
21b543e467SCyrille Pitchenobj-$(CONFIG_SND_ATMEL_SOC_I2S) += snd-soc-atmel-i2s.o
22b87d37d0SCodrin Ciubotariuobj-$(CONFIG_SND_MCHP_SOC_I2S_MCC) += snd-soc-mchp-i2s-mcc.o
2306ca24e9SCodrin Ciubotariuobj-$(CONFIG_SND_MCHP_SOC_SPDIFTX) += snd-soc-mchp-spdiftx.o
24ef265c55SCodrin Ciubotariuobj-$(CONFIG_SND_MCHP_SOC_SPDIFRX) += snd-soc-mchp-spdifrx.o
2550291652SCodrin Ciubotariuobj-$(CONFIG_SND_MCHP_SOC_PDMC) += snd-soc-mchp-pdmc.o
266c742509SSedji Gaouaou
276c742509SSedji Gaouaou# AT91 Machine Support
28*907cb79dSTakashi Iwaisnd-soc-sam9g20-wm8731-y := sam9g20_wm8731.o
29*907cb79dSTakashi Iwaisnd-atmel-soc-wm8904-y := atmel_wm8904.o
30*907cb79dSTakashi Iwaisnd-soc-sam9x5-wm8731-y := sam9x5_wm8731.o
31*907cb79dSTakashi Iwaisnd-atmel-soc-classd-y := atmel-classd.o
32*907cb79dSTakashi Iwaisnd-atmel-soc-pdmic-y := atmel-pdmic.o
33*907cb79dSTakashi Iwaisnd-atmel-soc-tse850-pcm5142-y := tse850-pcm5142.o
34*907cb79dSTakashi Iwaisnd-soc-mikroe-proto-y := mikroe-proto.o
356c742509SSedji Gaouaou
366c742509SSedji Gaouaouobj-$(CONFIG_SND_AT91_SOC_SAM9G20_WM8731) += snd-soc-sam9g20-wm8731.o
3752f19b14SBo Shenobj-$(CONFIG_SND_ATMEL_SOC_WM8904) += snd-atmel-soc-wm8904.o
38fdbcb3cbSNicolas Ferreobj-$(CONFIG_SND_AT91_SOC_SAM9X5_WM8731) += snd-soc-sam9x5-wm8731.o
39e0a25b6dSSongjun Wuobj-$(CONFIG_SND_ATMEL_SOC_CLASSD) += snd-atmel-soc-classd.o
40a7664ab2SSongjun Wuobj-$(CONFIG_SND_ATMEL_SOC_PDMIC) += snd-atmel-soc-pdmic.o
41aa431124SPeter Rosinobj-$(CONFIG_SND_ATMEL_SOC_TSE850_PCM5142) += snd-atmel-soc-tse850-pcm5142.o
42a45f8853SCodrin Ciubotariuobj-$(CONFIG_SND_SOC_MIKROE_PROTO) += snd-soc-mikroe-proto.o
43