blob: 06e099e802df94039328fdb677480cda521021fb [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
Alexandre Belloni061981f2015-06-11 11:06:09 +020013 default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m
14 default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y)
15
16config SND_ATMEL_SOC_SSC_PDC
17 tristate
Bo Shen92dfa612012-11-28 11:46:12 +080018
Bo Shen3951e4a2012-11-28 11:46:13 +080019config SND_ATMEL_SOC_DMA
Alexandre Belloni9cf08a62015-06-11 11:06:08 +020020 tristate
Bo Shen95e0e072013-07-03 16:38:00 +080021 select SND_SOC_GENERIC_DMAENGINE_PCM
Alexandre Belloni061981f2015-06-11 11:06:09 +020022 default m if SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=m
23 default y if SND_ATMEL_SOC_SSC_DMA=y || (SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=y)
24
25config SND_ATMEL_SOC_SSC_DMA
26 tristate
Bo Shen3951e4a2012-11-28 11:46:13 +080027
Sedji Gaouaou6c742502008-10-03 16:57:50 +020028config SND_ATMEL_SOC_SSC
29 tristate
Alexandre Belloni061981f2015-06-11 11:06:09 +020030 default y if SND_ATMEL_SOC_SSC_DMA=y || SND_ATMEL_SOC_SSC_PDC=y
31 default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m
Sedji Gaouaou6c742502008-10-03 16:57:50 +020032
33config SND_AT91_SOC_SAM9G20_WM8731
34 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
Lars-Peter Clausenada602b2015-04-11 11:16:19 +020035 depends on ARCH_AT91 || COMPILE_TEST
Alexandre Bellonifb67cdf2015-05-26 00:04:18 +020036 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
Alexandre Belloni061981f2015-06-11 11:06:09 +020037 select SND_ATMEL_SOC_SSC_PDC
Sedji Gaouaou6c742502008-10-03 16:57:50 +020038 select SND_SOC_WM8731
39 help
40 Say Y if you want to add support for SoC audio on WM8731-based
41 AT91sam9g20 evaluation board.
42
Bo Shen52f19b12013-07-19 17:42:57 +080043config SND_ATMEL_SOC_WM8904
44 tristate "Atmel ASoC driver for boards using WM8904 codec"
Lars-Peter Clausenada602b2015-04-11 11:16:19 +020045 depends on ARCH_AT91 || COMPILE_TEST
Alexandre Bellonifb67cdf2015-05-26 00:04:18 +020046 depends on ATMEL_SSC && I2C
Alexandre Belloni061981f2015-06-11 11:06:09 +020047 select SND_ATMEL_SOC_SSC_DMA
Bo Shen52f19b12013-07-19 17:42:57 +080048 select SND_SOC_WM8904
49 help
50 Say Y if you want to add support for Atmel ASoC driver for boards using
51 WM8904 codec.
52
Nicolas Ferrefdbcb3c2013-07-30 12:32:03 +020053config SND_AT91_SOC_SAM9X5_WM8731
54 tristate "SoC Audio support for WM8731-based at91sam9x5 board"
Lars-Peter Clausenada602b2015-04-11 11:16:19 +020055 depends on ARCH_AT91 || COMPILE_TEST
Alexandre Bellonifb67cdf2015-05-26 00:04:18 +020056 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
Alexandre Belloni061981f2015-06-11 11:06:09 +020057 select SND_ATMEL_SOC_SSC_DMA
Nicolas Ferrefdbcb3c2013-07-30 12:32:03 +020058 select SND_SOC_WM8731
59 help
60 Say Y if you want to add support for audio SoC on an
61 at91sam9x5 based board that is using WM8731 codec.
Songjun Wue0a25b62015-10-08 18:13:31 +080062
63config SND_ATMEL_SOC_CLASSD
64 tristate "Atmel ASoC driver for boards using CLASSD"
65 depends on ARCH_AT91 || COMPILE_TEST
66 select SND_ATMEL_SOC_DMA
67 select REGMAP_MMIO
68 help
69 Say Y if you want to add support for Atmel ASoC driver for boards using
70 CLASSD.
Songjun Wua7664ab2015-12-17 17:49:59 +080071
72config SND_ATMEL_SOC_PDMIC
73 tristate "Atmel ASoC driver for boards using PDMIC"
74 depends on OF && (ARCH_AT91 || COMPILE_TEST)
75 select SND_SOC_GENERIC_DMAENGINE_PCM
76 select REGMAP_MMIO
77 help
78 Say Y if you want to add support for Atmel ASoC driver for boards using
79 PDMIC.
Alexandre Bellonifb67cdf2015-05-26 00:04:18 +020080endif