Merge remote-tracking branches 'regulator/topic/tps65217', 'regulator/topic/tps65218...
[linux-2.6-microblaze.git] / sound / pci / hda / Kconfig
1 menu "HD-Audio"
2
3 config SND_HDA
4         tristate
5         select SND_PCM
6         select SND_VMASTER
7         select SND_KCTL_JACK
8
9 config SND_HDA_INTEL
10         tristate "HD Audio PCI"
11         depends on SND_PCI
12         select SND_HDA
13         help
14           Say Y here to include support for Intel "High Definition
15           Audio" (Azalia) and its compatible devices.
16
17           This option enables the HD-audio controller.  Don't forget
18           to choose the appropriate codec options below.
19
20           To compile this driver as a module, choose M here: the module
21           will be called snd-hda-intel.
22
23 config SND_HDA_TEGRA
24         tristate "NVIDIA Tegra HD Audio"
25         depends on ARCH_TEGRA
26         select SND_HDA
27         help
28           Say Y here to support the HDA controller present in NVIDIA
29           Tegra SoCs
30
31           This options enables support for the HD Audio controller
32           present in some NVIDIA Tegra SoCs, used to communicate audio
33           to the HDMI output.
34
35           To compile this driver as a module, choose M here: the module
36           will be called snd-hda-tegra.
37
38 if SND_HDA
39
40 config SND_HDA_DSP_LOADER
41         bool
42
43 config SND_HDA_PREALLOC_SIZE
44         int "Pre-allocated buffer size for HD-audio driver"
45         range 0 32768
46         default 64
47         help
48           Specifies the default pre-allocated buffer-size in kB for the
49           HD-audio driver.  A larger buffer (e.g. 2048) is preferred
50           for systems using PulseAudio.  The default 64 is chosen just
51           for compatibility reasons.
52
53           Note that the pre-allocation size can be changed dynamically
54           via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
55
56 config SND_HDA_HWDEP
57         bool "Build hwdep interface for HD-audio driver"
58         select SND_HWDEP
59         help
60           Say Y here to build a hwdep interface for HD-audio driver.
61           This interface can be used for out-of-band communication
62           with codecs for debugging purposes.
63
64 config SND_HDA_RECONFIG
65         bool "Allow dynamic codec reconfiguration"
66         help
67           Say Y here to enable the HD-audio codec re-configuration feature.
68           This adds the sysfs interfaces to allow user to clear the whole
69           codec configuration, change the codec setup, add extra verbs,
70           and re-configure the codec dynamically.
71
72 config SND_HDA_INPUT_BEEP
73         bool "Support digital beep via input layer"
74         depends on INPUT=y || INPUT=SND_HDA
75         help
76           Say Y here to build a digital beep interface for HD-audio
77           driver. This interface is used to generate digital beeps.
78
79 config SND_HDA_INPUT_BEEP_MODE
80         int "Digital beep registration mode (0=off, 1=on)"
81         depends on SND_HDA_INPUT_BEEP=y
82         default "1"
83         range 0 1
84         help
85           Set 0 to disable the digital beep interface for HD-audio by default.
86           Set 1 to always enable the digital beep interface for HD-audio by
87           default.
88
89 config SND_HDA_INPUT_JACK
90         bool "Support jack plugging notification via input layer"
91         depends on INPUT=y || INPUT=SND
92         select SND_JACK
93         help
94           Say Y here to enable the jack plugging notification via
95           input layer.
96
97 config SND_HDA_PATCH_LOADER
98         bool "Support initialization patch loading for HD-audio"
99         select FW_LOADER
100         select SND_HDA_RECONFIG
101         help
102           Say Y here to allow the HD-audio driver to load a pseudo
103           firmware file ("patch") for overriding the BIOS setup at
104           start up.  The "patch" file can be specified via patch module
105           option, such as patch=hda-init.
106
107 config SND_HDA_CODEC_REALTEK
108         tristate "Build Realtek HD-audio codec support"
109         select SND_HDA_GENERIC
110         help
111           Say Y or M here to include Realtek HD-audio codec support in
112           snd-hda-intel driver, such as ALC880.
113
114 comment "Set to Y if you want auto-loading the codec driver"
115         depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
116
117 config SND_HDA_CODEC_ANALOG
118         tristate "Build Analog Device HD-audio codec support"
119         select SND_HDA_GENERIC
120         help
121           Say Y or M here to include Analog Device HD-audio codec support in
122           snd-hda-intel driver, such as AD1986A.
123
124 comment "Set to Y if you want auto-loading the codec driver"
125         depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
126
127 config SND_HDA_CODEC_SIGMATEL
128         tristate "Build IDT/Sigmatel HD-audio codec support"
129         select SND_HDA_GENERIC
130         help
131           Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
132           snd-hda-intel driver, such as STAC9200.
133
134 comment "Set to Y if you want auto-loading the codec driver"
135         depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
136
137 config SND_HDA_CODEC_VIA
138         tristate "Build VIA HD-audio codec support"
139         select SND_HDA_GENERIC
140         help
141           Say Y or M here to include VIA HD-audio codec support in
142           snd-hda-intel driver, such as VT1708.
143
144 comment "Set to Y if you want auto-loading the codec driver"
145         depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
146
147 config SND_HDA_CODEC_HDMI
148         tristate "Build HDMI/DisplayPort HD-audio codec support"
149         help
150           Say Y or M here to include HDMI and DisplayPort HD-audio codec
151           support in snd-hda-intel driver.  This includes all AMD/ATI,
152           Intel and Nvidia HDMI/DisplayPort codecs.
153
154 comment "Set to Y if you want auto-loading the codec driver"
155         depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
156
157 config SND_HDA_I915
158         bool
159         default y
160         depends on DRM_I915
161
162 config SND_HDA_CODEC_CIRRUS
163         tristate "Build Cirrus Logic codec support"
164         select SND_HDA_GENERIC
165         help
166           Say Y or M here to include Cirrus Logic codec support in
167           snd-hda-intel driver, such as CS4206.
168
169 comment "Set to Y if you want auto-loading the codec driver"
170         depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
171
172 config SND_HDA_CODEC_CONEXANT
173         tristate "Build Conexant HD-audio codec support"
174         select SND_HDA_GENERIC
175         help
176           Say Y or M here to include Conexant HD-audio codec support in
177           snd-hda-intel driver, such as CX20549.
178
179 comment "Set to Y if you want auto-loading the codec driver"
180         depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
181
182 config SND_HDA_CODEC_CA0110
183         tristate "Build Creative CA0110-IBG codec support"
184         select SND_HDA_GENERIC
185         help
186           Say Y or M here to include Creative CA0110-IBG codec support in
187           snd-hda-intel driver, found on some Creative X-Fi cards.
188
189 comment "Set to Y if you want auto-loading the codec driver"
190         depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
191
192 config SND_HDA_CODEC_CA0132
193         tristate "Build Creative CA0132 codec support"
194         help
195           Say Y or M here to include Creative CA0132 codec support in
196           snd-hda-intel driver.
197
198 comment "Set to Y if you want auto-loading the codec driver"
199         depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
200
201 config SND_HDA_CODEC_CA0132_DSP
202         bool "Support new DSP code for CA0132 codec"
203         depends on SND_HDA_CODEC_CA0132
204         select SND_HDA_DSP_LOADER
205         select FW_LOADER
206         help
207           Say Y here to enable the DSP for Creative CA0132 for extended
208           features like equalizer or echo cancellation.
209
210           Note that this option requires the external firmware file
211           (ctefx.bin).
212
213 config SND_HDA_CODEC_CMEDIA
214         tristate "Build C-Media HD-audio codec support"
215         select SND_HDA_GENERIC
216         help
217           Say Y or M here to include C-Media HD-audio codec support in
218           snd-hda-intel driver, such as CMI9880.
219
220 comment "Set to Y if you want auto-loading the codec driver"
221         depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
222
223 config SND_HDA_CODEC_SI3054
224         tristate "Build Silicon Labs 3054 HD-modem codec support"
225         help
226           Say Y or M here to include Silicon Labs 3054 HD-modem codec
227           (and compatibles) support in snd-hda-intel driver.
228
229 comment "Set to Y if you want auto-loading the codec driver"
230         depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
231
232 config SND_HDA_GENERIC
233         tristate "Enable generic HD-audio codec parser"
234         help
235           Say Y or M here to enable the generic HD-audio codec parser
236           in snd-hda-intel driver.
237
238 comment "Set to Y if you want auto-loading the codec driver"
239         depends on SND_HDA=y && SND_HDA_GENERIC=m
240
241 config SND_HDA_POWER_SAVE_DEFAULT
242         int "Default time-out for HD-audio power-save mode"
243         depends on PM
244         default 0
245         help
246           The default time-out value in seconds for HD-audio automatic
247           power-save mode.  0 means to disable the power-save mode.
248
249 endif
250
251 endmenu