blob: 80a7d44bcf81f38780776fa5abb0eb2f8f35087b [file] [log] [blame]
Takashi Iwai11b444d2008-11-21 09:32:40 +01001menuconfig SND_HDA_INTEL
2 tristate "Intel HD Audio"
3 select SND_PCM
4 select SND_VMASTER
Takashi Iwai35be5442011-11-02 08:36:06 +01005 select SND_KCTL_JACK
Takashi Iwai11b444d2008-11-21 09:32:40 +01006 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
16if SND_HDA_INTEL
17
Takashi Iwai24f3ced2013-02-04 18:25:51 +010018config SND_HDA_DSP_LOADER
19 bool
20
Takashi Iwaiacfa6342011-07-12 17:27:46 +020021config SND_HDA_PREALLOC_SIZE
22 int "Pre-allocated buffer size for HD-audio driver"
23 range 0 32768
24 default 64
25 help
Paul Menzelcf01b732011-07-12 19:53:56 +020026 Specifies the default pre-allocated buffer-size in kB for the
Takashi Iwaiacfa6342011-07-12 17:27:46 +020027 HD-audio driver. A larger buffer (e.g. 2048) is preferred
Paul Menzelcf01b732011-07-12 19:53:56 +020028 for systems using PulseAudio. The default 64 is chosen just
29 for compatibility reasons.
Takashi Iwaiacfa6342011-07-12 17:27:46 +020030
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 Iwai11b444d2008-11-21 09:32:40 +010034config 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
42config SND_HDA_RECONFIG
Kees Cook0b1714a2012-10-23 13:04:22 -070043 bool "Allow dynamic codec reconfiguration"
44 depends on SND_HDA_HWDEP
Takashi Iwai11b444d2008-11-21 09:32:40 +010045 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
51config 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 Kysela2dca0bb2009-11-13 18:41:52 +010058config SND_HDA_INPUT_BEEP_MODE
Takashi Iwai0920c9b2012-07-03 16:58:48 +020059 int "Digital beep registration mode (0=off, 1=on)"
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010060 depends on SND_HDA_INPUT_BEEP=y
61 default "1"
Takashi Iwai0920c9b2012-07-03 16:58:48 +020062 range 0 1
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010063 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 Iwai0920c9b2012-07-03 16:58:48 +020066 default.
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010067
Takashi Iwai8c8145b2009-06-22 17:00:38 +020068config SND_HDA_INPUT_JACK
69 bool "Support jack plugging notification via input layer"
Takashi Iwaifc087222009-11-21 19:57:11 +010070 depends on INPUT=y || INPUT=SND
Takashi Iwai8c8145b2009-06-22 17:00:38 +020071 select SND_JACK
72 help
73 Say Y here to enable the jack plugging notification via
74 input layer.
75
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020076config SND_HDA_PATCH_LOADER
77 bool "Support initialization patch loading for HD-audio"
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020078 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 Iwai11b444d2008-11-21 09:32:40 +010089config SND_HDA_CODEC_REALTEK
90 bool "Build Realtek HD-audio codec support"
91 default y
Takashi Iwai08c189f2012-12-19 15:22:24 +010092 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +010093 help
94 Say Y here to include Realtek HD-audio codec support in
95 snd-hda-intel driver, such as ALC880.
96
Takashi Iwai1289e9e2008-11-27 15:47:11 +010097 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 Iwai11b444d2008-11-21 09:32:40 +0100102config SND_HDA_CODEC_ANALOG
103 bool "Build Analog Device HD-audio codec support"
104 default y
Takashi Iwai78bb3cb2012-12-21 15:17:06 +0100105 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100106 help
107 Say Y here to include Analog Device HD-audio codec support in
108 snd-hda-intel driver, such as AD1986A.
109
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100110 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 Iwai11b444d2008-11-21 09:32:40 +0100115config SND_HDA_CODEC_SIGMATEL
116 bool "Build IDT/Sigmatel HD-audio codec support"
117 default y
Takashi Iwai36c9db72013-01-17 17:07:59 +0100118 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100119 help
120 Say Y here to include IDT (Sigmatel) HD-audio codec support in
121 snd-hda-intel driver, such as STAC9200.
122
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100123 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 Iwai11b444d2008-11-21 09:32:40 +0100128config SND_HDA_CODEC_VIA
129 bool "Build VIA HD-audio codec support"
130 default y
Takashi Iwaib3f60082013-01-07 12:27:36 +0100131 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100132 help
133 Say Y here to include VIA HD-audio codec support in
134 snd-hda-intel driver, such as VT1708.
135
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100136 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 Iwai84eb01b2010-09-07 12:27:25 +0200141config SND_HDA_CODEC_HDMI
142 bool "Build HDMI/DisplayPort HD-audio codec support"
Wu Fengguange9abf852010-05-14 16:36:12 +0800143 select SND_DYNAMIC_MINORS
Takashi Iwai11b444d2008-11-21 09:32:40 +0100144 default y
145 help
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200146 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 Iwai11b444d2008-11-21 09:32:40 +0100149
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100150 When the HD-audio driver is built as a module, the codec
151 support code is also built as another module,
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200152 snd-hda-codec-hdmi.
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100153 This module is automatically loaded at probing.
154
Takashi Iwaie5f14242009-07-01 18:11:44 +0200155config SND_HDA_CODEC_CIRRUS
156 bool "Build Cirrus Logic codec support"
Takashi Iwaie5f14242009-07-01 18:11:44 +0200157 default y
Takashi Iwai1077a022012-12-19 16:39:18 +0100158 select SND_HDA_GENERIC
Takashi Iwaie5f14242009-07-01 18:11:44 +0200159 help
160 Say Y here to include Cirrus Logic codec support in
161 snd-hda-intel driver, such as CS4206.
162
163 When the HD-audio driver is built as a module, the codec
164 support code is also built as another module,
165 snd-hda-codec-cirrus.
166 This module is automatically loaded at probing.
167
Takashi Iwai11b444d2008-11-21 09:32:40 +0100168config SND_HDA_CODEC_CONEXANT
169 bool "Build Conexant HD-audio codec support"
170 default y
Takashi Iwaiaed523f2012-12-20 16:34:12 +0100171 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100172 help
173 Say Y here to include Conexant HD-audio codec support in
174 snd-hda-intel driver, such as CX20549.
175
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100176 When the HD-audio driver is built as a module, the codec
177 support code is also built as another module,
178 snd-hda-codec-conexant.
179 This module is automatically loaded at probing.
180
Takashi Iwai4e01f542009-04-16 08:53:34 +0200181config SND_HDA_CODEC_CA0110
182 bool "Build Creative CA0110-IBG codec support"
Takashi Iwai4e01f542009-04-16 08:53:34 +0200183 default y
Takashi Iwai8fadf1d2012-12-19 18:04:37 +0100184 select SND_HDA_GENERIC
Takashi Iwai4e01f542009-04-16 08:53:34 +0200185 help
186 Say Y here to include Creative CA0110-IBG codec support in
187 snd-hda-intel driver, found on some Creative X-Fi cards.
188
189 When the HD-audio driver is built as a module, the codec
190 support code is also built as another module,
191 snd-hda-codec-ca0110.
192 This module is automatically loaded at probing.
193
Ian Minett95c6e9c2011-06-15 15:35:17 -0700194config SND_HDA_CODEC_CA0132
195 bool "Build Creative CA0132 codec support"
Ian Minett95c6e9c2011-06-15 15:35:17 -0700196 default y
197 help
198 Say Y here to include Creative CA0132 codec support in
199 snd-hda-intel driver.
200
201 When the HD-audio driver is built as a module, the codec
202 support code is also built as another module,
203 snd-hda-codec-ca0132.
204 This module is automatically loaded at probing.
205
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100206config SND_HDA_CODEC_CA0132_DSP
207 bool "Support new DSP code for CA0132 codec"
208 depends on SND_HDA_CODEC_CA0132 && FW_LOADER
209 select SND_HDA_DSP_LOADER
210 help
211 Say Y here to enable the DSP for Creative CA0132 for extended
212 features like equalizer or echo cancellation.
213
214 Note that this option requires the external firmware file
215 (ctefx.bin).
216
Takashi Iwai11b444d2008-11-21 09:32:40 +0100217config SND_HDA_CODEC_CMEDIA
218 bool "Build C-Media HD-audio codec support"
219 default y
Takashi Iwaib060fb02012-12-19 17:35:47 +0100220 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100221 help
222 Say Y here to include C-Media HD-audio codec support in
223 snd-hda-intel driver, such as CMI9880.
224
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100225 When the HD-audio driver is built as a module, the codec
226 support code is also built as another module,
227 snd-hda-codec-cmedia.
228 This module is automatically loaded at probing.
229
Takashi Iwai11b444d2008-11-21 09:32:40 +0100230config SND_HDA_CODEC_SI3054
231 bool "Build Silicon Labs 3054 HD-modem codec support"
232 default y
233 help
234 Say Y here to include Silicon Labs 3054 HD-modem codec
235 (and compatibles) support in snd-hda-intel driver.
236
Takashi Iwai1289e9e2008-11-27 15:47:11 +0100237 When the HD-audio driver is built as a module, the codec
238 support code is also built as another module,
239 snd-hda-codec-si3054.
240 This module is automatically loaded at probing.
241
Takashi Iwai11b444d2008-11-21 09:32:40 +0100242config SND_HDA_GENERIC
243 bool "Enable generic HD-audio codec parser"
244 default y
245 help
246 Say Y here to enable the generic HD-audio codec parser
247 in snd-hda-intel driver.
248
Takashi Iwai11b444d2008-11-21 09:32:40 +0100249config SND_HDA_POWER_SAVE_DEFAULT
250 int "Default time-out for HD-audio power-save mode"
Takashi Iwai83012a72012-08-24 18:38:08 +0200251 depends on PM
Takashi Iwai11b444d2008-11-21 09:32:40 +0100252 default 0
253 help
254 The default time-out value in seconds for HD-audio automatic
255 power-save mode. 0 means to disable the power-save mode.
256
257endif