Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / sound / pci / hda / Kconfig
1 menuconfig SND_HDA_INTEL
2         tristate "Intel HD Audio"
3         select SND_PCM
4         select SND_VMASTER
5         select SND_KCTL_JACK
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
18 config SND_HDA_PREALLOC_SIZE
19         int "Pre-allocated buffer size for HD-audio driver"
20         range 0 32768
21         default 64
22         help
23           Specifies the default pre-allocated buffer-size in kB for the
24           HD-audio driver.  A larger buffer (e.g. 2048) is preferred
25           for systems using PulseAudio.  The default 64 is chosen just
26           for compatibility reasons.
27
28           Note that the pre-allocation size can be changed dynamically
29           via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
30
31 config SND_HDA_HWDEP
32         bool "Build hwdep interface for HD-audio driver"
33         select SND_HWDEP
34         help
35           Say Y here to build a hwdep interface for HD-audio driver.
36           This interface can be used for out-of-band communication
37           with codecs for debugging purposes.
38
39 config SND_HDA_RECONFIG
40         bool "Allow dynamic codec reconfiguration (EXPERIMENTAL)"
41         depends on SND_HDA_HWDEP && EXPERIMENTAL
42         help
43           Say Y here to enable the HD-audio codec re-configuration feature.
44           This adds the sysfs interfaces to allow user to clear the whole
45           codec configuration, change the codec setup, add extra verbs,
46           and re-configure the codec dynamically.
47
48 config SND_HDA_INPUT_BEEP
49         bool "Support digital beep via input layer"
50         depends on INPUT=y || INPUT=SND_HDA_INTEL
51         help
52           Say Y here to build a digital beep interface for HD-audio
53           driver. This interface is used to generate digital beeps.
54
55 config SND_HDA_INPUT_BEEP_MODE
56         int "Digital beep registration mode (0=off, 1=on, 2=mute sw on/off)"
57         depends on SND_HDA_INPUT_BEEP=y
58         default "1"
59         range 0 2
60         help
61           Set 0 to disable the digital beep interface for HD-audio by default.
62           Set 1 to always enable the digital beep interface for HD-audio by
63           default. Set 2 to control the beep device registration to input
64           layer using a "Beep Switch" in mixer applications.
65
66 config SND_HDA_INPUT_JACK
67         bool "Support jack plugging notification via input layer"
68         depends on INPUT=y || INPUT=SND
69         select SND_JACK
70         help
71           Say Y here to enable the jack plugging notification via
72           input layer.
73
74 config SND_HDA_PATCH_LOADER
75         bool "Support initialization patch loading for HD-audio"
76         depends on EXPERIMENTAL
77         select FW_LOADER
78         select SND_HDA_HWDEP
79         select SND_HDA_RECONFIG
80         help
81           Say Y here to allow the HD-audio driver to load a pseudo
82           firmware file ("patch") for overriding the BIOS setup at
83           start up.  The "patch" file can be specified via patch module
84           option, such as patch=hda-init.
85
86           This option turns on hwdep and reconfig features automatically.
87
88 config SND_HDA_CODEC_REALTEK
89         bool "Build Realtek HD-audio codec support"
90         default y
91         help
92           Say Y here to include Realtek HD-audio codec support in
93           snd-hda-intel driver, such as ALC880.
94
95           When the HD-audio driver is built as a module, the codec
96           support code is also built as another module,
97           snd-hda-codec-realtek.
98           This module is automatically loaded at probing.
99
100 config SND_HDA_CODEC_ANALOG
101         bool "Build Analog Device HD-audio codec support"
102         default y
103         help
104           Say Y here to include Analog Device HD-audio codec support in
105           snd-hda-intel driver, such as AD1986A.
106
107           When the HD-audio driver is built as a module, the codec
108           support code is also built as another module,
109           snd-hda-codec-analog.
110           This module is automatically loaded at probing.
111
112 config SND_HDA_CODEC_SIGMATEL
113         bool "Build IDT/Sigmatel HD-audio codec support"
114         default y
115         help
116           Say Y here to include IDT (Sigmatel) HD-audio codec support in
117           snd-hda-intel driver, such as STAC9200.
118
119           When the HD-audio driver is built as a module, the codec
120           support code is also built as another module,
121           snd-hda-codec-idt.
122           This module is automatically loaded at probing.
123
124 config SND_HDA_CODEC_VIA
125         bool "Build VIA HD-audio codec support"
126         default y
127         help
128           Say Y here to include VIA HD-audio codec support in
129           snd-hda-intel driver, such as VT1708.
130
131           When the HD-audio driver is built as a module, the codec
132           support code is also built as another module,
133           snd-hda-codec-via.
134           This module is automatically loaded at probing.
135
136 config SND_HDA_CODEC_HDMI
137         bool "Build HDMI/DisplayPort HD-audio codec support"
138         select SND_DYNAMIC_MINORS
139         default y
140         help
141           Say Y here to include HDMI and DisplayPort HD-audio codec
142           support in snd-hda-intel driver.  This includes all AMD/ATI,
143           Intel and Nvidia HDMI/DisplayPort codecs.
144
145           When the HD-audio driver is built as a module, the codec
146           support code is also built as another module,
147           snd-hda-codec-hdmi.
148           This module is automatically loaded at probing.
149
150 config SND_HDA_CODEC_CIRRUS
151         bool "Build Cirrus Logic codec support"
152         depends on SND_HDA_INTEL
153         default y
154         help
155           Say Y here to include Cirrus Logic codec support in
156           snd-hda-intel driver, such as CS4206.
157
158           When the HD-audio driver is built as a module, the codec
159           support code is also built as another module,
160           snd-hda-codec-cirrus.
161           This module is automatically loaded at probing.
162
163 config SND_HDA_CODEC_CONEXANT
164         bool "Build Conexant HD-audio codec support"
165         default y
166         help
167           Say Y here to include Conexant HD-audio codec support in
168           snd-hda-intel driver, such as CX20549.
169
170           When the HD-audio driver is built as a module, the codec
171           support code is also built as another module,
172           snd-hda-codec-conexant.
173           This module is automatically loaded at probing.
174
175 config SND_HDA_CODEC_CA0110
176         bool "Build Creative CA0110-IBG codec support"
177         depends on SND_HDA_INTEL
178         default y
179         help
180           Say Y here to include Creative CA0110-IBG codec support in
181           snd-hda-intel driver, found on some Creative X-Fi cards.
182
183           When the HD-audio driver is built as a module, the codec
184           support code is also built as another module,
185           snd-hda-codec-ca0110.
186           This module is automatically loaded at probing.
187
188 config SND_HDA_CODEC_CA0132
189         bool "Build Creative CA0132 codec support"
190         depends on SND_HDA_INTEL
191         default y
192         help
193           Say Y here to include Creative CA0132 codec support in
194           snd-hda-intel driver.
195
196           When the HD-audio driver is built as a module, the codec
197           support code is also built as another module,
198           snd-hda-codec-ca0132.
199           This module is automatically loaded at probing.
200
201 config SND_HDA_CODEC_CMEDIA
202         bool "Build C-Media HD-audio codec support"
203         default y
204         help
205           Say Y here to include C-Media HD-audio codec support in
206           snd-hda-intel driver, such as CMI9880.
207
208           When the HD-audio driver is built as a module, the codec
209           support code is also built as another module,
210           snd-hda-codec-cmedia.
211           This module is automatically loaded at probing.
212
213 config SND_HDA_CODEC_SI3054
214         bool "Build Silicon Labs 3054 HD-modem codec support"
215         default y
216         help
217           Say Y here to include Silicon Labs 3054 HD-modem codec
218           (and compatibles) support in snd-hda-intel driver.
219
220           When the HD-audio driver is built as a module, the codec
221           support code is also built as another module,
222           snd-hda-codec-si3054.
223           This module is automatically loaded at probing.
224
225 config SND_HDA_GENERIC
226         bool "Enable generic HD-audio codec parser"
227         default y
228         help
229           Say Y here to enable the generic HD-audio codec parser
230           in snd-hda-intel driver.
231
232 config SND_HDA_POWER_SAVE
233         bool "Aggressive power-saving on HD-audio"
234         depends on PM
235         help
236           Say Y here to enable more aggressive power-saving mode on
237           HD-audio driver.  The power-saving timeout can be configured
238           via power_save option or over sysfs on-the-fly.
239
240 config SND_HDA_POWER_SAVE_DEFAULT
241         int "Default time-out for HD-audio power-save mode"
242         depends on SND_HDA_POWER_SAVE
243         default 0
244         help
245           The default time-out value in seconds for HD-audio automatic
246           power-save mode.  0 means to disable the power-save mode.
247
248 endif