]>
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 | |
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 |
26 | config 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 | 42 | if SND_HDA |
11b444d5 TI |
43 | |
44 | config 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 | ||
52 | config 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 | |
64 | config 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 | 71 | config 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 |
81 | config 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 | 91 | config 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 | 98 | comment "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 | 101 | config SND_HDA_CODEC_ANALOG |
595fe1b7 | 102 | tristate "Build Analog Device HD-audio codec support" |
78bb3cb0 | 103 | select SND_HDA_GENERIC |
11b444d5 | 104 | help |
595fe1b7 | 105 | Say Y or M here to include Analog Device HD-audio codec support in |
11b444d5 TI |
106 | snd-hda-intel driver, such as AD1986A. |
107 | ||
d8f66c71 | 108 | comment "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 | 111 | config 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 | 118 | comment "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 | 121 | config 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 | 128 | comment "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 | 131 | config 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 | 142 | comment "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 | 145 | config 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 | 152 | comment "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 | 155 | config 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 | 162 | comment "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 | 165 | config 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 | 172 | comment "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 | 175 | config 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 | 181 | comment "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 |
184 | config SND_HDA_CODEC_CA0132_DSP |
185 | bool "Support new DSP code for CA0132 codec" | |
2c312e9a | 186 | depends on SND_HDA_CODEC_CA0132 |
24f3cede | 187 | select SND_HDA_DSP_LOADER |
2c312e9a | 188 | select FW_LOADER |
24f3cede TI |
189 | help |
190 | Say Y here to enable the DSP for Creative CA0132 for extended | |
191 | features like equalizer or echo cancellation. | |
192 | ||
193 | Note that this option requires the external firmware file | |
194 | (ctefx.bin). | |
195 | ||
11b444d5 | 196 | config SND_HDA_CODEC_CMEDIA |
595fe1b7 | 197 | tristate "Build C-Media HD-audio codec support" |
b060fb0e | 198 | select SND_HDA_GENERIC |
11b444d5 | 199 | help |
595fe1b7 | 200 | Say Y or M here to include C-Media HD-audio codec support in |
11b444d5 TI |
201 | snd-hda-intel driver, such as CMI9880. |
202 | ||
d8f66c71 | 203 | comment "Set to Y if you want auto-loading the codec driver" |
78e34f34 | 204 | depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m |
d8f66c71 | 205 | |
11b444d5 | 206 | config SND_HDA_CODEC_SI3054 |
595fe1b7 | 207 | tristate "Build Silicon Labs 3054 HD-modem codec support" |
11b444d5 | 208 | help |
595fe1b7 | 209 | Say Y or M here to include Silicon Labs 3054 HD-modem codec |
11b444d5 TI |
210 | (and compatibles) support in snd-hda-intel driver. |
211 | ||
d8f66c71 | 212 | comment "Set to Y if you want auto-loading the codec driver" |
78e34f34 | 213 | depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m |
d8f66c71 | 214 | |
11b444d5 | 215 | config SND_HDA_GENERIC |
595fe1b7 | 216 | tristate "Enable generic HD-audio codec parser" |
11b444d5 | 217 | help |
595fe1b7 | 218 | Say Y or M here to enable the generic HD-audio codec parser |
11b444d5 TI |
219 | in snd-hda-intel driver. |
220 | ||
d8f66c71 | 221 | comment "Set to Y if you want auto-loading the codec driver" |
78e34f34 | 222 | depends on SND_HDA=y && SND_HDA_GENERIC=m |
d8f66c71 | 223 | |
11b444d5 TI |
224 | config SND_HDA_POWER_SAVE_DEFAULT |
225 | int "Default time-out for HD-audio power-save mode" | |
83012a7c | 226 | depends on PM |
11b444d5 TI |
227 | default 0 |
228 | help | |
229 | The default time-out value in seconds for HD-audio automatic | |
230 | power-save mode. 0 means to disable the power-save mode. | |
231 | ||
232 | endif | |
78e34f34 DR |
233 | |
234 | endmenu |