1# SPDX-License-Identifier: GPL-2.0-only 2config SND_ATMEL_SOC 3 tristate "SoC Audio for the Atmel System-on-Chip" 4 depends on HAS_IOMEM 5 help 6 Say Y or M if you want to add support for codecs attached to 7 the ATMEL SSC interface. You will also need 8 to select the audio interfaces to support below. 9 10if SND_ATMEL_SOC 11 12config SND_ATMEL_SOC_PDC 13 bool 14 depends on HAS_DMA 15 16config SND_ATMEL_SOC_DMA 17 bool 18 select SND_SOC_GENERIC_DMAENGINE_PCM 19 20config SND_ATMEL_SOC_SSC 21 tristate 22 select SND_ATMEL_SOC_DMA 23 select SND_ATMEL_SOC_PDC 24 25config SND_ATMEL_SOC_SSC_PDC 26 tristate "SoC PCM DAI support for AT91 SSC controller using PDC" 27 depends on ATMEL_SSC 28 select SND_ATMEL_SOC_PDC 29 select SND_ATMEL_SOC_SSC 30 help 31 Say Y or M if you want to add support for Atmel SSC interface 32 in PDC mode configured using audio-graph-card in device-tree. 33 34config SND_ATMEL_SOC_SSC_DMA 35 tristate "SoC PCM DAI support for AT91 SSC controller using DMA" 36 depends on ATMEL_SSC 37 select SND_ATMEL_SOC_DMA 38 select SND_ATMEL_SOC_SSC 39 help 40 Say Y or M if you want to add support for Atmel SSC interface 41 in DMA mode configured using audio-graph-card in device-tree. 42 43config SND_AT91_SOC_SAM9G20_WM8731 44 tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" 45 depends on ARCH_AT91 || COMPILE_TEST 46 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI 47 select SND_ATMEL_SOC_SSC_PDC 48 select SND_SOC_WM8731 49 help 50 Say Y if you want to add support for SoC audio on WM8731-based 51 AT91sam9g20 evaluation board. 52 53config SND_ATMEL_SOC_WM8904 54 tristate "Atmel ASoC driver for boards using WM8904 codec" 55 depends on ARCH_AT91 || COMPILE_TEST 56 depends on ATMEL_SSC && I2C 57 select SND_ATMEL_SOC_SSC_DMA 58 select SND_SOC_WM8904 59 help 60 Say Y if you want to add support for Atmel ASoC driver for boards using 61 WM8904 codec. 62 63config SND_AT91_SOC_SAM9X5_WM8731 64 tristate "SoC Audio support for WM8731-based at91sam9x5 board" 65 depends on ARCH_AT91 || COMPILE_TEST 66 depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI 67 select SND_ATMEL_SOC_SSC_DMA 68 select SND_SOC_WM8731 69 help 70 Say Y if you want to add support for audio SoC on an 71 at91sam9x5 based board that is using WM8731 codec. 72 73config SND_ATMEL_SOC_CLASSD 74 tristate "Atmel ASoC driver for boards using CLASSD" 75 depends on 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 CLASSD. 81 82config SND_ATMEL_SOC_PDMIC 83 tristate "Atmel ASoC driver for boards using PDMIC" 84 depends on OF && (ARCH_AT91 || COMPILE_TEST) 85 select SND_SOC_GENERIC_DMAENGINE_PCM 86 select REGMAP_MMIO 87 help 88 Say Y if you want to add support for Atmel ASoC driver for boards using 89 PDMIC. 90 91config SND_ATMEL_SOC_TSE850_PCM5142 92 tristate "ASoC driver for the Axentia TSE-850" 93 depends on ARCH_AT91 && OF 94 depends on ATMEL_SSC && I2C 95 select SND_ATMEL_SOC_SSC_DMA 96 select SND_SOC_PCM512x_I2C 97 help 98 Say Y if you want to add support for the ASoC driver for the 99 Axentia TSE-850 with a PCM5142 codec. 100 101config SND_ATMEL_SOC_I2S 102 tristate "Atmel ASoC driver for boards using I2S" 103 depends on OF && (ARCH_AT91 || COMPILE_TEST) 104 select SND_SOC_GENERIC_DMAENGINE_PCM 105 select REGMAP_MMIO 106 help 107 Say Y or M if you want to add support for Atmel ASoc driver for boards 108 using I2S. 109 110config SND_SOC_MIKROE_PROTO 111 tristate "Support for Mikroe-PROTO board" 112 depends on OF 113 depends on SND_SOC_I2C_AND_SPI 114 select SND_SOC_WM8731 115 help 116 Say Y or M if you want to add support for MikroElektronika PROTO Audio 117 Board. This board contains the WM8731 codec, which can be configured 118 using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins. 119 Both playback and capture are supported. 120 121config SND_MCHP_SOC_I2S_MCC 122 tristate "Microchip ASoC driver for boards using I2S MCC" 123 depends on OF && (ARCH_AT91 || COMPILE_TEST) 124 select SND_SOC_GENERIC_DMAENGINE_PCM 125 select REGMAP_MMIO 126 help 127 Say Y or M if you want to add support for I2S Multi-Channel ASoC 128 driver on the following Microchip platforms: 129 - sam9x60 130 131 The I2SMCC complies with the Inter-IC Sound (I2S) bus specification 132 and supports a Time Division Multiplexed (TDM) interface with 133 external multi-channel audio codecs. 134 135config SND_MCHP_SOC_SPDIFTX 136 tristate "Microchip ASoC driver for boards using S/PDIF TX" 137 depends on OF && (ARCH_AT91 || COMPILE_TEST) 138 select SND_SOC_GENERIC_DMAENGINE_PCM 139 select REGMAP_MMIO 140 help 141 Say Y or M if you want to add support for Microchip S/PDIF TX ASoc 142 driver on the following Microchip platforms: 143 - sama7g5 144 145 This S/PDIF TX driver is compliant with IEC-60958 standard and 146 includes programable User Data and Channel Status fields. 147 148config SND_MCHP_SOC_SPDIFRX 149 tristate "Microchip ASoC driver for boards using S/PDIF RX" 150 depends on OF && (ARCH_AT91 || COMPILE_TEST) 151 select SND_SOC_GENERIC_DMAENGINE_PCM 152 select REGMAP_MMIO 153 help 154 Say Y or M if you want to add support for Microchip S/PDIF RX ASoc 155 driver on the following Microchip platforms: 156 - sama7g5 157 158 This S/PDIF RX driver is compliant with IEC-60958 standard and 159 includes programable User Data and Channel Status fields. 160endif 161