Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[pandora-kernel.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)"
57         depends on SND_HDA_INPUT_BEEP=y
58         default "1"
59         range 0 1
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.
64
65 config SND_HDA_INPUT_JACK
66         bool "Support jack plugging notification via input layer"
67         depends on INPUT=y || INPUT=SND
68         select SND_JACK
69         help
70           Say Y here to enable the jack plugging notification via
71           input layer.
72
73 config SND_HDA_PATCH_LOADER
74         bool "Support initialization patch loading for HD-audio"
75         depends on EXPERIMENTAL
76         select FW_LOADER
77         select SND_HDA_HWDEP
78         select SND_HDA_RECONFIG
79         help
80           Say Y here to allow the HD-audio driver to load a pseudo
81           firmware file ("patch") for overriding the BIOS setup at
82           start up.  The "patch" file can be specified via patch module
83           option, such as patch=hda-init.
84
85           This option turns on hwdep and reconfig features automatically.
86
87 config SND_HDA_CODEC_REALTEK
88         bool "Build Realtek HD-audio codec support"
89         default y
90         help
91           Say Y here to include Realtek HD-audio codec support in
92           snd-hda-intel driver, such as ALC880.
93
94           When the HD-audio driver is built as a module, the codec
95           support code is also built as another module,
96           snd-hda-codec-realtek.
97           This module is automatically loaded at probing.
98
99 config SND_HDA_CODEC_ANALOG
100         bool "Build Analog Device HD-audio codec support"
101         default y
102         help
103           Say Y here to include Analog Device HD-audio codec support in
104           snd-hda-intel driver, such as AD1986A.
105
106           When the HD-audio driver is built as a module, the codec
107           support code is also built as another module,
108           snd-hda-codec-analog.
109           This module is automatically loaded at probing.
110
111 config SND_HDA_CODEC_SIGMATEL
112         bool "Build IDT/Sigmatel HD-audio codec support"
113         default y
114         help
115           Say Y here to include IDT (Sigmatel) HD-audio codec support in
116           snd-hda-intel driver, such as STAC9200.
117
118           When the HD-audio driver is built as a module, the codec
119           support code is also built as another module,
120           snd-hda-codec-idt.
121           This module is automatically loaded at probing.
122
123 config SND_HDA_CODEC_VIA
124         bool "Build VIA HD-audio codec support"
125         default y
126         help
127           Say Y here to include VIA HD-audio codec support in
128           snd-hda-intel driver, such as VT1708.
129
130           When the HD-audio driver is built as a module, the codec
131           support code is also built as another module,
132           snd-hda-codec-via.
133           This module is automatically loaded at probing.
134
135 config SND_HDA_CODEC_HDMI
136         bool "Build HDMI/DisplayPort HD-audio codec support"
137         select SND_DYNAMIC_MINORS
138         default y
139         help
140           Say Y here to include HDMI and DisplayPort HD-audio codec
141           support in snd-hda-intel driver.  This includes all AMD/ATI,
142           Intel and Nvidia HDMI/DisplayPort codecs.
143
144           When the HD-audio driver is built as a module, the codec
145           support code is also built as another module,
146           snd-hda-codec-hdmi.
147           This module is automatically loaded at probing.
148
149 config SND_HDA_CODEC_CIRRUS
150         bool "Build Cirrus Logic codec support"
151         depends on SND_HDA_INTEL
152         default y
153         help
154           Say Y here to include Cirrus Logic codec support in
155           snd-hda-intel driver, such as CS4206.
156
157           When the HD-audio driver is built as a module, the codec
158           support code is also built as another module,
159           snd-hda-codec-cirrus.
160           This module is automatically loaded at probing.
161
162 config SND_HDA_CODEC_CONEXANT
163         bool "Build Conexant HD-audio codec support"
164         default y
165         help
166           Say Y here to include Conexant HD-audio codec support in
167           snd-hda-intel driver, such as CX20549.
168
169           When the HD-audio driver is built as a module, the codec
170           support code is also built as another module,
171           snd-hda-codec-conexant.
172           This module is automatically loaded at probing.
173
174 config SND_HDA_CODEC_CA0110
175         bool "Build Creative CA0110-IBG codec support"
176         depends on SND_HDA_INTEL
177         default y
178         help
179           Say Y here to include Creative CA0110-IBG codec support in
180           snd-hda-intel driver, found on some Creative X-Fi cards.
181
182           When the HD-audio driver is built as a module, the codec
183           support code is also built as another module,
184           snd-hda-codec-ca0110.
185           This module is automatically loaded at probing.
186
187 config SND_HDA_CODEC_CA0132
188         bool "Build Creative CA0132 codec support"
189         depends on SND_HDA_INTEL
190         default y
191         help
192           Say Y here to include Creative CA0132 codec support in
193           snd-hda-intel driver.
194
195           When the HD-audio driver is built as a module, the codec
196           support code is also built as another module,
197           snd-hda-codec-ca0132.
198           This module is automatically loaded at probing.
199
200 config SND_HDA_CODEC_CMEDIA
201         bool "Build C-Media HD-audio codec support"
202         default y
203         help
204           Say Y here to include C-Media HD-audio codec support in
205           snd-hda-intel driver, such as CMI9880.
206
207           When the HD-audio driver is built as a module, the codec
208           support code is also built as another module,
209           snd-hda-codec-cmedia.
210           This module is automatically loaded at probing.
211
212 config SND_HDA_CODEC_SI3054
213         bool "Build Silicon Labs 3054 HD-modem codec support"
214         default y
215         help
216           Say Y here to include Silicon Labs 3054 HD-modem codec
217           (and compatibles) support in snd-hda-intel driver.
218
219           When the HD-audio driver is built as a module, the codec
220           support code is also built as another module,
221           snd-hda-codec-si3054.
222           This module is automatically loaded at probing.
223
224 config SND_HDA_GENERIC
225         bool "Enable generic HD-audio codec parser"
226         default y
227         help
228           Say Y here to enable the generic HD-audio codec parser
229           in snd-hda-intel driver.
230
231 config SND_HDA_POWER_SAVE_DEFAULT
232         int "Default time-out for HD-audio power-save mode"
233         depends on PM
234         default 0
235         help
236           The default time-out value in seconds for HD-audio automatic
237           power-save mode.  0 means to disable the power-save mode.
238
239 endif