| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | config SND_ATMEL_SOC |
|---|
| 2 | 3 | tristate "SoC Audio for the Atmel System-on-Chip" |
|---|
| 3 | 4 | depends on HAS_IOMEM |
|---|
| .. | .. |
|---|
| 9 | 10 | if SND_ATMEL_SOC |
|---|
| 10 | 11 | |
|---|
| 11 | 12 | config SND_ATMEL_SOC_PDC |
|---|
| 12 | | - tristate |
|---|
| 13 | | - depends on HAS_DMA |
|---|
| 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 |
|---|
| 13 | + bool |
|---|
| 19 | 14 | |
|---|
| 20 | 15 | config SND_ATMEL_SOC_DMA |
|---|
| 21 | | - tristate |
|---|
| 16 | + bool |
|---|
| 22 | 17 | select SND_SOC_GENERIC_DMAENGINE_PCM |
|---|
| 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 | 18 | |
|---|
| 26 | | -config SND_ATMEL_SOC_SSC_DMA |
|---|
| 19 | +config SND_ATMEL_SOC_SSC |
|---|
| 27 | 20 | tristate |
|---|
| 28 | 21 | select SND_ATMEL_SOC_DMA |
|---|
| 29 | 22 | select SND_ATMEL_SOC_PDC |
|---|
| 30 | 23 | |
|---|
| 31 | | -config SND_ATMEL_SOC_SSC |
|---|
| 32 | | - tristate |
|---|
| 33 | | - default y if SND_ATMEL_SOC_SSC_DMA=y || SND_ATMEL_SOC_SSC_PDC=y |
|---|
| 34 | | - default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m |
|---|
| 24 | +config SND_ATMEL_SOC_SSC_PDC |
|---|
| 25 | + tristate "SoC PCM DAI support for AT91 SSC controller using PDC" |
|---|
| 26 | + depends on ATMEL_SSC |
|---|
| 27 | + select SND_ATMEL_SOC_PDC |
|---|
| 28 | + select SND_ATMEL_SOC_SSC |
|---|
| 29 | + help |
|---|
| 30 | + Say Y or M if you want to add support for Atmel SSC interface |
|---|
| 31 | + in PDC mode configured using audio-graph-card in device-tree. |
|---|
| 32 | + |
|---|
| 33 | +config SND_ATMEL_SOC_SSC_DMA |
|---|
| 34 | + tristate "SoC PCM DAI support for AT91 SSC controller using DMA" |
|---|
| 35 | + depends on ATMEL_SSC |
|---|
| 36 | + select SND_ATMEL_SOC_DMA |
|---|
| 37 | + select SND_ATMEL_SOC_SSC |
|---|
| 38 | + help |
|---|
| 39 | + Say Y or M if you want to add support for Atmel SSC interface |
|---|
| 40 | + in DMA mode configured using audio-graph-card in device-tree. |
|---|
| 35 | 41 | |
|---|
| 36 | 42 | config SND_AT91_SOC_SAM9G20_WM8731 |
|---|
| 37 | 43 | tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" |
|---|
| .. | .. |
|---|
| 99 | 105 | help |
|---|
| 100 | 106 | Say Y or M if you want to add support for Atmel ASoc driver for boards |
|---|
| 101 | 107 | using I2S. |
|---|
| 108 | + |
|---|
| 109 | +config SND_SOC_MIKROE_PROTO |
|---|
| 110 | + tristate "Support for Mikroe-PROTO board" |
|---|
| 111 | + depends on OF |
|---|
| 112 | + depends on SND_SOC_I2C_AND_SPI |
|---|
| 113 | + select SND_SOC_WM8731 |
|---|
| 114 | + help |
|---|
| 115 | + Say Y or M if you want to add support for MikroElektronika PROTO Audio |
|---|
| 116 | + Board. This board contains the WM8731 codec, which can be configured |
|---|
| 117 | + using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins. |
|---|
| 118 | + Both playback and capture are supported. |
|---|
| 119 | + |
|---|
| 120 | +config SND_MCHP_SOC_I2S_MCC |
|---|
| 121 | + tristate "Microchip ASoC driver for boards using I2S MCC" |
|---|
| 122 | + depends on OF && (ARCH_AT91 || COMPILE_TEST) |
|---|
| 123 | + select SND_SOC_GENERIC_DMAENGINE_PCM |
|---|
| 124 | + select REGMAP_MMIO |
|---|
| 125 | + help |
|---|
| 126 | + Say Y or M if you want to add support for I2S Multi-Channel ASoC |
|---|
| 127 | + driver on the following Microchip platforms: |
|---|
| 128 | + - sam9x60 |
|---|
| 129 | + |
|---|
| 130 | + The I2SMCC complies with the Inter-IC Sound (I2S) bus specification |
|---|
| 131 | + and supports a Time Division Multiplexed (TDM) interface with |
|---|
| 132 | + external multi-channel audio codecs. |
|---|
| 133 | + |
|---|
| 134 | +config SND_MCHP_SOC_SPDIFTX |
|---|
| 135 | + tristate "Microchip ASoC driver for boards using S/PDIF TX" |
|---|
| 136 | + depends on OF && (ARCH_AT91 || COMPILE_TEST) |
|---|
| 137 | + select SND_SOC_GENERIC_DMAENGINE_PCM |
|---|
| 138 | + select REGMAP_MMIO |
|---|
| 139 | + help |
|---|
| 140 | + Say Y or M if you want to add support for Microchip S/PDIF TX ASoc |
|---|
| 141 | + driver on the following Microchip platforms: |
|---|
| 142 | + - sama7g5 |
|---|
| 143 | + |
|---|
| 144 | + This S/PDIF TX driver is compliant with IEC-60958 standard and |
|---|
| 145 | + includes programable User Data and Channel Status fields. |
|---|
| 146 | + |
|---|
| 147 | +config SND_MCHP_SOC_SPDIFRX |
|---|
| 148 | + tristate "Microchip ASoC driver for boards using S/PDIF RX" |
|---|
| 149 | + depends on OF && (ARCH_AT91 || COMPILE_TEST) |
|---|
| 150 | + depends on COMMON_CLK |
|---|
| 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. |
|---|
| 102 | 160 | endif |
|---|