Kconfig 5.7 KB

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