1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Atmel System-on-Chip"
6 Say Y or M if you want to add support for codecs attached to
7 the ATMEL SSC interface. You will also need
8 to select the audio interfaces to support below.
12 config SND_ATMEL_SOC_PDC
15 default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m
16 default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y)
18 config SND_ATMEL_SOC_SSC_PDC
21 config SND_ATMEL_SOC_DMA
23 select SND_SOC_GENERIC_DMAENGINE_PCM
24 default m if SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=m
25 default y if SND_ATMEL_SOC_SSC_DMA=y || (SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=y)
27 config SND_ATMEL_SOC_SSC_DMA
30 config SND_ATMEL_SOC_SSC
32 default y if SND_ATMEL_SOC_SSC_DMA=y || SND_ATMEL_SOC_SSC_PDC=y
33 default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m
35 config SND_AT91_SOC_SAM9G20_WM8731
36 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
37 depends on ARCH_AT91 || COMPILE_TEST
38 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
39 select SND_ATMEL_SOC_SSC_PDC
42 Say Y if you want to add support for SoC audio on WM8731-based
43 AT91sam9g20 evaluation board.
45 config SND_ATMEL_SOC_WM8904
46 tristate "Atmel ASoC driver for boards using WM8904 codec"
47 depends on ARCH_AT91 || COMPILE_TEST
48 depends on ATMEL_SSC && I2C
49 select SND_ATMEL_SOC_SSC_DMA
52 Say Y if you want to add support for Atmel ASoC driver for boards using
55 config SND_AT91_SOC_SAM9X5_WM8731
56 tristate "SoC Audio support for WM8731-based at91sam9x5 board"
57 depends on ARCH_AT91 || COMPILE_TEST
58 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
59 select SND_ATMEL_SOC_SSC_DMA
62 Say Y if you want to add support for audio SoC on an
63 at91sam9x5 based board that is using WM8731 codec.
65 config SND_ATMEL_SOC_CLASSD
66 tristate "Atmel ASoC driver for boards using CLASSD"
67 depends on ARCH_AT91 || COMPILE_TEST
68 select SND_SOC_GENERIC_DMAENGINE_PCM
71 Say Y if you want to add support for Atmel ASoC driver for boards using
74 config SND_ATMEL_SOC_PDMIC
75 tristate "Atmel ASoC driver for boards using PDMIC"
76 depends on OF && (ARCH_AT91 || COMPILE_TEST)
77 select SND_SOC_GENERIC_DMAENGINE_PCM
80 Say Y if you want to add support for Atmel ASoC driver for boards using
83 config SND_ATMEL_SOC_TSE850_PCM5142
84 tristate "ASoC driver for the Axentia TSE-850"
85 depends on ARCH_AT91 && OF
86 depends on ATMEL_SSC && I2C
87 select SND_ATMEL_SOC_SSC_DMA
88 select SND_SOC_PCM512x_I2C
90 Say Y if you want to add support for the ASoC driver for the
91 Axentia TSE-850 with a PCM5142 codec.
93 config SND_ATMEL_SOC_I2S
94 tristate "Atmel ASoC driver for boards using I2S"
95 depends on OF && (ARCH_AT91 || COMPILE_TEST)
96 select SND_SOC_GENERIC_DMAENGINE_PCM
99 Say Y or M if you want to add support for Atmel ASoc driver for boards
102 config SND_SOC_MIKROE_PROTO
103 tristate "Support for Mikroe-PROTO board"
105 depends on SND_SOC_I2C_AND_SPI
106 select SND_SOC_WM8731
108 Say Y or M if you want to add support for MikroElektronika PROTO Audio
109 Board. This board contains the WM8731 codec, which can be configured
110 using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins.
111 Both playback and capture are supported.
113 config SND_MCHP_SOC_I2S_MCC
114 tristate "Microchip ASoC driver for boards using I2S MCC"
115 depends on OF && (ARCH_AT91 || COMPILE_TEST)
116 select SND_SOC_GENERIC_DMAENGINE_PCM
119 Say Y or M if you want to add support for I2S Multi-Channel ASoC
120 driver on the following Microchip platforms:
123 The I2SMCC complies with the Inter-IC Sound (I2S) bus specification
124 and supports a Time Division Multiplexed (TDM) interface with
125 external multi-channel audio codecs.