1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 26c742509SSedji Gaouaouconfig SND_ATMEL_SOC 36c742509SSedji Gaouaou tristate "SoC Audio for the Atmel System-on-Chip" 4153f5a18SJoachim Eastwood depends on HAS_IOMEM 56c742509SSedji Gaouaou help 66c742509SSedji Gaouaou Say Y or M if you want to add support for codecs attached to 76c742509SSedji Gaouaou the ATMEL SSC interface. You will also need 86c742509SSedji Gaouaou to select the audio interfaces to support below. 96c742509SSedji Gaouaou 10fb67cdfbSAlexandre Belloniif SND_ATMEL_SOC 11fb67cdfbSAlexandre Belloni 1292dfa619SBo Shenconfig SND_ATMEL_SOC_PDC 139437bfdaSArnd Bergmann bool 148d7d1100SSudip Mukherjee depends on HAS_DMA 1592dfa619SBo Shen 163951e4aaSBo Shenconfig SND_ATMEL_SOC_DMA 179437bfdaSArnd Bergmann bool 1895e0e07eSBo Shen select SND_SOC_GENERIC_DMAENGINE_PCM 193951e4aaSBo Shen 206c742509SSedji Gaouaouconfig SND_ATMEL_SOC_SSC 216c742509SSedji Gaouaou tristate 228fea7802SChen Zhou select SND_ATMEL_SOC_DMA 238fea7802SChen Zhou select SND_ATMEL_SOC_PDC 2418291410SMichał Mirosław 2518291410SMichał Mirosławconfig SND_ATMEL_SOC_SSC_PDC 2618291410SMichał Mirosław tristate "SoC PCM DAI support for AT91 SSC controller using PDC" 2718291410SMichał Mirosław depends on ATMEL_SSC 2818291410SMichał Mirosław select SND_ATMEL_SOC_PDC 2918291410SMichał Mirosław select SND_ATMEL_SOC_SSC 3018291410SMichał Mirosław help 3118291410SMichał Mirosław Say Y or M if you want to add support for Atmel SSC interface 3218291410SMichał Mirosław in PDC mode configured using audio-graph-card in device-tree. 3318291410SMichał Mirosław 3418291410SMichał Mirosławconfig SND_ATMEL_SOC_SSC_DMA 3518291410SMichał Mirosław tristate "SoC PCM DAI support for AT91 SSC controller using DMA" 3618291410SMichał Mirosław depends on ATMEL_SSC 3718291410SMichał Mirosław select SND_ATMEL_SOC_DMA 3818291410SMichał Mirosław select SND_ATMEL_SOC_SSC 3918291410SMichał Mirosław help 4018291410SMichał Mirosław Say Y or M if you want to add support for Atmel SSC interface 4118291410SMichał Mirosław in DMA mode configured using audio-graph-card in device-tree. 426c742509SSedji Gaouaou 436c742509SSedji Gaouaouconfig SND_AT91_SOC_SAM9G20_WM8731 446c742509SSedji Gaouaou tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" 45ada602b3SLars-Peter Clausen depends on ARCH_AT91 || COMPILE_TEST 46fb67cdfbSAlexandre Belloni depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI 47061981ffSAlexandre Belloni select SND_ATMEL_SOC_SSC_PDC 486c742509SSedji Gaouaou select SND_SOC_WM8731 496c742509SSedji Gaouaou help 506c742509SSedji Gaouaou Say Y if you want to add support for SoC audio on WM8731-based 516c742509SSedji Gaouaou AT91sam9g20 evaluation board. 526c742509SSedji Gaouaou 5352f19b14SBo Shenconfig SND_ATMEL_SOC_WM8904 5452f19b14SBo Shen tristate "Atmel ASoC driver for boards using WM8904 codec" 55ada602b3SLars-Peter Clausen depends on ARCH_AT91 || COMPILE_TEST 56fb67cdfbSAlexandre Belloni depends on ATMEL_SSC && I2C 57061981ffSAlexandre Belloni select SND_ATMEL_SOC_SSC_DMA 5852f19b14SBo Shen select SND_SOC_WM8904 5952f19b14SBo Shen help 6052f19b14SBo Shen Say Y if you want to add support for Atmel ASoC driver for boards using 6152f19b14SBo Shen WM8904 codec. 6252f19b14SBo Shen 63fdbcb3cbSNicolas Ferreconfig SND_AT91_SOC_SAM9X5_WM8731 64fdbcb3cbSNicolas Ferre tristate "SoC Audio support for WM8731-based at91sam9x5 board" 65ada602b3SLars-Peter Clausen depends on ARCH_AT91 || COMPILE_TEST 66fb67cdfbSAlexandre Belloni depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI 67061981ffSAlexandre Belloni select SND_ATMEL_SOC_SSC_DMA 68fdbcb3cbSNicolas Ferre select SND_SOC_WM8731 69fdbcb3cbSNicolas Ferre help 70fdbcb3cbSNicolas Ferre Say Y if you want to add support for audio SoC on an 71fdbcb3cbSNicolas Ferre at91sam9x5 based board that is using WM8731 codec. 72e0a25b6dSSongjun Wu 73e0a25b6dSSongjun Wuconfig SND_ATMEL_SOC_CLASSD 74e0a25b6dSSongjun Wu tristate "Atmel ASoC driver for boards using CLASSD" 75e0a25b6dSSongjun Wu depends on ARCH_AT91 || COMPILE_TEST 760f0be40bSAlexandre Belloni select SND_SOC_GENERIC_DMAENGINE_PCM 77e0a25b6dSSongjun Wu select REGMAP_MMIO 78e0a25b6dSSongjun Wu help 79e0a25b6dSSongjun Wu Say Y if you want to add support for Atmel ASoC driver for boards using 80e0a25b6dSSongjun Wu CLASSD. 81a7664ab2SSongjun Wu 82a7664ab2SSongjun Wuconfig SND_ATMEL_SOC_PDMIC 83a7664ab2SSongjun Wu tristate "Atmel ASoC driver for boards using PDMIC" 84a7664ab2SSongjun Wu depends on OF && (ARCH_AT91 || COMPILE_TEST) 85a7664ab2SSongjun Wu select SND_SOC_GENERIC_DMAENGINE_PCM 86a7664ab2SSongjun Wu select REGMAP_MMIO 87a7664ab2SSongjun Wu help 88a7664ab2SSongjun Wu Say Y if you want to add support for Atmel ASoC driver for boards using 89a7664ab2SSongjun Wu PDMIC. 90aa431124SPeter Rosin 91aa431124SPeter Rosinconfig SND_ATMEL_SOC_TSE850_PCM5142 92aa431124SPeter Rosin tristate "ASoC driver for the Axentia TSE-850" 93aa431124SPeter Rosin depends on ARCH_AT91 && OF 94aa431124SPeter Rosin depends on ATMEL_SSC && I2C 95aa431124SPeter Rosin select SND_ATMEL_SOC_SSC_DMA 96aa431124SPeter Rosin select SND_SOC_PCM512x_I2C 97aa431124SPeter Rosin help 98aa431124SPeter Rosin Say Y if you want to add support for the ASoC driver for the 99aa431124SPeter Rosin Axentia TSE-850 with a PCM5142 codec. 100b543e467SCyrille Pitchen 101b543e467SCyrille Pitchenconfig SND_ATMEL_SOC_I2S 102b543e467SCyrille Pitchen tristate "Atmel ASoC driver for boards using I2S" 103b543e467SCyrille Pitchen depends on OF && (ARCH_AT91 || COMPILE_TEST) 104b543e467SCyrille Pitchen select SND_SOC_GENERIC_DMAENGINE_PCM 105b543e467SCyrille Pitchen select REGMAP_MMIO 106b543e467SCyrille Pitchen help 107b543e467SCyrille Pitchen Say Y or M if you want to add support for Atmel ASoc driver for boards 108b543e467SCyrille Pitchen using I2S. 109a45f8853SCodrin Ciubotariu 110a45f8853SCodrin Ciubotariuconfig SND_SOC_MIKROE_PROTO 111a45f8853SCodrin Ciubotariu tristate "Support for Mikroe-PROTO board" 112a45f8853SCodrin Ciubotariu depends on OF 11353c156abSArnd Bergmann depends on SND_SOC_I2C_AND_SPI 114a45f8853SCodrin Ciubotariu select SND_SOC_WM8731 115a45f8853SCodrin Ciubotariu help 116a45f8853SCodrin Ciubotariu Say Y or M if you want to add support for MikroElektronika PROTO Audio 117a45f8853SCodrin Ciubotariu Board. This board contains the WM8731 codec, which can be configured 118a45f8853SCodrin Ciubotariu using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins. 119a45f8853SCodrin Ciubotariu Both playback and capture are supported. 120a45f8853SCodrin Ciubotariu 121b87d37d0SCodrin Ciubotariuconfig SND_MCHP_SOC_I2S_MCC 122b87d37d0SCodrin Ciubotariu tristate "Microchip ASoC driver for boards using I2S MCC" 123b87d37d0SCodrin Ciubotariu depends on OF && (ARCH_AT91 || COMPILE_TEST) 124b87d37d0SCodrin Ciubotariu select SND_SOC_GENERIC_DMAENGINE_PCM 125b87d37d0SCodrin Ciubotariu select REGMAP_MMIO 126b87d37d0SCodrin Ciubotariu help 127b87d37d0SCodrin Ciubotariu Say Y or M if you want to add support for I2S Multi-Channel ASoC 128b87d37d0SCodrin Ciubotariu driver on the following Microchip platforms: 129b87d37d0SCodrin Ciubotariu - sam9x60 130b87d37d0SCodrin Ciubotariu 131b87d37d0SCodrin Ciubotariu The I2SMCC complies with the Inter-IC Sound (I2S) bus specification 132b87d37d0SCodrin Ciubotariu and supports a Time Division Multiplexed (TDM) interface with 133b87d37d0SCodrin Ciubotariu external multi-channel audio codecs. 134b87d37d0SCodrin Ciubotariu 13506ca24e9SCodrin Ciubotariuconfig SND_MCHP_SOC_SPDIFTX 13606ca24e9SCodrin Ciubotariu tristate "Microchip ASoC driver for boards using S/PDIF TX" 13706ca24e9SCodrin Ciubotariu depends on OF && (ARCH_AT91 || COMPILE_TEST) 13806ca24e9SCodrin Ciubotariu select SND_SOC_GENERIC_DMAENGINE_PCM 13906ca24e9SCodrin Ciubotariu select REGMAP_MMIO 14006ca24e9SCodrin Ciubotariu help 14106ca24e9SCodrin Ciubotariu Say Y or M if you want to add support for Microchip S/PDIF TX ASoc 14206ca24e9SCodrin Ciubotariu driver on the following Microchip platforms: 14306ca24e9SCodrin Ciubotariu - sama7g5 14406ca24e9SCodrin Ciubotariu 14506ca24e9SCodrin Ciubotariu This S/PDIF TX driver is compliant with IEC-60958 standard and 14606ca24e9SCodrin Ciubotariu includes programable User Data and Channel Status fields. 147*ef265c55SCodrin Ciubotariu 148*ef265c55SCodrin Ciubotariuconfig SND_MCHP_SOC_SPDIFRX 149*ef265c55SCodrin Ciubotariu tristate "Microchip ASoC driver for boards using S/PDIF RX" 150*ef265c55SCodrin Ciubotariu depends on OF && (ARCH_AT91 || COMPILE_TEST) 151*ef265c55SCodrin Ciubotariu select SND_SOC_GENERIC_DMAENGINE_PCM 152*ef265c55SCodrin Ciubotariu select REGMAP_MMIO 153*ef265c55SCodrin Ciubotariu help 154*ef265c55SCodrin Ciubotariu Say Y or M if you want to add support for Microchip S/PDIF RX ASoc 155*ef265c55SCodrin Ciubotariu driver on the following Microchip platforms: 156*ef265c55SCodrin Ciubotariu - sama7g5 157*ef265c55SCodrin Ciubotariu 158*ef265c55SCodrin Ciubotariu This S/PDIF RX driver is compliant with IEC-60958 standard and 159*ef265c55SCodrin Ciubotariu includes programable User Data and Channel Status fields. 160fb67cdfbSAlexandre Belloniendif 161