Kconfig 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config SND_SOC_AMD_ACP
  3. tristate "AMD Audio Coprocessor support"
  4. help
  5. This option enables ACP DMA support on AMD platform.
  6. config SND_SOC_AMD_CZ_DA7219MX98357_MACH
  7. tristate "AMD CZ support for DA7219, RT5682 and MAX9835"
  8. select CLK_FIXED_FCH
  9. select SND_SOC_DA7219
  10. select SND_SOC_RT5682_I2C
  11. select SND_SOC_MAX98357A
  12. select SND_SOC_ADAU7002
  13. select REGULATOR
  14. depends on SND_SOC_AMD_ACP && I2C && GPIOLIB && ACPI
  15. help
  16. This option enables machine driver for DA7219, RT5682 and MAX9835.
  17. config SND_SOC_AMD_CZ_RT5645_MACH
  18. tristate "AMD CZ support for RT5645"
  19. select SND_SOC_RT5645
  20. depends on SND_SOC_AMD_ACP && I2C
  21. help
  22. This option enables machine driver for rt5645.
  23. config SND_SOC_AMD_ST_ES8336_MACH
  24. tristate "AMD ST support for ES8336"
  25. select SND_SOC_ACPI if ACPI
  26. select SND_SOC_ES8316
  27. depends on SND_SOC_AMD_ACP && ACPI
  28. depends on I2C
  29. help
  30. This option enables machine driver for Jadeite platform
  31. using es8336 codec.
  32. Say m if you have such a device.
  33. If unsure select "N".
  34. config SND_SOC_AMD_ACP3x
  35. tristate "AMD Audio Coprocessor-v3.x support"
  36. depends on X86 && PCI
  37. help
  38. This option enables ACP v3.x I2S support on AMD platform
  39. config SND_SOC_AMD_RV_RT5682_MACH
  40. tristate "AMD RV support for RT5682"
  41. select CLK_FIXED_FCH
  42. select SND_SOC_RT5682_I2C
  43. select SND_SOC_MAX98357A
  44. select SND_SOC_CROS_EC_CODEC
  45. select I2C_CROS_EC_TUNNEL
  46. select SND_SOC_RT1015
  47. select SND_SOC_RT1015P
  48. depends on SND_SOC_AMD_ACP3x && I2C && CROS_EC && GPIOLIB
  49. help
  50. This option enables machine driver for RT5682 and MAX9835.
  51. config SND_SOC_AMD_RENOIR
  52. tristate "AMD Audio Coprocessor - Renoir support"
  53. select SND_AMD_ACP_CONFIG
  54. depends on X86 && PCI
  55. help
  56. This option enables ACP support for Renoir platform
  57. config SND_SOC_AMD_RENOIR_MACH
  58. tristate "AMD Renoir support for DMIC"
  59. select SND_SOC_DMIC
  60. depends on SND_SOC_AMD_RENOIR && GPIOLIB
  61. help
  62. This option enables machine driver for DMIC
  63. config SND_SOC_AMD_ACP5x
  64. tristate "AMD Audio Coprocessor-v5.x I2S support"
  65. depends on X86 && PCI
  66. select SND_AMD_ACP_CONFIG
  67. help
  68. This option enables ACP v5.x support on AMD platform
  69. By enabling this flag build will trigger for ACP PCI driver,
  70. ACP DMA driver, CPU DAI driver.
  71. config SND_SOC_AMD_VANGOGH_MACH
  72. tristate "AMD Vangogh support for NAU8821/CS35L41/MAX98388"
  73. select SND_SOC_NAU8821
  74. select SND_SOC_CS35L41_SPI
  75. select SND_SOC_MAX98388
  76. select SND_AMD_ACP_CONFIG
  77. depends on SND_SOC_AMD_ACP5x && I2C && SPI_MASTER
  78. help
  79. This option enables machine driver for Vangogh platform
  80. using NAU8821 and either CS35L41 or MAX98388 codecs.
  81. Say m if you have such a device.
  82. If unsure select "N".
  83. config SND_SOC_AMD_ACP6x
  84. tristate "AMD Audio Coprocessor-v6.x Yellow Carp support"
  85. select SND_AMD_ACP_CONFIG
  86. depends on X86 && PCI
  87. help
  88. This option enables Audio Coprocessor i.e ACP v6.x support on
  89. AMD Yellow Carp platform. By enabling this flag build will be
  90. triggered for ACP PCI driver, ACP PDM DMA driver.
  91. Say m if you have such a device.
  92. If unsure select "N".
  93. config SND_SOC_AMD_YC_MACH
  94. tristate "AMD YC support for DMIC"
  95. select SND_SOC_DMIC
  96. depends on SND_SOC_AMD_ACP6x && ACPI
  97. help
  98. This option enables machine driver for Yellow Carp platform
  99. using dmic. ACP IP has PDM Decoder block with DMA controller.
  100. DMIC can be connected directly to ACP IP.
  101. Say m if you have such a device.
  102. If unsure select "N".
  103. config SND_AMD_ACP_CONFIG
  104. tristate "AMD ACP configuration selection"
  105. select SND_SOC_ACPI if ACPI
  106. help
  107. This option adds an auto detection to determine which ACP
  108. driver modules to use
  109. source "sound/soc/amd/acp/Kconfig"
  110. config SND_SOC_AMD_RPL_ACP6x
  111. tristate "AMD Audio Coprocessor-v6.2 RPL support"
  112. depends on X86 && PCI
  113. help
  114. This option enables Audio Coprocessor i.e. ACP v6.2 support on
  115. AMD RPL platform. By enabling this flag build will be
  116. triggered for ACP PCI driver.
  117. Say m if you have such a device.
  118. If unsure select "N".
  119. config SND_SOC_AMD_ACP63_TOPLEVEL
  120. tristate "support for AMD platforms with ACP version >= 6.3"
  121. default SND_AMD_ACP_CONFIG
  122. depends on SND_AMD_ACP_CONFIG
  123. depends on SOUNDWIRE_AMD || !SOUNDWIRE_AMD
  124. depends on X86 || COMPILE_TEST
  125. help
  126. This adds support for AMD platforms with ACP version >= 6.3.
  127. Say Y if you have such a device.
  128. If unsure select "N".
  129. if SND_SOC_AMD_ACP63_TOPLEVEL
  130. config SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
  131. tristate
  132. select SND_AMD_SOUNDWIRE_ACPI if ACPI
  133. config SND_SOC_AMD_SOUNDWIRE
  134. tristate "Support for SoundWire based AMD platforms"
  135. default SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
  136. depends on SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
  137. depends on ACPI
  138. depends on SOUNDWIRE_AMD
  139. help
  140. This adds support for SoundWire for AMD platforms.
  141. Say Y if you want to enable SoundWire links with SOF.
  142. If unsure select "N".
  143. config SND_SOC_AMD_PS
  144. tristate "AMD Audio Coprocessor-v6.3 Pink Sardine support"
  145. select SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
  146. depends on X86 && PCI && ACPI
  147. help
  148. This option enables Audio Coprocessor i.e ACP v6.3 support on
  149. AMD Pink sardine platform. By enabling this flag build will be
  150. triggered for ACP PCI driver, ACP PDM DMA driver, ACP SoundWire
  151. DMA driver.
  152. Say m if you have such a device.
  153. If unsure select "N".
  154. config SND_SOC_AMD_PS_MACH
  155. tristate "AMD PINK SARDINE support for DMIC"
  156. select SND_SOC_DMIC
  157. depends on SND_SOC_AMD_PS
  158. help
  159. This option enables machine driver for Pink Sardine platform
  160. using dmic. ACP IP has PDM Decoder block with DMA controller.
  161. DMIC can be connected directly to ACP IP.
  162. Say m if you have such a device.
  163. If unsure select "N".
  164. endif