]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - sound/pci/hda/Kconfig
ALSA: hda/hdmi: improve debug traces for stream lookups
[mirror_ubuntu-jammy-kernel.git] / sound / pci / hda / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
78e34f34
DR
2menu "HD-Audio"
3
4config SND_HDA
5 tristate
11b444d5
TI
6 select SND_PCM
7 select SND_VMASTER
fe0d128c 8 select SND_JACK
e3d280fc 9 select SND_HDA_CORE
78e34f34
DR
10
11config SND_HDA_INTEL
12 tristate "HD Audio PCI"
13 depends on SND_PCI
14 select SND_HDA
82d9d54a 15 select SND_INTEL_DSP_CONFIG
11b444d5
TI
16 help
17 Say Y here to include support for Intel "High Definition
18 Audio" (Azalia) and its compatible devices.
19
20 This option enables the HD-audio controller. Don't forget
21 to choose the appropriate codec options below.
22
23 To compile this driver as a module, choose M here: the module
24 will be called snd-hda-intel.
25
3c320f3f
DR
26config SND_HDA_TEGRA
27 tristate "NVIDIA Tegra HD Audio"
28 depends on ARCH_TEGRA
29 select SND_HDA
19abfefd 30 select SND_HDA_ALIGNED_MMIO
3c320f3f
DR
31 help
32 Say Y here to support the HDA controller present in NVIDIA
33 Tegra SoCs
34
35 This options enables support for the HD Audio controller
36 present in some NVIDIA Tegra SoCs, used to communicate audio
37 to the HDMI output.
38
39 To compile this driver as a module, choose M here: the module
40 will be called snd-hda-tegra.
41
78e34f34 42if SND_HDA
11b444d5
TI
43
44config SND_HDA_HWDEP
45 bool "Build hwdep interface for HD-audio driver"
46 select SND_HWDEP
47 help
48 Say Y here to build a hwdep interface for HD-audio driver.
49 This interface can be used for out-of-band communication
50 with codecs for debugging purposes.
51
52config SND_HDA_RECONFIG
0b1714ad 53 bool "Allow dynamic codec reconfiguration"
11b444d5
TI
54 help
55 Say Y here to enable the HD-audio codec re-configuration feature.
39f0ccde
TI
56 It allows user to clear the whole codec configuration, change the
57 codec setup, add extra verbs, and re-configure the codec dynamically.
58
59 Note that this item alone doesn't provide the sysfs interface, but
60 enables the feature just for the patch loader below.
61 If you need the traditional sysfs entries for the manual interaction,
62 turn on CONFIG_SND_HDA_HWDEP as well.
11b444d5
TI
63
64config SND_HDA_INPUT_BEEP
65 bool "Support digital beep via input layer"
78e34f34 66 depends on INPUT=y || INPUT=SND_HDA
11b444d5
TI
67 help
68 Say Y here to build a digital beep interface for HD-audio
69 driver. This interface is used to generate digital beeps.
70
2dca0bba 71config SND_HDA_INPUT_BEEP_MODE
0920c9b4 72 int "Digital beep registration mode (0=off, 1=on)"
2dca0bba
JK
73 depends on SND_HDA_INPUT_BEEP=y
74 default "1"
0920c9b4 75 range 0 1
2dca0bba
JK
76 help
77 Set 0 to disable the digital beep interface for HD-audio by default.
78 Set 1 to always enable the digital beep interface for HD-audio by
0920c9b4 79 default.
2dca0bba 80
4ea6fbc8
TI
81config SND_HDA_PATCH_LOADER
82 bool "Support initialization patch loading for HD-audio"
4ea6fbc8 83 select FW_LOADER
4ea6fbc8
TI
84 select SND_HDA_RECONFIG
85 help
86 Say Y here to allow the HD-audio driver to load a pseudo
87 firmware file ("patch") for overriding the BIOS setup at
88 start up. The "patch" file can be specified via patch module
89 option, such as patch=hda-init.
90
11b444d5 91config SND_HDA_CODEC_REALTEK
595fe1b7 92 tristate "Build Realtek HD-audio codec support"
08c189f2 93 select SND_HDA_GENERIC
11b444d5 94 help
595fe1b7 95 Say Y or M here to include Realtek HD-audio codec support in
11b444d5
TI
96 snd-hda-intel driver, such as ALC880.
97
d8f66c71 98comment "Set to Y if you want auto-loading the codec driver"
78e34f34 99 depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
d8f66c71 100
11b444d5 101config SND_HDA_CODEC_ANALOG
aa08ff0f 102 tristate "Build Analog Devices HD-audio codec support"
78bb3cb0 103 select SND_HDA_GENERIC
11b444d5 104 help
aa08ff0f 105 Say Y or M here to include Analog Devices HD-audio codec support in
11b444d5
TI
106 snd-hda-intel driver, such as AD1986A.
107
d8f66c71 108comment "Set to Y if you want auto-loading the codec driver"
78e34f34 109 depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
d8f66c71 110
11b444d5 111config SND_HDA_CODEC_SIGMATEL
595fe1b7 112 tristate "Build IDT/Sigmatel HD-audio codec support"
36c9db7a 113 select SND_HDA_GENERIC
11b444d5 114 help
595fe1b7 115 Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
11b444d5
TI
116 snd-hda-intel driver, such as STAC9200.
117
d8f66c71 118comment "Set to Y if you want auto-loading the codec driver"
78e34f34 119 depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
d8f66c71 120
11b444d5 121config SND_HDA_CODEC_VIA
595fe1b7 122 tristate "Build VIA HD-audio codec support"
b3f6008f 123 select SND_HDA_GENERIC
11b444d5 124 help
595fe1b7 125 Say Y or M here to include VIA HD-audio codec support in
11b444d5
TI
126 snd-hda-intel driver, such as VT1708.
127
d8f66c71 128comment "Set to Y if you want auto-loading the codec driver"
78e34f34 129 depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
d8f66c71 130
84eb01be 131config SND_HDA_CODEC_HDMI
595fe1b7 132 tristate "Build HDMI/DisplayPort HD-audio codec support"
f4a414aa 133 select SND_DYNAMIC_MINORS
11b444d5 134 help
595fe1b7 135 Say Y or M here to include HDMI and DisplayPort HD-audio codec
84eb01be
TI
136 support in snd-hda-intel driver. This includes all AMD/ATI,
137 Intel and Nvidia HDMI/DisplayPort codecs.
11b444d5 138
f4a414aa
TI
139 Note that this option mandatorily enables CONFIG_SND_DYNAMIC_MINORS
140 to assure the multiple streams for DP-MST support.
141
d8f66c71 142comment "Set to Y if you want auto-loading the codec driver"
78e34f34 143 depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
d8f66c71 144
e5f14248 145config SND_HDA_CODEC_CIRRUS
595fe1b7 146 tristate "Build Cirrus Logic codec support"
1077a024 147 select SND_HDA_GENERIC
e5f14248 148 help
595fe1b7 149 Say Y or M here to include Cirrus Logic codec support in
e5f14248
TI
150 snd-hda-intel driver, such as CS4206.
151
d8f66c71 152comment "Set to Y if you want auto-loading the codec driver"
78e34f34 153 depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
d8f66c71 154
11b444d5 155config SND_HDA_CODEC_CONEXANT
595fe1b7 156 tristate "Build Conexant HD-audio codec support"
aed523f1 157 select SND_HDA_GENERIC
11b444d5 158 help
595fe1b7 159 Say Y or M here to include Conexant HD-audio codec support in
11b444d5
TI
160 snd-hda-intel driver, such as CX20549.
161
d8f66c71 162comment "Set to Y if you want auto-loading the codec driver"
78e34f34 163 depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
d8f66c71 164
4e01f54b 165config SND_HDA_CODEC_CA0110
595fe1b7 166 tristate "Build Creative CA0110-IBG codec support"
8fadf1da 167 select SND_HDA_GENERIC
4e01f54b 168 help
595fe1b7 169 Say Y or M here to include Creative CA0110-IBG codec support in
4e01f54b
TI
170 snd-hda-intel driver, found on some Creative X-Fi cards.
171
d8f66c71 172comment "Set to Y if you want auto-loading the codec driver"
78e34f34 173 depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
d8f66c71 174
95c6e9cb 175config SND_HDA_CODEC_CA0132
595fe1b7 176 tristate "Build Creative CA0132 codec support"
95c6e9cb 177 help
595fe1b7 178 Say Y or M here to include Creative CA0132 codec support in
95c6e9cb
IM
179 snd-hda-intel driver.
180
d8f66c71 181comment "Set to Y if you want auto-loading the codec driver"
78e34f34 182 depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
d8f66c71 183
24f3cede
TI
184config SND_HDA_CODEC_CA0132_DSP
185 bool "Support new DSP code for CA0132 codec"
2c312e9a 186 depends on SND_HDA_CODEC_CA0132
652bb5d8 187 default y
24f3cede 188 select SND_HDA_DSP_LOADER
2c312e9a 189 select FW_LOADER
24f3cede
TI
190 help
191 Say Y here to enable the DSP for Creative CA0132 for extended
192 features like equalizer or echo cancellation.
193
194 Note that this option requires the external firmware file
195 (ctefx.bin).
196
11b444d5 197config SND_HDA_CODEC_CMEDIA
595fe1b7 198 tristate "Build C-Media HD-audio codec support"
b060fb0e 199 select SND_HDA_GENERIC
11b444d5 200 help
595fe1b7 201 Say Y or M here to include C-Media HD-audio codec support in
11b444d5
TI
202 snd-hda-intel driver, such as CMI9880.
203
d8f66c71 204comment "Set to Y if you want auto-loading the codec driver"
78e34f34 205 depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
d8f66c71 206
11b444d5 207config SND_HDA_CODEC_SI3054
595fe1b7 208 tristate "Build Silicon Labs 3054 HD-modem codec support"
11b444d5 209 help
595fe1b7 210 Say Y or M here to include Silicon Labs 3054 HD-modem codec
11b444d5
TI
211 (and compatibles) support in snd-hda-intel driver.
212
d8f66c71 213comment "Set to Y if you want auto-loading the codec driver"
78e34f34 214 depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
d8f66c71 215
11b444d5 216config SND_HDA_GENERIC
595fe1b7 217 tristate "Enable generic HD-audio codec parser"
11b444d5 218 help
595fe1b7 219 Say Y or M here to enable the generic HD-audio codec parser
11b444d5
TI
220 in snd-hda-intel driver.
221
d8f66c71 222comment "Set to Y if you want auto-loading the codec driver"
78e34f34 223 depends on SND_HDA=y && SND_HDA_GENERIC=m
d8f66c71 224
11b444d5
TI
225config SND_HDA_POWER_SAVE_DEFAULT
226 int "Default time-out for HD-audio power-save mode"
83012a7c 227 depends on PM
11b444d5
TI
228 default 0
229 help
230 The default time-out value in seconds for HD-audio automatic
231 power-save mode. 0 means to disable the power-save mode.
232
233endif
78e34f34
DR
234
235endmenu