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