Merge branch 'for-4.2' into for-next
[firefly-linux-kernel-4.4.55.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         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_INPUT_JACK
88         bool "Support jack plugging notification via input layer"
89         depends on INPUT=y || INPUT=SND
90         select SND_JACK
91         help
92           Say Y here to enable the jack plugging notification via
93           input layer.
94
95 config SND_HDA_PATCH_LOADER
96         bool "Support initialization patch loading for HD-audio"
97         select FW_LOADER
98         select SND_HDA_RECONFIG
99         help
100           Say Y here to allow the HD-audio driver to load a pseudo
101           firmware file ("patch") for overriding the BIOS setup at
102           start up.  The "patch" file can be specified via patch module
103           option, such as patch=hda-init.
104
105 config SND_HDA_CODEC_REALTEK
106         tristate "Build Realtek HD-audio codec support"
107         select SND_HDA_GENERIC
108         select INPUT
109         help
110           Say Y or M here to include Realtek HD-audio codec support in
111           snd-hda-intel driver, such as ALC880.
112
113 comment "Set to Y if you want auto-loading the codec driver"
114         depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
115
116 config SND_HDA_CODEC_ANALOG
117         tristate "Build Analog Device HD-audio codec support"
118         select SND_HDA_GENERIC
119         help
120           Say Y or M here to include Analog Device HD-audio codec support in
121           snd-hda-intel driver, such as AD1986A.
122
123 comment "Set to Y if you want auto-loading the codec driver"
124         depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
125
126 config SND_HDA_CODEC_SIGMATEL
127         tristate "Build IDT/Sigmatel HD-audio codec support"
128         select SND_HDA_GENERIC
129         help
130           Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
131           snd-hda-intel driver, such as STAC9200.
132
133 comment "Set to Y if you want auto-loading the codec driver"
134         depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
135
136 config SND_HDA_CODEC_VIA
137         tristate "Build VIA HD-audio codec support"
138         select SND_HDA_GENERIC
139         help
140           Say Y or M here to include VIA HD-audio codec support in
141           snd-hda-intel driver, such as VT1708.
142
143 comment "Set to Y if you want auto-loading the codec driver"
144         depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
145
146 config SND_HDA_CODEC_HDMI
147         tristate "Build HDMI/DisplayPort HD-audio codec support"
148         help
149           Say Y or M here to include HDMI and DisplayPort HD-audio codec
150           support in snd-hda-intel driver.  This includes all AMD/ATI,
151           Intel and Nvidia HDMI/DisplayPort codecs.
152
153 comment "Set to Y if you want auto-loading the codec driver"
154         depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
155
156 config SND_HDA_I915
157         bool
158         default y
159         depends on DRM_I915
160
161 config SND_HDA_CODEC_CIRRUS
162         tristate "Build Cirrus Logic codec support"
163         select SND_HDA_GENERIC
164         help
165           Say Y or M here to include Cirrus Logic codec support in
166           snd-hda-intel driver, such as CS4206.
167
168 comment "Set to Y if you want auto-loading the codec driver"
169         depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
170
171 config SND_HDA_CODEC_CONEXANT
172         tristate "Build Conexant HD-audio codec support"
173         select SND_HDA_GENERIC
174         help
175           Say Y or M here to include Conexant HD-audio codec support in
176           snd-hda-intel driver, such as CX20549.
177
178 comment "Set to Y if you want auto-loading the codec driver"
179         depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
180
181 config SND_HDA_CODEC_CA0110
182         tristate "Build Creative CA0110-IBG codec support"
183         select SND_HDA_GENERIC
184         help
185           Say Y or M here to include Creative CA0110-IBG codec support in
186           snd-hda-intel driver, found on some Creative X-Fi cards.
187
188 comment "Set to Y if you want auto-loading the codec driver"
189         depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
190
191 config SND_HDA_CODEC_CA0132
192         tristate "Build Creative CA0132 codec support"
193         help
194           Say Y or M here to include Creative CA0132 codec support in
195           snd-hda-intel driver.
196
197 comment "Set to Y if you want auto-loading the codec driver"
198         depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
199
200 config SND_HDA_CODEC_CA0132_DSP
201         bool "Support new DSP code for CA0132 codec"
202         depends on SND_HDA_CODEC_CA0132
203         select SND_HDA_DSP_LOADER
204         select FW_LOADER
205         help
206           Say Y here to enable the DSP for Creative CA0132 for extended
207           features like equalizer or echo cancellation.
208
209           Note that this option requires the external firmware file
210           (ctefx.bin).
211
212 config SND_HDA_CODEC_CMEDIA
213         tristate "Build C-Media HD-audio codec support"
214         select SND_HDA_GENERIC
215         help
216           Say Y or M here to include C-Media HD-audio codec support in
217           snd-hda-intel driver, such as CMI9880.
218
219 comment "Set to Y if you want auto-loading the codec driver"
220         depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
221
222 config SND_HDA_CODEC_SI3054
223         tristate "Build Silicon Labs 3054 HD-modem codec support"
224         help
225           Say Y or M here to include Silicon Labs 3054 HD-modem codec
226           (and compatibles) support in snd-hda-intel driver.
227
228 comment "Set to Y if you want auto-loading the codec driver"
229         depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
230
231 config SND_HDA_GENERIC
232         tristate "Enable generic HD-audio codec parser"
233         help
234           Say Y or M here to enable the generic HD-audio codec parser
235           in snd-hda-intel driver.
236
237 comment "Set to Y if you want auto-loading the codec driver"
238         depends on SND_HDA=y && SND_HDA_GENERIC=m
239
240 config SND_HDA_POWER_SAVE_DEFAULT
241         int "Default time-out for HD-audio power-save mode"
242         depends on PM
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
249
250 endmenu