Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 1 | menuconfig SND_HDA_INTEL |
| 2 | tristate "Intel HD Audio" |
| 3 | select SND_PCM |
| 4 | select SND_VMASTER |
Takashi Iwai | 35be544 | 2011-11-02 08:36:06 +0100 | [diff] [blame] | 5 | select SND_KCTL_JACK |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 6 | help |
| 7 | Say Y here to include support for Intel "High Definition |
| 8 | Audio" (Azalia) and its compatible devices. |
| 9 | |
| 10 | This option enables the HD-audio controller. Don't forget |
| 11 | to choose the appropriate codec options below. |
| 12 | |
| 13 | To compile this driver as a module, choose M here: the module |
| 14 | will be called snd-hda-intel. |
| 15 | |
| 16 | if SND_HDA_INTEL |
| 17 | |
Takashi Iwai | 24f3ced | 2013-02-04 18:25:51 +0100 | [diff] [blame] | 18 | config SND_HDA_DSP_LOADER |
| 19 | bool |
| 20 | |
Takashi Iwai | acfa634 | 2011-07-12 17:27:46 +0200 | [diff] [blame] | 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 |
Paul Menzel | cf01b73 | 2011-07-12 19:53:56 +0200 | [diff] [blame] | 26 | Specifies the default pre-allocated buffer-size in kB for the |
Takashi Iwai | acfa634 | 2011-07-12 17:27:46 +0200 | [diff] [blame] | 27 | HD-audio driver. A larger buffer (e.g. 2048) is preferred |
Paul Menzel | cf01b73 | 2011-07-12 19:53:56 +0200 | [diff] [blame] | 28 | for systems using PulseAudio. The default 64 is chosen just |
| 29 | for compatibility reasons. |
Takashi Iwai | acfa634 | 2011-07-12 17:27:46 +0200 | [diff] [blame] | 30 | |
| 31 | Note that the pre-allocation size can be changed dynamically |
| 32 | via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too. |
| 33 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 34 | config SND_HDA_HWDEP |
| 35 | bool "Build hwdep interface for HD-audio driver" |
| 36 | select SND_HWDEP |
| 37 | help |
| 38 | Say Y here to build a hwdep interface for HD-audio driver. |
| 39 | This interface can be used for out-of-band communication |
| 40 | with codecs for debugging purposes. |
| 41 | |
| 42 | config SND_HDA_RECONFIG |
Kees Cook | 0b1714a | 2012-10-23 13:04:22 -0700 | [diff] [blame] | 43 | bool "Allow dynamic codec reconfiguration" |
| 44 | depends on SND_HDA_HWDEP |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 45 | help |
| 46 | Say Y here to enable the HD-audio codec re-configuration feature. |
| 47 | This adds the sysfs interfaces to allow user to clear the whole |
| 48 | codec configuration, change the codec setup, add extra verbs, |
| 49 | and re-configure the codec dynamically. |
| 50 | |
| 51 | config SND_HDA_INPUT_BEEP |
| 52 | bool "Support digital beep via input layer" |
| 53 | depends on INPUT=y || INPUT=SND_HDA_INTEL |
| 54 | help |
| 55 | Say Y here to build a digital beep interface for HD-audio |
| 56 | driver. This interface is used to generate digital beeps. |
| 57 | |
Jaroslav Kysela | 2dca0bb | 2009-11-13 18:41:52 +0100 | [diff] [blame] | 58 | config SND_HDA_INPUT_BEEP_MODE |
Takashi Iwai | 0920c9b | 2012-07-03 16:58:48 +0200 | [diff] [blame] | 59 | int "Digital beep registration mode (0=off, 1=on)" |
Jaroslav Kysela | 2dca0bb | 2009-11-13 18:41:52 +0100 | [diff] [blame] | 60 | depends on SND_HDA_INPUT_BEEP=y |
| 61 | default "1" |
Takashi Iwai | 0920c9b | 2012-07-03 16:58:48 +0200 | [diff] [blame] | 62 | range 0 1 |
Jaroslav Kysela | 2dca0bb | 2009-11-13 18:41:52 +0100 | [diff] [blame] | 63 | help |
| 64 | Set 0 to disable the digital beep interface for HD-audio by default. |
| 65 | Set 1 to always enable the digital beep interface for HD-audio by |
Takashi Iwai | 0920c9b | 2012-07-03 16:58:48 +0200 | [diff] [blame] | 66 | default. |
Jaroslav Kysela | 2dca0bb | 2009-11-13 18:41:52 +0100 | [diff] [blame] | 67 | |
Takashi Iwai | 8c8145b | 2009-06-22 17:00:38 +0200 | [diff] [blame] | 68 | config SND_HDA_INPUT_JACK |
| 69 | bool "Support jack plugging notification via input layer" |
Takashi Iwai | fc08722 | 2009-11-21 19:57:11 +0100 | [diff] [blame] | 70 | depends on INPUT=y || INPUT=SND |
Takashi Iwai | 8c8145b | 2009-06-22 17:00:38 +0200 | [diff] [blame] | 71 | select SND_JACK |
| 72 | help |
| 73 | Say Y here to enable the jack plugging notification via |
| 74 | input layer. |
| 75 | |
Takashi Iwai | 4ea6fbc | 2009-06-17 09:52:54 +0200 | [diff] [blame] | 76 | config SND_HDA_PATCH_LOADER |
| 77 | bool "Support initialization patch loading for HD-audio" |
Takashi Iwai | 4ea6fbc | 2009-06-17 09:52:54 +0200 | [diff] [blame] | 78 | select FW_LOADER |
| 79 | select SND_HDA_HWDEP |
| 80 | select SND_HDA_RECONFIG |
| 81 | help |
| 82 | Say Y here to allow the HD-audio driver to load a pseudo |
| 83 | firmware file ("patch") for overriding the BIOS setup at |
| 84 | start up. The "patch" file can be specified via patch module |
| 85 | option, such as patch=hda-init. |
| 86 | |
| 87 | This option turns on hwdep and reconfig features automatically. |
| 88 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 89 | config SND_HDA_CODEC_REALTEK |
| 90 | bool "Build Realtek HD-audio codec support" |
| 91 | default y |
Takashi Iwai | 08c189f | 2012-12-19 15:22:24 +0100 | [diff] [blame] | 92 | select SND_HDA_GENERIC |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 93 | help |
| 94 | Say Y here to include Realtek HD-audio codec support in |
| 95 | snd-hda-intel driver, such as ALC880. |
| 96 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 97 | When the HD-audio driver is built as a module, the codec |
| 98 | support code is also built as another module, |
| 99 | snd-hda-codec-realtek. |
| 100 | This module is automatically loaded at probing. |
| 101 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 102 | config SND_HDA_CODEC_ANALOG |
| 103 | bool "Build Analog Device HD-audio codec support" |
| 104 | default y |
Takashi Iwai | 78bb3cb | 2012-12-21 15:17:06 +0100 | [diff] [blame] | 105 | select SND_HDA_GENERIC |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 106 | help |
| 107 | Say Y here to include Analog Device HD-audio codec support in |
| 108 | snd-hda-intel driver, such as AD1986A. |
| 109 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 110 | When the HD-audio driver is built as a module, the codec |
| 111 | support code is also built as another module, |
| 112 | snd-hda-codec-analog. |
| 113 | This module is automatically loaded at probing. |
| 114 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 115 | config SND_HDA_CODEC_SIGMATEL |
| 116 | bool "Build IDT/Sigmatel HD-audio codec support" |
| 117 | default y |
Takashi Iwai | 36c9db7 | 2013-01-17 17:07:59 +0100 | [diff] [blame] | 118 | select SND_HDA_GENERIC |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 119 | help |
| 120 | Say Y here to include IDT (Sigmatel) HD-audio codec support in |
| 121 | snd-hda-intel driver, such as STAC9200. |
| 122 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 123 | When the HD-audio driver is built as a module, the codec |
| 124 | support code is also built as another module, |
| 125 | snd-hda-codec-idt. |
| 126 | This module is automatically loaded at probing. |
| 127 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 128 | config SND_HDA_CODEC_VIA |
| 129 | bool "Build VIA HD-audio codec support" |
| 130 | default y |
Takashi Iwai | b3f6008 | 2013-01-07 12:27:36 +0100 | [diff] [blame] | 131 | select SND_HDA_GENERIC |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 132 | help |
| 133 | Say Y here to include VIA HD-audio codec support in |
| 134 | snd-hda-intel driver, such as VT1708. |
| 135 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 136 | When the HD-audio driver is built as a module, the codec |
| 137 | support code is also built as another module, |
| 138 | snd-hda-codec-via. |
| 139 | This module is automatically loaded at probing. |
| 140 | |
Takashi Iwai | 84eb01b | 2010-09-07 12:27:25 +0200 | [diff] [blame] | 141 | config SND_HDA_CODEC_HDMI |
| 142 | bool "Build HDMI/DisplayPort HD-audio codec support" |
Wu Fengguang | e9abf85 | 2010-05-14 16:36:12 +0800 | [diff] [blame] | 143 | select SND_DYNAMIC_MINORS |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 144 | default y |
| 145 | help |
Takashi Iwai | 84eb01b | 2010-09-07 12:27:25 +0200 | [diff] [blame] | 146 | Say Y here to include HDMI and DisplayPort HD-audio codec |
| 147 | support in snd-hda-intel driver. This includes all AMD/ATI, |
| 148 | Intel and Nvidia HDMI/DisplayPort codecs. |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 149 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 150 | When the HD-audio driver is built as a module, the codec |
| 151 | support code is also built as another module, |
Takashi Iwai | 84eb01b | 2010-09-07 12:27:25 +0200 | [diff] [blame] | 152 | snd-hda-codec-hdmi. |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 153 | This module is automatically loaded at probing. |
| 154 | |
Wang Xingchao | 99a2008 | 2013-05-30 22:07:10 +0800 | [diff] [blame^] | 155 | config SND_HDA_I915 |
| 156 | bool "Build Display HD-audio controller/codec power well support for i915 cards" |
| 157 | depends on DRM_I915 |
| 158 | help |
| 159 | Say Y here to include full HDMI and DisplayPort HD-audio controller/codec |
| 160 | power-well support for Intel Haswell graphics cards based on the i915 driver. |
| 161 | |
| 162 | Note that this option must be enabled for Intel Haswell C+ stepping machines, otherwise |
| 163 | the GPU audio controller/codecs will not be initialized or damaged when exit from S3 mode. |
| 164 | |
Takashi Iwai | e5f1424 | 2009-07-01 18:11:44 +0200 | [diff] [blame] | 165 | config SND_HDA_CODEC_CIRRUS |
| 166 | bool "Build Cirrus Logic codec support" |
Takashi Iwai | e5f1424 | 2009-07-01 18:11:44 +0200 | [diff] [blame] | 167 | default y |
Takashi Iwai | 1077a02 | 2012-12-19 16:39:18 +0100 | [diff] [blame] | 168 | select SND_HDA_GENERIC |
Takashi Iwai | e5f1424 | 2009-07-01 18:11:44 +0200 | [diff] [blame] | 169 | help |
| 170 | Say Y here to include Cirrus Logic codec support in |
| 171 | snd-hda-intel driver, such as CS4206. |
| 172 | |
| 173 | When the HD-audio driver is built as a module, the codec |
| 174 | support code is also built as another module, |
| 175 | snd-hda-codec-cirrus. |
| 176 | This module is automatically loaded at probing. |
| 177 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 178 | config SND_HDA_CODEC_CONEXANT |
| 179 | bool "Build Conexant HD-audio codec support" |
| 180 | default y |
Takashi Iwai | aed523f | 2012-12-20 16:34:12 +0100 | [diff] [blame] | 181 | select SND_HDA_GENERIC |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 182 | help |
| 183 | Say Y here to include Conexant HD-audio codec support in |
| 184 | snd-hda-intel driver, such as CX20549. |
| 185 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 186 | When the HD-audio driver is built as a module, the codec |
| 187 | support code is also built as another module, |
| 188 | snd-hda-codec-conexant. |
| 189 | This module is automatically loaded at probing. |
| 190 | |
Takashi Iwai | 4e01f54 | 2009-04-16 08:53:34 +0200 | [diff] [blame] | 191 | config SND_HDA_CODEC_CA0110 |
| 192 | bool "Build Creative CA0110-IBG codec support" |
Takashi Iwai | 4e01f54 | 2009-04-16 08:53:34 +0200 | [diff] [blame] | 193 | default y |
Takashi Iwai | 8fadf1d | 2012-12-19 18:04:37 +0100 | [diff] [blame] | 194 | select SND_HDA_GENERIC |
Takashi Iwai | 4e01f54 | 2009-04-16 08:53:34 +0200 | [diff] [blame] | 195 | help |
| 196 | Say Y here to include Creative CA0110-IBG codec support in |
| 197 | snd-hda-intel driver, found on some Creative X-Fi cards. |
| 198 | |
| 199 | When the HD-audio driver is built as a module, the codec |
| 200 | support code is also built as another module, |
| 201 | snd-hda-codec-ca0110. |
| 202 | This module is automatically loaded at probing. |
| 203 | |
Ian Minett | 95c6e9c | 2011-06-15 15:35:17 -0700 | [diff] [blame] | 204 | config SND_HDA_CODEC_CA0132 |
| 205 | bool "Build Creative CA0132 codec support" |
Ian Minett | 95c6e9c | 2011-06-15 15:35:17 -0700 | [diff] [blame] | 206 | default y |
| 207 | help |
| 208 | Say Y here to include Creative CA0132 codec support in |
| 209 | snd-hda-intel driver. |
| 210 | |
| 211 | When the HD-audio driver is built as a module, the codec |
| 212 | support code is also built as another module, |
| 213 | snd-hda-codec-ca0132. |
| 214 | This module is automatically loaded at probing. |
| 215 | |
Takashi Iwai | 24f3ced | 2013-02-04 18:25:51 +0100 | [diff] [blame] | 216 | config SND_HDA_CODEC_CA0132_DSP |
| 217 | bool "Support new DSP code for CA0132 codec" |
| 218 | depends on SND_HDA_CODEC_CA0132 && FW_LOADER |
| 219 | select SND_HDA_DSP_LOADER |
| 220 | help |
| 221 | Say Y here to enable the DSP for Creative CA0132 for extended |
| 222 | features like equalizer or echo cancellation. |
| 223 | |
| 224 | Note that this option requires the external firmware file |
| 225 | (ctefx.bin). |
| 226 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 227 | config SND_HDA_CODEC_CMEDIA |
| 228 | bool "Build C-Media HD-audio codec support" |
| 229 | default y |
Takashi Iwai | b060fb0 | 2012-12-19 17:35:47 +0100 | [diff] [blame] | 230 | select SND_HDA_GENERIC |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 231 | help |
| 232 | Say Y here to include C-Media HD-audio codec support in |
| 233 | snd-hda-intel driver, such as CMI9880. |
| 234 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 235 | When the HD-audio driver is built as a module, the codec |
| 236 | support code is also built as another module, |
| 237 | snd-hda-codec-cmedia. |
| 238 | This module is automatically loaded at probing. |
| 239 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 240 | config SND_HDA_CODEC_SI3054 |
| 241 | bool "Build Silicon Labs 3054 HD-modem codec support" |
| 242 | default y |
| 243 | help |
| 244 | Say Y here to include Silicon Labs 3054 HD-modem codec |
| 245 | (and compatibles) support in snd-hda-intel driver. |
| 246 | |
Takashi Iwai | 1289e9e | 2008-11-27 15:47:11 +0100 | [diff] [blame] | 247 | When the HD-audio driver is built as a module, the codec |
| 248 | support code is also built as another module, |
| 249 | snd-hda-codec-si3054. |
| 250 | This module is automatically loaded at probing. |
| 251 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 252 | config SND_HDA_GENERIC |
| 253 | bool "Enable generic HD-audio codec parser" |
| 254 | default y |
| 255 | help |
| 256 | Say Y here to enable the generic HD-audio codec parser |
| 257 | in snd-hda-intel driver. |
| 258 | |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 259 | config SND_HDA_POWER_SAVE_DEFAULT |
| 260 | int "Default time-out for HD-audio power-save mode" |
Takashi Iwai | 83012a7 | 2012-08-24 18:38:08 +0200 | [diff] [blame] | 261 | depends on PM |
Takashi Iwai | 11b444d | 2008-11-21 09:32:40 +0100 | [diff] [blame] | 262 | default 0 |
| 263 | help |
| 264 | The default time-out value in seconds for HD-audio automatic |
| 265 | power-save mode. 0 means to disable the power-save mode. |
| 266 | |
| 267 | endif |