Sedji Gaouaou | 6c74250 | 2008-10-03 16:57:50 +0200 | [diff] [blame] | 1 | config SND_ATMEL_SOC |
| 2 | tristate "SoC Audio for the Atmel System-on-Chip" |
Joachim Eastwood | 153f5a1 | 2012-12-08 14:23:22 +0100 | [diff] [blame] | 3 | depends on HAS_IOMEM |
Sedji Gaouaou | 6c74250 | 2008-10-03 16:57:50 +0200 | [diff] [blame] | 4 | 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 Belloni | fb67cdf | 2015-05-26 00:04:18 +0200 | [diff] [blame] | 9 | if SND_ATMEL_SOC |
| 10 | |
Bo Shen | 92dfa61 | 2012-11-28 11:46:12 +0800 | [diff] [blame] | 11 | config SND_ATMEL_SOC_PDC |
Alexandre Belloni | 9cf08a6 | 2015-06-11 11:06:08 +0200 | [diff] [blame] | 12 | tristate |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 13 | 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 | |
| 16 | config SND_ATMEL_SOC_SSC_PDC |
| 17 | tristate |
Bo Shen | 92dfa61 | 2012-11-28 11:46:12 +0800 | [diff] [blame] | 18 | |
Bo Shen | 3951e4a | 2012-11-28 11:46:13 +0800 | [diff] [blame] | 19 | config SND_ATMEL_SOC_DMA |
Alexandre Belloni | 9cf08a6 | 2015-06-11 11:06:08 +0200 | [diff] [blame] | 20 | tristate |
Bo Shen | 95e0e07 | 2013-07-03 16:38:00 +0800 | [diff] [blame] | 21 | select SND_SOC_GENERIC_DMAENGINE_PCM |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 22 | 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 | |
| 25 | config SND_ATMEL_SOC_SSC_DMA |
| 26 | tristate |
Bo Shen | 3951e4a | 2012-11-28 11:46:13 +0800 | [diff] [blame] | 27 | |
Sedji Gaouaou | 6c74250 | 2008-10-03 16:57:50 +0200 | [diff] [blame] | 28 | config SND_ATMEL_SOC_SSC |
| 29 | tristate |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 30 | 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 Gaouaou | 6c74250 | 2008-10-03 16:57:50 +0200 | [diff] [blame] | 32 | |
| 33 | config SND_AT91_SOC_SAM9G20_WM8731 |
| 34 | tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" |
Lars-Peter Clausen | ada602b | 2015-04-11 11:16:19 +0200 | [diff] [blame] | 35 | depends on ARCH_AT91 || COMPILE_TEST |
Alexandre Belloni | fb67cdf | 2015-05-26 00:04:18 +0200 | [diff] [blame] | 36 | depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 37 | select SND_ATMEL_SOC_SSC_PDC |
Sedji Gaouaou | 6c74250 | 2008-10-03 16:57:50 +0200 | [diff] [blame] | 38 | 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 Shen | 52f19b1 | 2013-07-19 17:42:57 +0800 | [diff] [blame] | 43 | config SND_ATMEL_SOC_WM8904 |
| 44 | tristate "Atmel ASoC driver for boards using WM8904 codec" |
Lars-Peter Clausen | ada602b | 2015-04-11 11:16:19 +0200 | [diff] [blame] | 45 | depends on ARCH_AT91 || COMPILE_TEST |
Alexandre Belloni | fb67cdf | 2015-05-26 00:04:18 +0200 | [diff] [blame] | 46 | depends on ATMEL_SSC && I2C |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 47 | select SND_ATMEL_SOC_SSC_DMA |
Bo Shen | 52f19b1 | 2013-07-19 17:42:57 +0800 | [diff] [blame] | 48 | 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 Ferre | fdbcb3c | 2013-07-30 12:32:03 +0200 | [diff] [blame] | 53 | config SND_AT91_SOC_SAM9X5_WM8731 |
| 54 | tristate "SoC Audio support for WM8731-based at91sam9x5 board" |
Lars-Peter Clausen | ada602b | 2015-04-11 11:16:19 +0200 | [diff] [blame] | 55 | depends on ARCH_AT91 || COMPILE_TEST |
Alexandre Belloni | fb67cdf | 2015-05-26 00:04:18 +0200 | [diff] [blame] | 56 | depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 57 | select SND_ATMEL_SOC_SSC_DMA |
Nicolas Ferre | fdbcb3c | 2013-07-30 12:32:03 +0200 | [diff] [blame] | 58 | 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. |
Alexandre Belloni | fb67cdf | 2015-05-26 00:04:18 +0200 | [diff] [blame] | 62 | endif |