1*ec8f24b7SThomas 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 139cf08a65SAlexandre Belloni tristate 148d7d1100SSudip Mukherjee depends on HAS_DMA 15061981ffSAlexandre Belloni default m if SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=m 16061981ffSAlexandre Belloni default y if SND_ATMEL_SOC_SSC_PDC=y || (SND_ATMEL_SOC_SSC_PDC=m && SND_ATMEL_SOC_SSC=y) 17061981ffSAlexandre Belloni 18061981ffSAlexandre Belloniconfig SND_ATMEL_SOC_SSC_PDC 19061981ffSAlexandre Belloni tristate 2092dfa619SBo Shen 213951e4aaSBo Shenconfig SND_ATMEL_SOC_DMA 229cf08a65SAlexandre Belloni tristate 2395e0e07eSBo Shen select SND_SOC_GENERIC_DMAENGINE_PCM 24061981ffSAlexandre Belloni default m if SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=m 25061981ffSAlexandre Belloni default y if SND_ATMEL_SOC_SSC_DMA=y || (SND_ATMEL_SOC_SSC_DMA=m && SND_ATMEL_SOC_SSC=y) 26061981ffSAlexandre Belloni 27061981ffSAlexandre Belloniconfig SND_ATMEL_SOC_SSC_DMA 28061981ffSAlexandre Belloni tristate 293951e4aaSBo Shen 306c742509SSedji Gaouaouconfig SND_ATMEL_SOC_SSC 316c742509SSedji Gaouaou tristate 32061981ffSAlexandre Belloni default y if SND_ATMEL_SOC_SSC_DMA=y || SND_ATMEL_SOC_SSC_PDC=y 33061981ffSAlexandre Belloni default m if SND_ATMEL_SOC_SSC_DMA=m || SND_ATMEL_SOC_SSC_PDC=m 346c742509SSedji Gaouaou 356c742509SSedji Gaouaouconfig SND_AT91_SOC_SAM9G20_WM8731 366c742509SSedji Gaouaou tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board" 37ada602b3SLars-Peter Clausen depends on ARCH_AT91 || COMPILE_TEST 38fb67cdfbSAlexandre Belloni depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI 39061981ffSAlexandre Belloni select SND_ATMEL_SOC_SSC_PDC 406c742509SSedji Gaouaou select SND_SOC_WM8731 416c742509SSedji Gaouaou help 426c742509SSedji Gaouaou Say Y if you want to add support for SoC audio on WM8731-based 436c742509SSedji Gaouaou AT91sam9g20 evaluation board. 446c742509SSedji Gaouaou 4552f19b14SBo Shenconfig SND_ATMEL_SOC_WM8904 4652f19b14SBo Shen tristate "Atmel ASoC driver for boards using WM8904 codec" 47ada602b3SLars-Peter Clausen depends on ARCH_AT91 || COMPILE_TEST 48fb67cdfbSAlexandre Belloni depends on ATMEL_SSC && I2C 49061981ffSAlexandre Belloni select SND_ATMEL_SOC_SSC_DMA 5052f19b14SBo Shen select SND_SOC_WM8904 5152f19b14SBo Shen help 5252f19b14SBo Shen Say Y if you want to add support for Atmel ASoC driver for boards using 5352f19b14SBo Shen WM8904 codec. 5452f19b14SBo Shen 55fdbcb3cbSNicolas Ferreconfig SND_AT91_SOC_SAM9X5_WM8731 56fdbcb3cbSNicolas Ferre tristate "SoC Audio support for WM8731-based at91sam9x5 board" 57ada602b3SLars-Peter Clausen depends on ARCH_AT91 || COMPILE_TEST 58fb67cdfbSAlexandre Belloni depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI 59061981ffSAlexandre Belloni select SND_ATMEL_SOC_SSC_DMA 60fdbcb3cbSNicolas Ferre select SND_SOC_WM8731 61fdbcb3cbSNicolas Ferre help 62fdbcb3cbSNicolas Ferre Say Y if you want to add support for audio SoC on an 63fdbcb3cbSNicolas Ferre at91sam9x5 based board that is using WM8731 codec. 64e0a25b6dSSongjun Wu 65e0a25b6dSSongjun Wuconfig SND_ATMEL_SOC_CLASSD 66e0a25b6dSSongjun Wu tristate "Atmel ASoC driver for boards using CLASSD" 67e0a25b6dSSongjun Wu depends on ARCH_AT91 || COMPILE_TEST 680f0be40bSAlexandre Belloni select SND_SOC_GENERIC_DMAENGINE_PCM 69e0a25b6dSSongjun Wu select REGMAP_MMIO 70e0a25b6dSSongjun Wu help 71e0a25b6dSSongjun Wu Say Y if you want to add support for Atmel ASoC driver for boards using 72e0a25b6dSSongjun Wu CLASSD. 73a7664ab2SSongjun Wu 74a7664ab2SSongjun Wuconfig SND_ATMEL_SOC_PDMIC 75a7664ab2SSongjun Wu tristate "Atmel ASoC driver for boards using PDMIC" 76a7664ab2SSongjun Wu depends on OF && (ARCH_AT91 || COMPILE_TEST) 77a7664ab2SSongjun Wu select SND_SOC_GENERIC_DMAENGINE_PCM 78a7664ab2SSongjun Wu select REGMAP_MMIO 79a7664ab2SSongjun Wu help 80a7664ab2SSongjun Wu Say Y if you want to add support for Atmel ASoC driver for boards using 81a7664ab2SSongjun Wu PDMIC. 82aa431124SPeter Rosin 83aa431124SPeter Rosinconfig SND_ATMEL_SOC_TSE850_PCM5142 84aa431124SPeter Rosin tristate "ASoC driver for the Axentia TSE-850" 85aa431124SPeter Rosin depends on ARCH_AT91 && OF 86aa431124SPeter Rosin depends on ATMEL_SSC && I2C 87aa431124SPeter Rosin select SND_ATMEL_SOC_SSC_DMA 88aa431124SPeter Rosin select SND_SOC_PCM512x_I2C 89aa431124SPeter Rosin help 90aa431124SPeter Rosin Say Y if you want to add support for the ASoC driver for the 91aa431124SPeter Rosin Axentia TSE-850 with a PCM5142 codec. 92b543e467SCyrille Pitchen 93b543e467SCyrille Pitchenconfig SND_ATMEL_SOC_I2S 94b543e467SCyrille Pitchen tristate "Atmel ASoC driver for boards using I2S" 95b543e467SCyrille Pitchen depends on OF && (ARCH_AT91 || COMPILE_TEST) 96b543e467SCyrille Pitchen select SND_SOC_GENERIC_DMAENGINE_PCM 97b543e467SCyrille Pitchen select REGMAP_MMIO 98b543e467SCyrille Pitchen help 99b543e467SCyrille Pitchen Say Y or M if you want to add support for Atmel ASoc driver for boards 100b543e467SCyrille Pitchen using I2S. 101a45f8853SCodrin Ciubotariu 102a45f8853SCodrin Ciubotariuconfig SND_SOC_MIKROE_PROTO 103a45f8853SCodrin Ciubotariu tristate "Support for Mikroe-PROTO board" 104a45f8853SCodrin Ciubotariu depends on OF 10553c156abSArnd Bergmann depends on SND_SOC_I2C_AND_SPI 106a45f8853SCodrin Ciubotariu select SND_SOC_WM8731 107a45f8853SCodrin Ciubotariu help 108a45f8853SCodrin Ciubotariu Say Y or M if you want to add support for MikroElektronika PROTO Audio 109a45f8853SCodrin Ciubotariu Board. This board contains the WM8731 codec, which can be configured 110a45f8853SCodrin Ciubotariu using I2C over SDA (MPU Data Input) and SCL (MPU Clock Input) pins. 111a45f8853SCodrin Ciubotariu Both playback and capture are supported. 112a45f8853SCodrin Ciubotariu 113b87d37d0SCodrin Ciubotariuconfig SND_MCHP_SOC_I2S_MCC 114b87d37d0SCodrin Ciubotariu tristate "Microchip ASoC driver for boards using I2S MCC" 115b87d37d0SCodrin Ciubotariu depends on OF && (ARCH_AT91 || COMPILE_TEST) 116b87d37d0SCodrin Ciubotariu select SND_SOC_GENERIC_DMAENGINE_PCM 117b87d37d0SCodrin Ciubotariu select REGMAP_MMIO 118b87d37d0SCodrin Ciubotariu help 119b87d37d0SCodrin Ciubotariu Say Y or M if you want to add support for I2S Multi-Channel ASoC 120b87d37d0SCodrin Ciubotariu driver on the following Microchip platforms: 121b87d37d0SCodrin Ciubotariu - sam9x60 122b87d37d0SCodrin Ciubotariu 123b87d37d0SCodrin Ciubotariu The I2SMCC complies with the Inter-IC Sound (I2S) bus specification 124b87d37d0SCodrin Ciubotariu and supports a Time Division Multiplexed (TDM) interface with 125b87d37d0SCodrin Ciubotariu external multi-channel audio codecs. 126b87d37d0SCodrin Ciubotariu 127fb67cdfbSAlexandre Belloniendif 128