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 |
Sudip Mukherjee | 8d7d110 | 2016-06-05 19:00:21 +0100 | [diff] [blame] | 13 | depends on HAS_DMA |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 14 | 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 | |
| 17 | config SND_ATMEL_SOC_SSC_PDC |
| 18 | tristate |
Bo Shen | 92dfa61 | 2012-11-28 11:46:12 +0800 | [diff] [blame] | 19 | |
Bo Shen | 3951e4a | 2012-11-28 11:46:13 +0800 | [diff] [blame] | 20 | config SND_ATMEL_SOC_DMA |
Alexandre Belloni | 9cf08a6 | 2015-06-11 11:06:08 +0200 | [diff] [blame] | 21 | tristate |
Bo Shen | 95e0e07 | 2013-07-03 16:38:00 +0800 | [diff] [blame] | 22 | select SND_SOC_GENERIC_DMAENGINE_PCM |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 23 | 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 | |
| 26 | config SND_ATMEL_SOC_SSC_DMA |
| 27 | tristate |
Bo Shen | 3951e4a | 2012-11-28 11:46:13 +0800 | [diff] [blame] | 28 | |
Sedji Gaouaou | 6c74250 | 2008-10-03 16:57:50 +0200 | [diff] [blame] | 29 | config SND_ATMEL_SOC_SSC |
| 30 | tristate |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 31 | 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 Gaouaou | 6c74250 | 2008-10-03 16:57:50 +0200 | [diff] [blame] | 33 | |
| 34 | config SND_AT91_SOC_SAM9G20_WM8731 |
| 35 | tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" |
Lars-Peter Clausen | ada602b | 2015-04-11 11:16:19 +0200 | [diff] [blame] | 36 | depends on ARCH_AT91 || COMPILE_TEST |
Alexandre Belloni | fb67cdf | 2015-05-26 00:04:18 +0200 | [diff] [blame] | 37 | depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 38 | select SND_ATMEL_SOC_SSC_PDC |
Sedji Gaouaou | 6c74250 | 2008-10-03 16:57:50 +0200 | [diff] [blame] | 39 | 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 Shen | 52f19b1 | 2013-07-19 17:42:57 +0800 | [diff] [blame] | 44 | config SND_ATMEL_SOC_WM8904 |
| 45 | tristate "Atmel ASoC driver for boards using WM8904 codec" |
Lars-Peter Clausen | ada602b | 2015-04-11 11:16:19 +0200 | [diff] [blame] | 46 | depends on ARCH_AT91 || COMPILE_TEST |
Alexandre Belloni | fb67cdf | 2015-05-26 00:04:18 +0200 | [diff] [blame] | 47 | depends on ATMEL_SSC && I2C |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 48 | select SND_ATMEL_SOC_SSC_DMA |
Bo Shen | 52f19b1 | 2013-07-19 17:42:57 +0800 | [diff] [blame] | 49 | 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 Ferre | fdbcb3c | 2013-07-30 12:32:03 +0200 | [diff] [blame] | 54 | config SND_AT91_SOC_SAM9X5_WM8731 |
| 55 | tristate "SoC Audio support for WM8731-based at91sam9x5 board" |
Lars-Peter Clausen | ada602b | 2015-04-11 11:16:19 +0200 | [diff] [blame] | 56 | depends on ARCH_AT91 || COMPILE_TEST |
Alexandre Belloni | fb67cdf | 2015-05-26 00:04:18 +0200 | [diff] [blame] | 57 | depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI |
Alexandre Belloni | 061981f | 2015-06-11 11:06:09 +0200 | [diff] [blame] | 58 | select SND_ATMEL_SOC_SSC_DMA |
Nicolas Ferre | fdbcb3c | 2013-07-30 12:32:03 +0200 | [diff] [blame] | 59 | 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 Wu | e0a25b6 | 2015-10-08 18:13:31 +0800 | [diff] [blame] | 63 | |
| 64 | config SND_ATMEL_SOC_CLASSD |
| 65 | tristate "Atmel ASoC driver for boards using CLASSD" |
| 66 | depends on ARCH_AT91 || COMPILE_TEST |
| 67 | select SND_ATMEL_SOC_DMA |
| 68 | select REGMAP_MMIO |
| 69 | help |
| 70 | Say Y if you want to add support for Atmel ASoC driver for boards using |
| 71 | CLASSD. |
Songjun Wu | a7664ab | 2015-12-17 17:49:59 +0800 | [diff] [blame] | 72 | |
| 73 | config 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. |
Alexandre Belloni | fb67cdf | 2015-05-26 00:04:18 +0200 | [diff] [blame] | 81 | endif |