18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC
38c2ecf20Sopenharmony_ci	tristate "SoC Audio for the Atmel System-on-Chip"
48c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
58c2ecf20Sopenharmony_ci	help
68c2ecf20Sopenharmony_ci	  Say Y or M if you want to add support for codecs attached to
78c2ecf20Sopenharmony_ci	  the ATMEL SSC interface. You will also need
88c2ecf20Sopenharmony_ci	  to select the audio interfaces to support below.
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciif SND_ATMEL_SOC
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_PDC
138c2ecf20Sopenharmony_ci	bool
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_DMA
168c2ecf20Sopenharmony_ci	bool
178c2ecf20Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_SSC
208c2ecf20Sopenharmony_ci	tristate
218c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_DMA
228c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_PDC
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_SSC_PDC
258c2ecf20Sopenharmony_ci	tristate "SoC PCM DAI support for AT91 SSC controller using PDC"
268c2ecf20Sopenharmony_ci	depends on ATMEL_SSC
278c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_PDC
288c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_SSC
298c2ecf20Sopenharmony_ci	help
308c2ecf20Sopenharmony_ci	  Say Y or M if you want to add support for Atmel SSC interface
318c2ecf20Sopenharmony_ci	  in PDC mode configured using audio-graph-card in device-tree.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_SSC_DMA
348c2ecf20Sopenharmony_ci	tristate "SoC PCM DAI support for AT91 SSC controller using DMA"
358c2ecf20Sopenharmony_ci	depends on ATMEL_SSC
368c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_DMA
378c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_SSC
388c2ecf20Sopenharmony_ci	help
398c2ecf20Sopenharmony_ci	  Say Y or M if you want to add support for Atmel SSC interface
408c2ecf20Sopenharmony_ci	  in DMA mode configured using audio-graph-card in device-tree.
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciconfig SND_AT91_SOC_SAM9G20_WM8731
438c2ecf20Sopenharmony_ci	tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
448c2ecf20Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
458c2ecf20Sopenharmony_ci	depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
468c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_SSC_PDC
478c2ecf20Sopenharmony_ci	select SND_SOC_WM8731
488c2ecf20Sopenharmony_ci	help
498c2ecf20Sopenharmony_ci	  Say Y if you want to add support for SoC audio on WM8731-based
508c2ecf20Sopenharmony_ci	  AT91sam9g20 evaluation board.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_WM8904
538c2ecf20Sopenharmony_ci	tristate "Atmel ASoC driver for boards using WM8904 codec"
548c2ecf20Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
558c2ecf20Sopenharmony_ci	depends on ATMEL_SSC && I2C
568c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_SSC_DMA
578c2ecf20Sopenharmony_ci	select SND_SOC_WM8904
588c2ecf20Sopenharmony_ci	help
598c2ecf20Sopenharmony_ci	  Say Y if you want to add support for Atmel ASoC driver for boards using
608c2ecf20Sopenharmony_ci	  WM8904 codec.
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ciconfig SND_AT91_SOC_SAM9X5_WM8731
638c2ecf20Sopenharmony_ci	tristate "SoC Audio support for WM8731-based at91sam9x5 board"
648c2ecf20Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
658c2ecf20Sopenharmony_ci	depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
668c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_SSC_DMA
678c2ecf20Sopenharmony_ci	select SND_SOC_WM8731
688c2ecf20Sopenharmony_ci	help
698c2ecf20Sopenharmony_ci	  Say Y if you want to add support for audio SoC on an
708c2ecf20Sopenharmony_ci	  at91sam9x5 based board that is using WM8731 codec.
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_CLASSD
738c2ecf20Sopenharmony_ci	tristate "Atmel ASoC driver for boards using CLASSD"
748c2ecf20Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
758c2ecf20Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
768c2ecf20Sopenharmony_ci	select REGMAP_MMIO
778c2ecf20Sopenharmony_ci	help
788c2ecf20Sopenharmony_ci	  Say Y if you want to add support for Atmel ASoC driver for boards using
798c2ecf20Sopenharmony_ci	  CLASSD.
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_PDMIC
828c2ecf20Sopenharmony_ci	tristate "Atmel ASoC driver for boards using PDMIC"
838c2ecf20Sopenharmony_ci	depends on OF && (ARCH_AT91 || COMPILE_TEST)
848c2ecf20Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
858c2ecf20Sopenharmony_ci	select REGMAP_MMIO
868c2ecf20Sopenharmony_ci	help
878c2ecf20Sopenharmony_ci	  Say Y if you want to add support for Atmel ASoC driver for boards using
888c2ecf20Sopenharmony_ci	  PDMIC.
898c2ecf20Sopenharmony_ci
908c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_TSE850_PCM5142
918c2ecf20Sopenharmony_ci	tristate "ASoC driver for the Axentia TSE-850"
928c2ecf20Sopenharmony_ci	depends on ARCH_AT91 && OF
938c2ecf20Sopenharmony_ci	depends on ATMEL_SSC && I2C
948c2ecf20Sopenharmony_ci	select SND_ATMEL_SOC_SSC_DMA
958c2ecf20Sopenharmony_ci	select SND_SOC_PCM512x_I2C
968c2ecf20Sopenharmony_ci	help
978c2ecf20Sopenharmony_ci	  Say Y if you want to add support for the ASoC driver for the
988c2ecf20Sopenharmony_ci	  Axentia TSE-850 with a PCM5142 codec.
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ciconfig SND_ATMEL_SOC_I2S
1018c2ecf20Sopenharmony_ci	tristate "Atmel ASoC driver for boards using I2S"
1028c2ecf20Sopenharmony_ci	depends on OF && (ARCH_AT91 || COMPILE_TEST)
1038c2ecf20Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
1048c2ecf20Sopenharmony_ci	select REGMAP_MMIO
1058c2ecf20Sopenharmony_ci	help
1068c2ecf20Sopenharmony_ci	  Say Y or M if you want to add support for Atmel ASoc driver for boards
1078c2ecf20Sopenharmony_ci	  using I2S.
1088c2ecf20Sopenharmony_ci
1098c2ecf20Sopenharmony_ciconfig SND_SOC_MIKROE_PROTO
1108c2ecf20Sopenharmony_ci	tristate "Support for Mikroe-PROTO board"
1118c2ecf20Sopenharmony_ci	depends on OF
1128c2ecf20Sopenharmony_ci	depends on SND_SOC_I2C_AND_SPI
1138c2ecf20Sopenharmony_ci	select SND_SOC_WM8731
1148c2ecf20Sopenharmony_ci	help
1158c2ecf20Sopenharmony_ci	  Say Y or M if you want to add support for MikroElektronika PROTO Audio
1168c2ecf20Sopenharmony_ci	  Board. This board contains the WM8731 codec, which can be configured
1178c2ecf20Sopenharmony_ci	  using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins.
1188c2ecf20Sopenharmony_ci	  Both playback and capture are supported.
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ciconfig SND_MCHP_SOC_I2S_MCC
1218c2ecf20Sopenharmony_ci	tristate "Microchip ASoC driver for boards using I2S MCC"
1228c2ecf20Sopenharmony_ci	depends on OF && (ARCH_AT91 || COMPILE_TEST)
1238c2ecf20Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
1248c2ecf20Sopenharmony_ci	select REGMAP_MMIO
1258c2ecf20Sopenharmony_ci	help
1268c2ecf20Sopenharmony_ci	  Say Y or M if you want to add support for I2S Multi-Channel ASoC
1278c2ecf20Sopenharmony_ci	  driver on the following Microchip platforms:
1288c2ecf20Sopenharmony_ci	  - sam9x60
1298c2ecf20Sopenharmony_ci
1308c2ecf20Sopenharmony_ci	  The I2SMCC complies with the Inter-IC Sound (I2S) bus specification
1318c2ecf20Sopenharmony_ci	  and supports a Time Division Multiplexed (TDM) interface with
1328c2ecf20Sopenharmony_ci	  external multi-channel audio codecs.
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ciconfig SND_MCHP_SOC_SPDIFTX
1358c2ecf20Sopenharmony_ci	tristate "Microchip ASoC driver for boards using S/PDIF TX"
1368c2ecf20Sopenharmony_ci	depends on OF && (ARCH_AT91 || COMPILE_TEST)
1378c2ecf20Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
1388c2ecf20Sopenharmony_ci	select REGMAP_MMIO
1398c2ecf20Sopenharmony_ci	help
1408c2ecf20Sopenharmony_ci	  Say Y or M if you want to add support for Microchip S/PDIF TX ASoc
1418c2ecf20Sopenharmony_ci	  driver on the following Microchip platforms:
1428c2ecf20Sopenharmony_ci	  - sama7g5
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_ci	  This S/PDIF TX driver is compliant with IEC-60958 standard and
1458c2ecf20Sopenharmony_ci	  includes programable User Data and Channel Status fields.
1468c2ecf20Sopenharmony_ci
1478c2ecf20Sopenharmony_ciconfig SND_MCHP_SOC_SPDIFRX
1488c2ecf20Sopenharmony_ci	tristate "Microchip ASoC driver for boards using S/PDIF RX"
1498c2ecf20Sopenharmony_ci	depends on OF && (ARCH_AT91 || COMPILE_TEST)
1508c2ecf20Sopenharmony_ci	depends on COMMON_CLK
1518c2ecf20Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
1528c2ecf20Sopenharmony_ci	select REGMAP_MMIO
1538c2ecf20Sopenharmony_ci	help
1548c2ecf20Sopenharmony_ci	  Say Y or M if you want to add support for Microchip S/PDIF RX ASoc
1558c2ecf20Sopenharmony_ci	  driver on the following Microchip platforms:
1568c2ecf20Sopenharmony_ci	  - sama7g5
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ci	  This S/PDIF RX driver is compliant with IEC-60958 standard and
1598c2ecf20Sopenharmony_ci	  includes programable User Data and Channel Status fields.
1608c2ecf20Sopenharmony_ciendif
161