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