1 # SPDX-License-Identifier: GPL-2.0-only !! 1 menuconfig SND_HDA_INTEL 2 menu "HD-Audio" !! 2 tristate "Intel HD Audio" 3 << 4 config SND_HDA << 5 tristate << 6 select SND_PCM 3 select SND_PCM 7 select SND_VMASTER 4 select SND_VMASTER 8 select SND_JACK !! 5 select SND_KCTL_JACK 9 select SND_HDA_CORE << 10 << 11 config SND_HDA_GENERIC_LEDS << 12 bool << 13 << 14 config SND_HDA_INTEL << 15 tristate "HD Audio PCI" << 16 depends on SND_PCI << 17 select SND_HDA << 18 select SND_INTEL_DSP_CONFIG << 19 help 6 help 20 Say Y here to include support for In 7 Say Y here to include support for Intel "High Definition 21 Audio" (Azalia) and its compatible d 8 Audio" (Azalia) and its compatible devices. 22 9 23 This option enables the HD-audio con 10 This option enables the HD-audio controller. Don't forget 24 to choose the appropriate codec opti 11 to choose the appropriate codec options below. 25 12 26 To compile this driver as a module, 13 To compile this driver as a module, choose M here: the module 27 will be called snd-hda-intel. 14 will be called snd-hda-intel. 28 15 29 config SND_HDA_TEGRA !! 16 if SND_HDA_INTEL 30 tristate "NVIDIA Tegra HD Audio" << 31 depends on ARCH_TEGRA << 32 select SND_HDA << 33 select SND_HDA_ALIGNED_MMIO << 34 help << 35 Say Y here to support the HDA contro << 36 Tegra SoCs << 37 << 38 This options enables support for the << 39 present in some NVIDIA Tegra SoCs, u << 40 to the HDMI output. << 41 17 42 To compile this driver as a module, !! 18 config SND_HDA_DSP_LOADER 43 will be called snd-hda-tegra. !! 19 bool >> 20 >> 21 config SND_HDA_PREALLOC_SIZE >> 22 int "Pre-allocated buffer size for HD-audio driver" >> 23 range 0 32768 >> 24 default 64 >> 25 help >> 26 Specifies the default pre-allocated buffer-size in kB for the >> 27 HD-audio driver. A larger buffer (e.g. 2048) is preferred >> 28 for systems using PulseAudio. The default 64 is chosen just >> 29 for compatibility reasons. 44 30 45 if SND_HDA !! 31 Note that the pre-allocation size can be changed dynamically >> 32 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too. 46 33 47 config SND_HDA_HWDEP 34 config SND_HDA_HWDEP 48 bool "Build hwdep interface for HD-aud 35 bool "Build hwdep interface for HD-audio driver" 49 select SND_HWDEP 36 select SND_HWDEP 50 help 37 help 51 Say Y here to build a hwdep interfac 38 Say Y here to build a hwdep interface for HD-audio driver. 52 This interface can be used for out-o 39 This interface can be used for out-of-band communication 53 with codecs for debugging purposes. 40 with codecs for debugging purposes. 54 41 55 config SND_HDA_RECONFIG 42 config SND_HDA_RECONFIG 56 bool "Allow dynamic codec reconfigurat 43 bool "Allow dynamic codec reconfiguration" >> 44 depends on SND_HDA_HWDEP 57 help 45 help 58 Say Y here to enable the HD-audio co 46 Say Y here to enable the HD-audio codec re-configuration feature. 59 It allows user to clear the whole co !! 47 This adds the sysfs interfaces to allow user to clear the whole 60 codec setup, add extra verbs, and re !! 48 codec configuration, change the codec setup, add extra verbs, 61 !! 49 and re-configure the codec dynamically. 62 Note that this item alone doesn't pr << 63 enables the feature just for the pat << 64 If you need the traditional sysfs en << 65 turn on CONFIG_SND_HDA_HWDEP as well << 66 50 67 config SND_HDA_INPUT_BEEP 51 config SND_HDA_INPUT_BEEP 68 bool "Support digital beep via input l 52 bool "Support digital beep via input layer" 69 depends on INPUT=y || INPUT=SND_HDA !! 53 depends on INPUT=y || INPUT=SND_HDA_INTEL 70 help 54 help 71 Say Y here to build a digital beep i 55 Say Y here to build a digital beep interface for HD-audio 72 driver. This interface is used to ge 56 driver. This interface is used to generate digital beeps. 73 57 74 config SND_HDA_INPUT_BEEP_MODE 58 config SND_HDA_INPUT_BEEP_MODE 75 int "Digital beep registration mode (0 59 int "Digital beep registration mode (0=off, 1=on)" 76 depends on SND_HDA_INPUT_BEEP=y 60 depends on SND_HDA_INPUT_BEEP=y 77 default "1" 61 default "1" 78 range 0 1 62 range 0 1 79 help 63 help 80 Set 0 to disable the digital beep in 64 Set 0 to disable the digital beep interface for HD-audio by default. 81 Set 1 to always enable the digital b 65 Set 1 to always enable the digital beep interface for HD-audio by 82 default. 66 default. 83 67 >> 68 config SND_HDA_INPUT_JACK >> 69 bool "Support jack plugging notification via input layer" >> 70 depends on INPUT=y || INPUT=SND >> 71 select SND_JACK >> 72 help >> 73 Say Y here to enable the jack plugging notification via >> 74 input layer. >> 75 84 config SND_HDA_PATCH_LOADER 76 config SND_HDA_PATCH_LOADER 85 bool "Support initialization patch loa 77 bool "Support initialization patch loading for HD-audio" 86 select FW_LOADER 78 select FW_LOADER >> 79 select SND_HDA_HWDEP 87 select SND_HDA_RECONFIG 80 select SND_HDA_RECONFIG 88 help 81 help 89 Say Y here to allow the HD-audio dri 82 Say Y here to allow the HD-audio driver to load a pseudo 90 firmware file ("patch") for overridi 83 firmware file ("patch") for overriding the BIOS setup at 91 start up. The "patch" file can be s 84 start up. The "patch" file can be specified via patch module 92 option, such as patch=hda-init. 85 option, such as patch=hda-init. 93 86 94 config SND_HDA_CIRRUS_SCODEC !! 87 This option turns on hwdep and reconfig features automatically. 95 tristate << 96 << 97 config SND_HDA_CIRRUS_SCODEC_KUNIT_TEST << 98 tristate "KUnit test for Cirrus side-c << 99 select SND_HDA_CIRRUS_SCODEC << 100 select GPIOLIB << 101 depends on KUNIT << 102 default KUNIT_ALL_TESTS << 103 help << 104 This builds KUnit tests for the cirr << 105 For more information on KUnit and un << 106 please refer to the KUnit documentat << 107 Documentation/dev-tools/kunit/. << 108 If in doubt, say "N". << 109 << 110 config SND_HDA_SCODEC_CS35L41 << 111 tristate << 112 select SND_HDA_GENERIC << 113 select REGMAP_IRQ << 114 << 115 config SND_HDA_CS_DSP_CONTROLS << 116 tristate << 117 select FW_CS_DSP << 118 << 119 config SND_HDA_SCODEC_COMPONENT << 120 tristate << 121 << 122 config SND_HDA_SCODEC_CS35L41_I2C << 123 tristate "Build CS35L41 HD-audio side << 124 depends on I2C << 125 depends on ACPI << 126 depends on EFI << 127 depends on SND_SOC << 128 select SND_SOC_CS35L41_LIB << 129 select SND_HDA_SCODEC_CS35L41 << 130 select SND_HDA_CS_DSP_CONTROLS << 131 select SND_SOC_CS_AMP_LIB << 132 help << 133 Say Y or M here to include CS35L41 I << 134 in snd-hda-intel driver, such as ALC << 135 << 136 comment "Set to Y if you want auto-loading the << 137 depends on SND_HDA=y && SND_HDA_SCODEC << 138 << 139 config SND_HDA_SCODEC_CS35L41_SPI << 140 tristate "Build CS35L41 HD-audio codec << 141 depends on SPI_MASTER << 142 depends on ACPI << 143 depends on EFI << 144 depends on SND_SOC << 145 select SND_SOC_CS35L41_LIB << 146 select SND_HDA_SCODEC_CS35L41 << 147 select SND_HDA_CS_DSP_CONTROLS << 148 select SND_SOC_CS_AMP_LIB << 149 help << 150 Say Y or M here to include CS35L41 S << 151 in snd-hda-intel driver, such as ALC << 152 << 153 comment "Set to Y if you want auto-loading the << 154 depends on SND_HDA=y && SND_HDA_SCODEC << 155 << 156 config SND_HDA_SCODEC_CS35L56 << 157 tristate << 158 << 159 config SND_HDA_SCODEC_CS35L56_I2C << 160 tristate "Build CS35L56 HD-audio side << 161 depends on I2C << 162 depends on ACPI || COMPILE_TEST << 163 depends on SND_SOC << 164 select FW_CS_DSP << 165 imply SERIAL_MULTI_INSTANTIATE << 166 select SND_HDA_GENERIC << 167 select SND_SOC_CS35L56_SHARED << 168 select SND_HDA_SCODEC_CS35L56 << 169 select SND_HDA_CIRRUS_SCODEC << 170 select SND_HDA_CS_DSP_CONTROLS << 171 select SND_SOC_CS_AMP_LIB << 172 help << 173 Say Y or M here to include CS35L56 a << 174 I2C control. << 175 << 176 config SND_HDA_SCODEC_CS35L56_SPI << 177 tristate "Build CS35L56 HD-audio side << 178 depends on SPI_MASTER << 179 depends on ACPI || COMPILE_TEST << 180 depends on SND_SOC << 181 select FW_CS_DSP << 182 imply SERIAL_MULTI_INSTANTIATE << 183 select SND_HDA_GENERIC << 184 select SND_SOC_CS35L56_SHARED << 185 select SND_HDA_SCODEC_CS35L56 << 186 select SND_HDA_CIRRUS_SCODEC << 187 select SND_HDA_CS_DSP_CONTROLS << 188 select SND_SOC_CS_AMP_LIB << 189 help << 190 Say Y or M here to include CS35L56 a << 191 SPI control. << 192 << 193 config SND_HDA_SCODEC_TAS2781_I2C << 194 tristate "Build TAS2781 HD-audio side << 195 depends on I2C << 196 depends on ACPI << 197 depends on EFI << 198 depends on SND_SOC << 199 select SND_SOC_TAS2781_COMLIB << 200 select SND_SOC_TAS2781_FMWLIB << 201 select CRC32 << 202 help << 203 Say Y or M here to include TAS2781 I << 204 in snd-hda-intel driver, such as ALC << 205 << 206 comment "Set to Y if you want auto-loading the << 207 depends on SND_HDA=y && SND_HDA_SCODEC << 208 88 209 config SND_HDA_CODEC_REALTEK 89 config SND_HDA_CODEC_REALTEK 210 tristate "Build Realtek HD-audio codec !! 90 bool "Build Realtek HD-audio codec support" >> 91 default y 211 select SND_HDA_GENERIC 92 select SND_HDA_GENERIC 212 select SND_HDA_GENERIC_LEDS << 213 select SND_HDA_SCODEC_COMPONENT << 214 help 93 help 215 Say Y or M here to include Realtek H !! 94 Say Y here to include Realtek HD-audio codec support in 216 snd-hda-intel driver, such as ALC880 95 snd-hda-intel driver, such as ALC880. 217 96 218 comment "Set to Y if you want auto-loading the !! 97 When the HD-audio driver is built as a module, the codec 219 depends on SND_HDA=y && SND_HDA_CODEC_ !! 98 support code is also built as another module, >> 99 snd-hda-codec-realtek. >> 100 This module is automatically loaded at probing. 220 101 221 config SND_HDA_CODEC_ANALOG 102 config SND_HDA_CODEC_ANALOG 222 tristate "Build Analog Devices HD-audi !! 103 bool "Build Analog Device HD-audio codec support" >> 104 default y 223 select SND_HDA_GENERIC 105 select SND_HDA_GENERIC 224 help 106 help 225 Say Y or M here to include Analog De !! 107 Say Y here to include Analog Device HD-audio codec support in 226 snd-hda-intel driver, such as AD1986 108 snd-hda-intel driver, such as AD1986A. 227 109 228 comment "Set to Y if you want auto-loading the !! 110 When the HD-audio driver is built as a module, the codec 229 depends on SND_HDA=y && SND_HDA_CODEC_ !! 111 support code is also built as another module, >> 112 snd-hda-codec-analog. >> 113 This module is automatically loaded at probing. 230 114 231 config SND_HDA_CODEC_SIGMATEL 115 config SND_HDA_CODEC_SIGMATEL 232 tristate "Build IDT/Sigmatel HD-audio !! 116 bool "Build IDT/Sigmatel HD-audio codec support" >> 117 default y 233 select SND_HDA_GENERIC 118 select SND_HDA_GENERIC 234 select SND_HDA_GENERIC_LEDS << 235 help 119 help 236 Say Y or M here to include IDT (Sigm !! 120 Say Y here to include IDT (Sigmatel) HD-audio codec support in 237 snd-hda-intel driver, such as STAC92 121 snd-hda-intel driver, such as STAC9200. 238 122 239 comment "Set to Y if you want auto-loading the !! 123 When the HD-audio driver is built as a module, the codec 240 depends on SND_HDA=y && SND_HDA_CODEC_ !! 124 support code is also built as another module, >> 125 snd-hda-codec-idt. >> 126 This module is automatically loaded at probing. 241 127 242 config SND_HDA_CODEC_VIA 128 config SND_HDA_CODEC_VIA 243 tristate "Build VIA HD-audio codec sup !! 129 bool "Build VIA HD-audio codec support" >> 130 default y 244 select SND_HDA_GENERIC 131 select SND_HDA_GENERIC 245 help 132 help 246 Say Y or M here to include VIA HD-au !! 133 Say Y here to include VIA HD-audio codec support in 247 snd-hda-intel driver, such as VT1708 134 snd-hda-intel driver, such as VT1708. 248 135 249 comment "Set to Y if you want auto-loading the !! 136 When the HD-audio driver is built as a module, the codec 250 depends on SND_HDA=y && SND_HDA_CODEC_ !! 137 support code is also built as another module, >> 138 snd-hda-codec-via. >> 139 This module is automatically loaded at probing. 251 140 252 config SND_HDA_CODEC_HDMI 141 config SND_HDA_CODEC_HDMI 253 tristate "Build HDMI/DisplayPort HD-au !! 142 bool "Build HDMI/DisplayPort HD-audio codec support" 254 select SND_DYNAMIC_MINORS 143 select SND_DYNAMIC_MINORS >> 144 default y 255 help 145 help 256 Say Y or M here to include HDMI and !! 146 Say Y here to include HDMI and DisplayPort HD-audio codec 257 support in snd-hda-intel driver. Th 147 support in snd-hda-intel driver. This includes all AMD/ATI, 258 Intel and Nvidia HDMI/DisplayPort co 148 Intel and Nvidia HDMI/DisplayPort codecs. 259 149 260 Note that this option mandatorily en !! 150 When the HD-audio driver is built as a module, the codec 261 to assure the multiple streams for D !! 151 support code is also built as another module, 262 !! 152 snd-hda-codec-hdmi. 263 comment "Set to Y if you want auto-loading the !! 153 This module is automatically loaded at probing. 264 depends on SND_HDA=y && SND_HDA_CODEC_ << 265 154 266 config SND_HDA_CODEC_CIRRUS 155 config SND_HDA_CODEC_CIRRUS 267 tristate "Build Cirrus Logic codec sup !! 156 bool "Build Cirrus Logic codec support" >> 157 default y 268 select SND_HDA_GENERIC 158 select SND_HDA_GENERIC 269 help 159 help 270 Say Y or M here to include Cirrus Lo !! 160 Say Y here to include Cirrus Logic codec support in 271 snd-hda-intel driver, such as CS4206 161 snd-hda-intel driver, such as CS4206. 272 162 273 comment "Set to Y if you want auto-loading the !! 163 When the HD-audio driver is built as a module, the codec 274 depends on SND_HDA=y && SND_HDA_CODEC_ !! 164 support code is also built as another module, 275 !! 165 snd-hda-codec-cirrus. 276 config SND_HDA_CODEC_CS8409 !! 166 This module is automatically loaded at probing. 277 tristate "Build Cirrus Logic HDA bridg << 278 select SND_HDA_GENERIC << 279 help << 280 Say Y or M here to include Cirrus Lo << 281 snd-hda-intel driver, such as CS8409 << 282 << 283 comment "Set to Y if you want auto-loading the << 284 depends on SND_HDA=y && SND_HDA_CODEC_ << 285 167 286 config SND_HDA_CODEC_CONEXANT 168 config SND_HDA_CODEC_CONEXANT 287 tristate "Build Conexant HD-audio code !! 169 bool "Build Conexant HD-audio codec support" >> 170 default y 288 select SND_HDA_GENERIC 171 select SND_HDA_GENERIC 289 select SND_HDA_GENERIC_LEDS << 290 help 172 help 291 Say Y or M here to include Conexant !! 173 Say Y here to include Conexant HD-audio codec support in 292 snd-hda-intel driver, such as CX2054 174 snd-hda-intel driver, such as CX20549. 293 175 294 comment "Set to Y if you want auto-loading the !! 176 When the HD-audio driver is built as a module, the codec 295 depends on SND_HDA=y && SND_HDA_CODEC_ !! 177 support code is also built as another module, 296 !! 178 snd-hda-codec-conexant. 297 config SND_HDA_CODEC_SENARYTECH !! 179 This module is automatically loaded at probing. 298 tristate "Build Senarytech HD-audio co << 299 select SND_HDA_GENERIC << 300 select SND_HDA_GENERIC_LEDS << 301 help << 302 Say Y or M here to include Senarytec << 303 snd-hda-intel driver, such as SN6186 << 304 << 305 comment "Set to Y if you want auto-loading the << 306 depends on SND_HDA=y && SND_HDA_CODEC_ << 307 180 308 config SND_HDA_CODEC_CA0110 181 config SND_HDA_CODEC_CA0110 309 tristate "Build Creative CA0110-IBG co !! 182 bool "Build Creative CA0110-IBG codec support" >> 183 default y 310 select SND_HDA_GENERIC 184 select SND_HDA_GENERIC 311 help 185 help 312 Say Y or M here to include Creative !! 186 Say Y here to include Creative CA0110-IBG codec support in 313 snd-hda-intel driver, found on some 187 snd-hda-intel driver, found on some Creative X-Fi cards. 314 188 315 comment "Set to Y if you want auto-loading the !! 189 When the HD-audio driver is built as a module, the codec 316 depends on SND_HDA=y && SND_HDA_CODEC_ !! 190 support code is also built as another module, >> 191 snd-hda-codec-ca0110. >> 192 This module is automatically loaded at probing. 317 193 318 config SND_HDA_CODEC_CA0132 194 config SND_HDA_CODEC_CA0132 319 tristate "Build Creative CA0132 codec !! 195 bool "Build Creative CA0132 codec support" >> 196 default y 320 help 197 help 321 Say Y or M here to include Creative !! 198 Say Y here to include Creative CA0132 codec support in 322 snd-hda-intel driver. 199 snd-hda-intel driver. 323 200 324 comment "Set to Y if you want auto-loading the !! 201 When the HD-audio driver is built as a module, the codec 325 depends on SND_HDA=y && SND_HDA_CODEC_ !! 202 support code is also built as another module, >> 203 snd-hda-codec-ca0132. >> 204 This module is automatically loaded at probing. 326 205 327 config SND_HDA_CODEC_CA0132_DSP 206 config SND_HDA_CODEC_CA0132_DSP 328 bool "Support new DSP code for CA0132 207 bool "Support new DSP code for CA0132 codec" 329 depends on SND_HDA_CODEC_CA0132 !! 208 depends on SND_HDA_CODEC_CA0132 && FW_LOADER 330 default y << 331 select SND_HDA_DSP_LOADER 209 select SND_HDA_DSP_LOADER 332 select FW_LOADER << 333 help 210 help 334 Say Y here to enable the DSP for Cre 211 Say Y here to enable the DSP for Creative CA0132 for extended 335 features like equalizer or echo canc 212 features like equalizer or echo cancellation. 336 213 337 Note that this option requires the e 214 Note that this option requires the external firmware file 338 (ctefx.bin). 215 (ctefx.bin). 339 216 340 config SND_HDA_CODEC_CMEDIA 217 config SND_HDA_CODEC_CMEDIA 341 tristate "Build C-Media HD-audio codec !! 218 bool "Build C-Media HD-audio codec support" >> 219 default y 342 select SND_HDA_GENERIC 220 select SND_HDA_GENERIC 343 help 221 help 344 Say Y or M here to include C-Media H !! 222 Say Y here to include C-Media HD-audio codec support in 345 snd-hda-intel driver, such as CMI988 223 snd-hda-intel driver, such as CMI9880. 346 224 347 comment "Set to Y if you want auto-loading the !! 225 When the HD-audio driver is built as a module, the codec 348 depends on SND_HDA=y && SND_HDA_CODEC_ !! 226 support code is also built as another module, >> 227 snd-hda-codec-cmedia. >> 228 This module is automatically loaded at probing. 349 229 350 config SND_HDA_CODEC_SI3054 230 config SND_HDA_CODEC_SI3054 351 tristate "Build Silicon Labs 3054 HD-m !! 231 bool "Build Silicon Labs 3054 HD-modem codec support" >> 232 default y 352 help 233 help 353 Say Y or M here to include Silicon L !! 234 Say Y here to include Silicon Labs 3054 HD-modem codec 354 (and compatibles) support in snd-hda 235 (and compatibles) support in snd-hda-intel driver. 355 236 356 comment "Set to Y if you want auto-loading the !! 237 When the HD-audio driver is built as a module, the codec 357 depends on SND_HDA=y && SND_HDA_CODEC_ !! 238 support code is also built as another module, >> 239 snd-hda-codec-si3054. >> 240 This module is automatically loaded at probing. 358 241 359 config SND_HDA_GENERIC 242 config SND_HDA_GENERIC 360 tristate "Enable generic HD-audio code !! 243 bool "Enable generic HD-audio codec parser" 361 select SND_CTL_LED if SND_HDA_GENERIC_ !! 244 default y 362 select LEDS_CLASS if SND_HDA_GENERIC_L << 363 help 245 help 364 Say Y or M here to enable the generi !! 246 Say Y here to enable the generic HD-audio codec parser 365 in snd-hda-intel driver. 247 in snd-hda-intel driver. 366 248 367 comment "Set to Y if you want auto-loading the << 368 depends on SND_HDA=y && SND_HDA_GENERI << 369 << 370 config SND_HDA_POWER_SAVE_DEFAULT 249 config SND_HDA_POWER_SAVE_DEFAULT 371 int "Default time-out for HD-audio pow 250 int "Default time-out for HD-audio power-save mode" 372 depends on PM 251 depends on PM 373 default 0 252 default 0 374 help 253 help 375 The default time-out value in second 254 The default time-out value in seconds for HD-audio automatic 376 power-save mode. 0 means to disable 255 power-save mode. 0 means to disable the power-save mode. 377 256 378 config SND_HDA_INTEL_HDMI_SILENT_STREAM << 379 bool "Enable Silent Stream always for << 380 depends on SND_HDA_INTEL << 381 help << 382 Say Y to enable HD-Audio Keep Alive << 383 for HDMI on hardware that supports t << 384 << 385 When enabled, the HDMI/DisplayPort c << 386 a continuous clock and a valid but s << 387 any connected external receiver. Thi << 388 at start of playback. Many receivers << 389 to start playing audio after the clo << 390 This feature can impact power consum << 391 are kept reserved both at transmitte << 392 << 393 config SND_HDA_CTL_DEV_ID << 394 bool "Use the device identifier field << 395 depends on SND_HDA_INTEL << 396 help << 397 Say Y to use the device identifier f << 398 controls (old behaviour until this o << 399 << 400 When enabled, the multiple HDA codec << 401 field in control (mixer) element ide << 402 of this field is not recommended and << 403 << 404 The old behaviour (Y) is obsolete an << 405 to not enable this option. << 406 << 407 endif 257 endif 408 << 409 endmenu <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.