Kconfig 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menu "HD-Audio"
  3. config SND_HDA
  4. tristate
  5. select SND_PCM
  6. select SND_VMASTER
  7. select SND_JACK
  8. select SND_HDA_CORE
  9. config SND_HDA_GENERIC_LEDS
  10. bool
  11. config SND_HDA_INTEL
  12. tristate "HD Audio PCI"
  13. depends on SND_PCI
  14. select SND_HDA
  15. select SND_INTEL_DSP_CONFIG
  16. help
  17. Say Y here to include support for Intel "High Definition
  18. Audio" (Azalia) and its compatible devices.
  19. This option enables the HD-audio controller. Don't forget
  20. to choose the appropriate codec options below.
  21. To compile this driver as a module, choose M here: the module
  22. will be called snd-hda-intel.
  23. config SND_HDA_TEGRA
  24. tristate "NVIDIA Tegra HD Audio"
  25. depends on ARCH_TEGRA
  26. select SND_HDA
  27. select SND_HDA_ALIGNED_MMIO
  28. help
  29. Say Y here to support the HDA controller present in NVIDIA
  30. Tegra SoCs
  31. This options enables support for the HD Audio controller
  32. present in some NVIDIA Tegra SoCs, used to communicate audio
  33. to the HDMI output.
  34. To compile this driver as a module, choose M here: the module
  35. will be called snd-hda-tegra.
  36. if SND_HDA
  37. config SND_HDA_HWDEP
  38. bool "Build hwdep interface for HD-audio driver"
  39. select SND_HWDEP
  40. help
  41. Say Y here to build a hwdep interface for HD-audio driver.
  42. This interface can be used for out-of-band communication
  43. with codecs for debugging purposes.
  44. config SND_HDA_RECONFIG
  45. bool "Allow dynamic codec reconfiguration"
  46. help
  47. Say Y here to enable the HD-audio codec re-configuration feature.
  48. It allows user to clear the whole codec configuration, change the
  49. codec setup, add extra verbs, and re-configure the codec dynamically.
  50. Note that this item alone doesn't provide the sysfs interface, but
  51. enables the feature just for the patch loader below.
  52. If you need the traditional sysfs entries for the manual interaction,
  53. turn on CONFIG_SND_HDA_HWDEP as well.
  54. config SND_HDA_INPUT_BEEP
  55. bool "Support digital beep via input layer"
  56. depends on INPUT=y || INPUT=SND_HDA
  57. help
  58. Say Y here to build a digital beep interface for HD-audio
  59. driver. This interface is used to generate digital beeps.
  60. config SND_HDA_INPUT_BEEP_MODE
  61. int "Digital beep registration mode (0=off, 1=on)"
  62. depends on SND_HDA_INPUT_BEEP=y
  63. default "1"
  64. range 0 1
  65. help
  66. Set 0 to disable the digital beep interface for HD-audio by default.
  67. Set 1 to always enable the digital beep interface for HD-audio by
  68. default.
  69. config SND_HDA_PATCH_LOADER
  70. bool "Support initialization patch loading for HD-audio"
  71. select FW_LOADER
  72. select SND_HDA_RECONFIG
  73. help
  74. Say Y here to allow the HD-audio driver to load a pseudo
  75. firmware file ("patch") for overriding the BIOS setup at
  76. start up. The "patch" file can be specified via patch module
  77. option, such as patch=hda-init.
  78. config SND_HDA_SCODEC_CS35L41
  79. tristate
  80. select SND_HDA_GENERIC
  81. select REGMAP_IRQ
  82. config SND_HDA_CS_DSP_CONTROLS
  83. tristate
  84. select CS_DSP
  85. config SND_HDA_SCODEC_CS35L41_I2C
  86. tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
  87. depends on I2C
  88. depends on ACPI
  89. depends on SND_SOC
  90. select SND_SOC_CS35L41_LIB
  91. select SND_HDA_SCODEC_CS35L41
  92. select SND_HDA_CS_DSP_CONTROLS
  93. help
  94. Say Y or M here to include CS35L41 I2C HD-audio side codec support
  95. in snd-hda-intel driver, such as ALC287.
  96. comment "Set to Y if you want auto-loading the side codec driver"
  97. depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_I2C=m
  98. config SND_HDA_SCODEC_CS35L41_SPI
  99. tristate "Build CS35L41 HD-audio codec support for SPI Bus"
  100. depends on SPI_MASTER
  101. depends on ACPI
  102. depends on SND_SOC
  103. select SND_SOC_CS35L41_LIB
  104. select SND_HDA_SCODEC_CS35L41
  105. select SND_HDA_CS_DSP_CONTROLS
  106. help
  107. Say Y or M here to include CS35L41 SPI HD-audio side codec support
  108. in snd-hda-intel driver, such as ALC287.
  109. comment "Set to Y if you want auto-loading the side codec driver"
  110. depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_SPI=m
  111. config SND_HDA_CODEC_REALTEK
  112. tristate "Build Realtek HD-audio codec support"
  113. select SND_HDA_GENERIC
  114. select SND_HDA_GENERIC_LEDS
  115. help
  116. Say Y or M here to include Realtek HD-audio codec support in
  117. snd-hda-intel driver, such as ALC880.
  118. comment "Set to Y if you want auto-loading the codec driver"
  119. depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
  120. config SND_HDA_CODEC_ANALOG
  121. tristate "Build Analog Devices HD-audio codec support"
  122. select SND_HDA_GENERIC
  123. help
  124. Say Y or M here to include Analog Devices HD-audio codec support in
  125. snd-hda-intel driver, such as AD1986A.
  126. comment "Set to Y if you want auto-loading the codec driver"
  127. depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
  128. config SND_HDA_CODEC_SIGMATEL
  129. tristate "Build IDT/Sigmatel HD-audio codec support"
  130. select SND_HDA_GENERIC
  131. select SND_HDA_GENERIC_LEDS
  132. help
  133. Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
  134. snd-hda-intel driver, such as STAC9200.
  135. comment "Set to Y if you want auto-loading the codec driver"
  136. depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
  137. config SND_HDA_CODEC_VIA
  138. tristate "Build VIA HD-audio codec support"
  139. select SND_HDA_GENERIC
  140. help
  141. Say Y or M here to include VIA HD-audio codec support in
  142. snd-hda-intel driver, such as VT1708.
  143. comment "Set to Y if you want auto-loading the codec driver"
  144. depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
  145. config SND_HDA_CODEC_HDMI
  146. tristate "Build HDMI/DisplayPort HD-audio codec support"
  147. select SND_DYNAMIC_MINORS
  148. help
  149. Say Y or M here to include HDMI and DisplayPort HD-audio codec
  150. support in snd-hda-intel driver. This includes all AMD/ATI,
  151. Intel and Nvidia HDMI/DisplayPort codecs.
  152. Note that this option mandatorily enables CONFIG_SND_DYNAMIC_MINORS
  153. to assure the multiple streams for DP-MST support.
  154. comment "Set to Y if you want auto-loading the codec driver"
  155. depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
  156. config SND_HDA_CODEC_CIRRUS
  157. tristate "Build Cirrus Logic codec support"
  158. select SND_HDA_GENERIC
  159. help
  160. Say Y or M here to include Cirrus Logic codec support in
  161. snd-hda-intel driver, such as CS4206.
  162. comment "Set to Y if you want auto-loading the codec driver"
  163. depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
  164. config SND_HDA_CODEC_CS8409
  165. tristate "Build Cirrus Logic HDA bridge support"
  166. select SND_HDA_GENERIC
  167. help
  168. Say Y or M here to include Cirrus Logic HDA bridge support in
  169. snd-hda-intel driver, such as CS8409.
  170. comment "Set to Y if you want auto-loading the codec driver"
  171. depends on SND_HDA=y && SND_HDA_CODEC_CS8409=m
  172. config SND_HDA_CODEC_CONEXANT
  173. tristate "Build Conexant HD-audio codec support"
  174. select SND_HDA_GENERIC
  175. select SND_HDA_GENERIC_LEDS
  176. help
  177. Say Y or M here to include Conexant HD-audio codec support in
  178. snd-hda-intel driver, such as CX20549.
  179. comment "Set to Y if you want auto-loading the codec driver"
  180. depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
  181. config SND_HDA_CODEC_CA0110
  182. tristate "Build Creative CA0110-IBG codec support"
  183. select SND_HDA_GENERIC
  184. help
  185. Say Y or M here to include Creative CA0110-IBG codec support in
  186. snd-hda-intel driver, found on some Creative X-Fi cards.
  187. comment "Set to Y if you want auto-loading the codec driver"
  188. depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
  189. config SND_HDA_CODEC_CA0132
  190. tristate "Build Creative CA0132 codec support"
  191. help
  192. Say Y or M here to include Creative CA0132 codec support in
  193. snd-hda-intel driver.
  194. comment "Set to Y if you want auto-loading the codec driver"
  195. depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
  196. config SND_HDA_CODEC_CA0132_DSP
  197. bool "Support new DSP code for CA0132 codec"
  198. depends on SND_HDA_CODEC_CA0132
  199. default y
  200. select SND_HDA_DSP_LOADER
  201. select FW_LOADER
  202. help
  203. Say Y here to enable the DSP for Creative CA0132 for extended
  204. features like equalizer or echo cancellation.
  205. Note that this option requires the external firmware file
  206. (ctefx.bin).
  207. config SND_HDA_CODEC_CMEDIA
  208. tristate "Build C-Media HD-audio codec support"
  209. select SND_HDA_GENERIC
  210. help
  211. Say Y or M here to include C-Media HD-audio codec support in
  212. snd-hda-intel driver, such as CMI9880.
  213. comment "Set to Y if you want auto-loading the codec driver"
  214. depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
  215. config SND_HDA_CODEC_SI3054
  216. tristate "Build Silicon Labs 3054 HD-modem codec support"
  217. help
  218. Say Y or M here to include Silicon Labs 3054 HD-modem codec
  219. (and compatibles) support in snd-hda-intel driver.
  220. comment "Set to Y if you want auto-loading the codec driver"
  221. depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
  222. config SND_HDA_GENERIC
  223. tristate "Enable generic HD-audio codec parser"
  224. select SND_CTL_LED if SND_HDA_GENERIC_LEDS
  225. select LEDS_CLASS if SND_HDA_GENERIC_LEDS
  226. help
  227. Say Y or M here to enable the generic HD-audio codec parser
  228. in snd-hda-intel driver.
  229. comment "Set to Y if you want auto-loading the codec driver"
  230. depends on SND_HDA=y && SND_HDA_GENERIC=m
  231. config SND_HDA_POWER_SAVE_DEFAULT
  232. int "Default time-out for HD-audio power-save mode"
  233. depends on PM
  234. default 0
  235. help
  236. The default time-out value in seconds for HD-audio automatic
  237. power-save mode. 0 means to disable the power-save mode.
  238. config SND_HDA_INTEL_HDMI_SILENT_STREAM
  239. bool "Enable Silent Stream always for HDMI"
  240. depends on SND_HDA_INTEL
  241. help
  242. Say Y to enable HD-Audio Keep Alive (KAE) aka Silent Stream
  243. for HDMI on hardware that supports the feature.
  244. When enabled, the HDMI/DisplayPort codec will continue to provide
  245. a continuous clock and a valid but silent data stream to
  246. any connected external receiver. This allows to avoid gaps
  247. at start of playback. Many receivers require multiple seconds
  248. to start playing audio after the clock has been stopped.
  249. This feature can impact power consumption as resources
  250. are kept reserved both at transmitter and receiver.
  251. config SND_HDA_CTL_DEV_ID
  252. bool "Use the device identifier field for controls"
  253. depends on SND_HDA_INTEL
  254. help
  255. Say Y to use the device identifier field for (mixer)
  256. controls (old behaviour until this option is available).
  257. When enabled, the multiple HDA codecs may set the device
  258. field in control (mixer) element identifiers. The use
  259. of this field is not recommended and defined for mixer controls.
  260. The old behaviour (Y) is obsolete and will be removed. Consider
  261. to not enable this option.
  262. endif
  263. endmenu