1config SND_ATMEL_SOC 2 tristate "SoC Audio for the Atmel System-on-Chip" 3 depends on HAS_IOMEM 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 9if SND_ATMEL_SOC 10 11config SND_ATMEL_SOC_PDC 12 tristate 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 16config SND_ATMEL_SOC_SSC_PDC 17 tristate 18 19config SND_ATMEL_SOC_DMA 20 tristate 21 select SND_SOC_GENERIC_DMAENGINE_PCM 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 25config SND_ATMEL_SOC_SSC_DMA 26 tristate 27 28config SND_ATMEL_SOC_SSC 29 tristate 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 32 33config SND_AT91_SOC_SAM9G20_WM8731 34 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" 35 depends on ARCH_AT91 || COMPILE_TEST 36 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI 37 select SND_ATMEL_SOC_SSC_PDC 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 43config SND_ATMEL_SOC_WM8904 44 tristate "Atmel ASoC driver for boards using WM8904 codec" 45 depends on ARCH_AT91 || COMPILE_TEST 46 depends on ATMEL_SSC && I2C 47 select SND_ATMEL_SOC_SSC_DMA 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 53config SND_AT91_SOC_SAM9X5_WM8731 54 tristate "SoC Audio support for WM8731-based at91sam9x5 board" 55 depends on ARCH_AT91 || COMPILE_TEST 56 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI 57 select SND_ATMEL_SOC_SSC_DMA 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. 62 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. 71 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. 80endif 81