1 # SPDX-License-Identifier: GPL-2.0-only
11 config SND_HDA_GENERIC_LEDS
15 tristate "HD Audio PCI"
18 select SND_INTEL_DSP_CONFIG
20 Say Y here to include support for Intel "High Definition
21 Audio" (Azalia) and its compatible devices.
23 This option enables the HD-audio controller. Don't forget
24 to choose the appropriate codec options below.
26 To compile this driver as a module, choose M here: the module
27 will be called snd-hda-intel.
30 tristate "NVIDIA Tegra HD Audio"
33 select SND_HDA_ALIGNED_MMIO
35 Say Y here to support the HDA controller present in NVIDIA
38 This options enables support for the HD Audio controller
39 present in some NVIDIA Tegra SoCs, used to communicate audio
42 To compile this driver as a module, choose M here: the module
43 will be called snd-hda-tegra.
48 bool "Build hwdep interface for HD-audio driver"
51 Say Y here to build a hwdep interface for HD-audio driver.
52 This interface can be used for out-of-band communication
53 with codecs for debugging purposes.
55 config SND_HDA_RECONFIG
56 bool "Allow dynamic codec reconfiguration"
58 Say Y here to enable the HD-audio codec re-configuration feature.
59 It allows user to clear the whole codec configuration, change the
60 codec setup, add extra verbs, and re-configure the codec dynamically.
62 Note that this item alone doesn't provide the sysfs interface, but
63 enables the feature just for the patch loader below.
64 If you need the traditional sysfs entries for the manual interaction,
65 turn on CONFIG_SND_HDA_HWDEP as well.
67 config SND_HDA_INPUT_BEEP
68 bool "Support digital beep via input layer"
69 depends on INPUT=y || INPUT=SND_HDA
71 Say Y here to build a digital beep interface for HD-audio
72 driver. This interface is used to generate digital beeps.
74 config SND_HDA_INPUT_BEEP_MODE
75 int "Digital beep registration mode (0=off, 1=on)"
76 depends on SND_HDA_INPUT_BEEP=y
80 Set 0 to disable the digital beep interface for HD-audio by default.
81 Set 1 to always enable the digital beep interface for HD-audio by
84 config SND_HDA_PATCH_LOADER
85 bool "Support initialization patch loading for HD-audio"
87 select SND_HDA_RECONFIG
89 Say Y here to allow the HD-audio driver to load a pseudo
90 firmware file ("patch") for overriding the BIOS setup at
91 start up. The "patch" file can be specified via patch module
92 option, such as patch=hda-init.
94 config SND_HDA_CIRRUS_SCODEC
97 config SND_HDA_CIRRUS_SCODEC_KUNIT_TEST
98 tristate "KUnit test for Cirrus side-codec library" if !KUNIT_ALL_TESTS
99 select SND_HDA_CIRRUS_SCODEC
102 default KUNIT_ALL_TESTS
104 This builds KUnit tests for the cirrus side-codec library.
105 For more information on KUnit and unit tests in general,
106 please refer to the KUnit documentation in
107 Documentation/dev-tools/kunit/.
108 If in doubt, say "N".
110 config SND_HDA_SCODEC_CS35L41
112 select SND_HDA_GENERIC
115 config SND_HDA_CS_DSP_CONTROLS
119 config SND_HDA_SCODEC_CS35L41_I2C
120 tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
125 select SND_SOC_CS35L41_LIB
126 select SND_HDA_SCODEC_CS35L41
127 select SND_HDA_CS_DSP_CONTROLS
129 Say Y or M here to include CS35L41 I2C HD-audio side codec support
130 in snd-hda-intel driver, such as ALC287.
132 comment "Set to Y if you want auto-loading the side codec driver"
133 depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_I2C=m
135 config SND_HDA_SCODEC_CS35L41_SPI
136 tristate "Build CS35L41 HD-audio codec support for SPI Bus"
137 depends on SPI_MASTER
141 select SND_SOC_CS35L41_LIB
142 select SND_HDA_SCODEC_CS35L41
143 select SND_HDA_CS_DSP_CONTROLS
145 Say Y or M here to include CS35L41 SPI HD-audio side codec support
146 in snd-hda-intel driver, such as ALC287.
148 comment "Set to Y if you want auto-loading the side codec driver"
149 depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_SPI=m
151 config SND_HDA_SCODEC_CS35L56
154 config SND_HDA_SCODEC_CS35L56_I2C
155 tristate "Build CS35L56 HD-audio side codec support for I2C Bus"
157 depends on ACPI || COMPILE_TEST
160 select SND_HDA_GENERIC
161 select SND_SOC_CS35L56_SHARED
162 select SND_HDA_SCODEC_CS35L56
163 select SND_HDA_CIRRUS_SCODEC
164 select SND_HDA_CS_DSP_CONTROLS
166 Say Y or M here to include CS35L56 amplifier support with
169 config SND_HDA_SCODEC_CS35L56_SPI
170 tristate "Build CS35L56 HD-audio side codec support for SPI Bus"
171 depends on SPI_MASTER
172 depends on ACPI || COMPILE_TEST
175 select SND_HDA_GENERIC
176 select SND_SOC_CS35L56_SHARED
177 select SND_HDA_SCODEC_CS35L56
178 select SND_HDA_CIRRUS_SCODEC
179 select SND_HDA_CS_DSP_CONTROLS
181 Say Y or M here to include CS35L56 amplifier support with
184 config SND_HDA_SCODEC_TAS2781_I2C
185 tristate "Build TAS2781 HD-audio side codec support for I2C Bus"
190 select SND_SOC_TAS2781_COMLIB
191 select SND_SOC_TAS2781_FMWLIB
194 Say Y or M here to include TAS2781 I2C HD-audio side codec support
195 in snd-hda-intel driver, such as ALC287.
197 comment "Set to Y if you want auto-loading the side codec driver"
198 depends on SND_HDA=y && SND_HDA_SCODEC_TAS2781_I2C=m
200 config SND_HDA_CODEC_REALTEK
201 tristate "Build Realtek HD-audio codec support"
202 select SND_HDA_GENERIC
203 select SND_HDA_GENERIC_LEDS
205 Say Y or M here to include Realtek HD-audio codec support in
206 snd-hda-intel driver, such as ALC880.
208 comment "Set to Y if you want auto-loading the codec driver"
209 depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
211 config SND_HDA_CODEC_ANALOG
212 tristate "Build Analog Devices HD-audio codec support"
213 select SND_HDA_GENERIC
215 Say Y or M here to include Analog Devices HD-audio codec support in
216 snd-hda-intel driver, such as AD1986A.
218 comment "Set to Y if you want auto-loading the codec driver"
219 depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
221 config SND_HDA_CODEC_SIGMATEL
222 tristate "Build IDT/Sigmatel HD-audio codec support"
223 select SND_HDA_GENERIC
224 select SND_HDA_GENERIC_LEDS
226 Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
227 snd-hda-intel driver, such as STAC9200.
229 comment "Set to Y if you want auto-loading the codec driver"
230 depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
232 config SND_HDA_CODEC_VIA
233 tristate "Build VIA HD-audio codec support"
234 select SND_HDA_GENERIC
236 Say Y or M here to include VIA HD-audio codec support in
237 snd-hda-intel driver, such as VT1708.
239 comment "Set to Y if you want auto-loading the codec driver"
240 depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
242 config SND_HDA_CODEC_HDMI
243 tristate "Build HDMI/DisplayPort HD-audio codec support"
244 select SND_DYNAMIC_MINORS
246 Say Y or M here to include HDMI and DisplayPort HD-audio codec
247 support in snd-hda-intel driver. This includes all AMD/ATI,
248 Intel and Nvidia HDMI/DisplayPort codecs.
250 Note that this option mandatorily enables CONFIG_SND_DYNAMIC_MINORS
251 to assure the multiple streams for DP-MST support.
253 comment "Set to Y if you want auto-loading the codec driver"
254 depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
256 config SND_HDA_CODEC_CIRRUS
257 tristate "Build Cirrus Logic codec support"
258 select SND_HDA_GENERIC
260 Say Y or M here to include Cirrus Logic codec support in
261 snd-hda-intel driver, such as CS4206.
263 comment "Set to Y if you want auto-loading the codec driver"
264 depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
266 config SND_HDA_CODEC_CS8409
267 tristate "Build Cirrus Logic HDA bridge support"
268 select SND_HDA_GENERIC
270 Say Y or M here to include Cirrus Logic HDA bridge support in
271 snd-hda-intel driver, such as CS8409.
273 comment "Set to Y if you want auto-loading the codec driver"
274 depends on SND_HDA=y && SND_HDA_CODEC_CS8409=m
276 config SND_HDA_CODEC_CONEXANT
277 tristate "Build Conexant HD-audio codec support"
278 select SND_HDA_GENERIC
279 select SND_HDA_GENERIC_LEDS
281 Say Y or M here to include Conexant HD-audio codec support in
282 snd-hda-intel driver, such as CX20549.
284 comment "Set to Y if you want auto-loading the codec driver"
285 depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
287 config SND_HDA_CODEC_CA0110
288 tristate "Build Creative CA0110-IBG codec support"
289 select SND_HDA_GENERIC
291 Say Y or M here to include Creative CA0110-IBG codec support in
292 snd-hda-intel driver, found on some Creative X-Fi cards.
294 comment "Set to Y if you want auto-loading the codec driver"
295 depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
297 config SND_HDA_CODEC_CA0132
298 tristate "Build Creative CA0132 codec support"
300 Say Y or M here to include Creative CA0132 codec support in
301 snd-hda-intel driver.
303 comment "Set to Y if you want auto-loading the codec driver"
304 depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
306 config SND_HDA_CODEC_CA0132_DSP
307 bool "Support new DSP code for CA0132 codec"
308 depends on SND_HDA_CODEC_CA0132
310 select SND_HDA_DSP_LOADER
313 Say Y here to enable the DSP for Creative CA0132 for extended
314 features like equalizer or echo cancellation.
316 Note that this option requires the external firmware file
319 config SND_HDA_CODEC_CMEDIA
320 tristate "Build C-Media HD-audio codec support"
321 select SND_HDA_GENERIC
323 Say Y or M here to include C-Media HD-audio codec support in
324 snd-hda-intel driver, such as CMI9880.
326 comment "Set to Y if you want auto-loading the codec driver"
327 depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
329 config SND_HDA_CODEC_SI3054
330 tristate "Build Silicon Labs 3054 HD-modem codec support"
332 Say Y or M here to include Silicon Labs 3054 HD-modem codec
333 (and compatibles) support in snd-hda-intel driver.
335 comment "Set to Y if you want auto-loading the codec driver"
336 depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
338 config SND_HDA_GENERIC
339 tristate "Enable generic HD-audio codec parser"
340 select SND_CTL_LED if SND_HDA_GENERIC_LEDS
341 select LEDS_CLASS if SND_HDA_GENERIC_LEDS
343 Say Y or M here to enable the generic HD-audio codec parser
344 in snd-hda-intel driver.
346 comment "Set to Y if you want auto-loading the codec driver"
347 depends on SND_HDA=y && SND_HDA_GENERIC=m
349 config SND_HDA_POWER_SAVE_DEFAULT
350 int "Default time-out for HD-audio power-save mode"
354 The default time-out value in seconds for HD-audio automatic
355 power-save mode. 0 means to disable the power-save mode.
357 config SND_HDA_INTEL_HDMI_SILENT_STREAM
358 bool "Enable Silent Stream always for HDMI"
359 depends on SND_HDA_INTEL
361 Say Y to enable HD-Audio Keep Alive (KAE) aka Silent Stream
362 for HDMI on hardware that supports the feature.
364 When enabled, the HDMI/DisplayPort codec will continue to provide
365 a continuous clock and a valid but silent data stream to
366 any connected external receiver. This allows to avoid gaps
367 at start of playback. Many receivers require multiple seconds
368 to start playing audio after the clock has been stopped.
369 This feature can impact power consumption as resources
370 are kept reserved both at transmitter and receiver.
372 config SND_HDA_CTL_DEV_ID
373 bool "Use the device identifier field for controls"
374 depends on SND_HDA_INTEL
376 Say Y to use the device identifier field for (mixer)
377 controls (old behaviour until this option is available).
379 When enabled, the multiple HDA codecs may set the device
380 field in control (mixer) element identifiers. The use
381 of this field is not recommended and defined for mixer controls.
383 The old behaviour (Y) is obsolete and will be removed. Consider
384 to not enable this option.