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