blob: 64f86f0b87e5ae0ea6ef2a39cd89141b22681918 [file] [log] [blame]
Sedji Gaouaou6c742502008-10-03 16:57:50 +02001config SND_ATMEL_SOC
2 tristate "SoC Audio for the Atmel System-on-Chip"
Joachim Eastwood153f5a12012-12-08 14:23:22 +01003 depends on HAS_IOMEM
Sedji Gaouaou6c742502008-10-03 16:57:50 +02004 help
5 Say Y or M if you want to add support for codecs attached to
6 the ATMEL SSC interface. You will also need
7 to select the audio interfaces to support below.
8
Alexandre Bellonifb67cdf2015-05-26 00:04:18 +02009if SND_ATMEL_SOC
10
Bo Shen92dfa612012-11-28 11:46:12 +080011config SND_ATMEL_SOC_PDC
Alexandre Belloni9cf08a62015-06-11 11:06:08 +020012 tristate
Sudip Mukherjee8d7d1102016-06-05 19:00:21 +010013 depends on HAS_DMA
Alexandre Belloni061981ff2015-06-11 11:06:09 +020014 default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m
15 default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y)
16
17config SND_ATMEL_SOC_SSC_PDC
18 tristate
Bo Shen92dfa612012-11-28 11:46:12 +080019
Bo Shen3951e4a2012-11-28 11:46:13 +080020config SND_ATMEL_SOC_DMA
Alexandre Belloni9cf08a62015-06-11 11:06:08 +020021 tristate
Bo Shen95e0e072013-07-03 16:38:00 +080022 select SND_SOC_GENERIC_DMAENGINE_PCM
Alexandre Belloni061981ff2015-06-11 11:06:09 +020023 default m if SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=m
24 default y if SND_ATMEL_SOC_SSC_DMA=y || (SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=y)
25
26config SND_ATMEL_SOC_SSC_DMA
27 tristate
Bo Shen3951e4a2012-11-28 11:46:13 +080028
Sedji Gaouaou6c742502008-10-03 16:57:50 +020029config SND_ATMEL_SOC_SSC
30 tristate
Alexandre Belloni061981ff2015-06-11 11:06:09 +020031 default y if SND_ATMEL_SOC_SSC_DMA=y || SND_ATMEL_SOC_SSC_PDC=y
32 default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m
Sedji Gaouaou6c742502008-10-03 16:57:50 +020033
34config SND_AT91_SOC_SAM9G20_WM8731
35 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
Lars-Peter Clausenada602b2015-04-11 11:16:19 +020036 depends on ARCH_AT91 || COMPILE_TEST
Alexandre Bellonifb67cdf2015-05-26 00:04:18 +020037 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
Alexandre Belloni061981ff2015-06-11 11:06:09 +020038 select SND_ATMEL_SOC_SSC_PDC
Sedji Gaouaou6c742502008-10-03 16:57:50 +020039 select SND_SOC_WM8731
40 help
41 Say Y if you want to add support for SoC audio on WM8731-based
42 AT91sam9g20 evaluation board.
43
Bo Shen52f19b12013-07-19 17:42:57 +080044config SND_ATMEL_SOC_WM8904
45 tristate "Atmel ASoC driver for boards using WM8904 codec"
Lars-Peter Clausenada602b2015-04-11 11:16:19 +020046 depends on ARCH_AT91 || COMPILE_TEST
Alexandre Bellonifb67cdf2015-05-26 00:04:18 +020047 depends on ATMEL_SSC && I2C
Alexandre Belloni061981ff2015-06-11 11:06:09 +020048 select SND_ATMEL_SOC_SSC_DMA
Bo Shen52f19b12013-07-19 17:42:57 +080049 select SND_SOC_WM8904
50 help
51 Say Y if you want to add support for Atmel ASoC driver for boards using
52 WM8904 codec.
53
Nicolas Ferrefdbcb3c2013-07-30 12:32:03 +020054config SND_AT91_SOC_SAM9X5_WM8731
55 tristate "SoC Audio support for WM8731-based at91sam9x5 board"
Lars-Peter Clausenada602b2015-04-11 11:16:19 +020056 depends on ARCH_AT91 || COMPILE_TEST
Alexandre Bellonifb67cdf2015-05-26 00:04:18 +020057 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
Alexandre Belloni061981ff2015-06-11 11:06:09 +020058 select SND_ATMEL_SOC_SSC_DMA
Nicolas Ferrefdbcb3c2013-07-30 12:32:03 +020059 select SND_SOC_WM8731
60 help
61 Say Y if you want to add support for audio SoC on an
62 at91sam9x5 based board that is using WM8731 codec.
Songjun Wue0a25b62015-10-08 18:13:31 +080063
64config SND_ATMEL_SOC_CLASSD
65 tristate "Atmel ASoC driver for boards using CLASSD"
66 depends on ARCH_AT91 || COMPILE_TEST
Alexandre Belloni0f0be402017-12-08 15:18:53 +010067 select SND_SOC_GENERIC_DMAENGINE_PCM
Songjun Wue0a25b62015-10-08 18:13:31 +080068 select REGMAP_MMIO
69 help
70 Say Y if you want to add support for Atmel ASoC driver for boards using
71 CLASSD.
Songjun Wua7664ab2015-12-17 17:49:59 +080072
73config SND_ATMEL_SOC_PDMIC
74 tristate "Atmel ASoC driver for boards using PDMIC"
75 depends on OF && (ARCH_AT91 || COMPILE_TEST)
76 select SND_SOC_GENERIC_DMAENGINE_PCM
77 select REGMAP_MMIO
78 help
79 Say Y if you want to add support for Atmel ASoC driver for boards using
80 PDMIC.
Peter Rosinaa431122016-11-15 19:38:15 +010081
82config SND_ATMEL_SOC_TSE850_PCM5142
83 tristate "ASoC driver for the Axentia TSE-850"
84 depends on ARCH_AT91 && OF
85 depends on ATMEL_SSC && I2C
86 select SND_ATMEL_SOC_SSC_DMA
87 select SND_SOC_PCM512x_I2C
88 help
89 Say Y if you want to add support for the ASoC driver for the
90 Axentia TSE-850 with a PCM5142 codec.
Cyrille Pitchenb543e462018-05-25 15:34:26 +030091
92config SND_ATMEL_SOC_I2S
93 tristate "Atmel ASoC driver for boards using I2S"
94 depends on OF && (ARCH_AT91 || COMPILE_TEST)
95 select SND_SOC_GENERIC_DMAENGINE_PCM
96 select REGMAP_MMIO
97 help
98 Say Y or M if you want to add support for Atmel ASoc driver for boards
99 using I2S.
Codrin Ciubotariua45f8852018-08-31 20:14:35 +0300100
101config SND_SOC_MIKROE_PROTO
102 tristate "Support for Mikroe-PROTO board"
103 depends on OF
Arnd Bergmann53c156a2018-09-26 14:59:40 +0200104 depends on SND_SOC_I2C_AND_SPI
Codrin Ciubotariua45f8852018-08-31 20:14:35 +0300105 select SND_SOC_WM8731
106 help
107 Say Y or M if you want to add support for MikroElektronika PROTO Audio
108 Board. This board contains the WM8731 codec, which can be configured
109 using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins.
110 Both playback and capture are supported.
111
Alexandre Bellonifb67cdf2015-05-26 00:04:18 +0200112endif