xref: /linux/sound/pci/hda/Kconfig (revision 60e13231561b3a4c5269bfa1ef6c0569ad6f28ec)
1menuconfig SND_HDA_INTEL
2	tristate "Intel HD Audio"
3	select SND_PCM
4	select SND_VMASTER
5	help
6	  Say Y here to include support for Intel "High Definition
7	  Audio" (Azalia) and its compatible devices.
8
9	  This option enables the HD-audio controller.  Don't forget
10	  to choose the appropriate codec options below.
11
12	  To compile this driver as a module, choose M here: the module
13	  will be called snd-hda-intel.
14
15if SND_HDA_INTEL
16
17config SND_HDA_PREALLOC_SIZE
18	int "Pre-allocated buffer size for HD-audio driver"
19	range 0 32768
20	default 64
21	help
22	  Specifies the default pre-allocated buffer-size in kB for the
23	  HD-audio driver.  A larger buffer (e.g. 2048) is preferred
24	  for systems using PulseAudio.  The default 64 is chosen just
25	  for compatibility reasons.
26
27	  Note that the pre-allocation size can be changed dynamically
28	  via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
29
30config SND_HDA_HWDEP
31	bool "Build hwdep interface for HD-audio driver"
32	select SND_HWDEP
33	help
34	  Say Y here to build a hwdep interface for HD-audio driver.
35	  This interface can be used for out-of-band communication
36	  with codecs for debugging purposes.
37
38config SND_HDA_RECONFIG
39	bool "Allow dynamic codec reconfiguration (EXPERIMENTAL)"
40	depends on SND_HDA_HWDEP && EXPERIMENTAL
41	help
42	  Say Y here to enable the HD-audio codec re-configuration feature.
43	  This adds the sysfs interfaces to allow user to clear the whole
44	  codec configuration, change the codec setup, add extra verbs,
45	  and re-configure the codec dynamically.
46
47config SND_HDA_INPUT_BEEP
48	bool "Support digital beep via input layer"
49	depends on INPUT=y || INPUT=SND_HDA_INTEL
50	help
51	  Say Y here to build a digital beep interface for HD-audio
52	  driver. This interface is used to generate digital beeps.
53
54config SND_HDA_INPUT_BEEP_MODE
55	int "Digital beep registration mode (0=off, 1=on, 2=mute sw on/off)"
56	depends on SND_HDA_INPUT_BEEP=y
57	default "1"
58	range 0 2
59	help
60	  Set 0 to disable the digital beep interface for HD-audio by default.
61	  Set 1 to always enable the digital beep interface for HD-audio by
62	  default. Set 2 to control the beep device registration to input
63	  layer using a "Beep Switch" in mixer applications.
64
65config 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
73config 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
87config 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
99config SND_HDA_ENABLE_REALTEK_QUIRKS
100	bool "Build static quirks for Realtek codecs"
101	depends on SND_HDA_CODEC_REALTEK
102	default y
103	help
104	  Say Y here to build the static quirks codes for Realtek codecs.
105	  If you need the "model" preset that the default BIOS auto-parser
106	  can't handle, turn this option on.
107
108	  If your device works with model=auto option, basically you don't
109	  need the quirk code.  By turning this off, you can reduce the
110	  module size quite a lot.
111
112config SND_HDA_CODEC_ANALOG
113	bool "Build Analog Device HD-audio codec support"
114	default y
115	help
116	  Say Y here to include Analog Device HD-audio codec support in
117	  snd-hda-intel driver, such as AD1986A.
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-analog.
122	  This module is automatically loaded at probing.
123
124config SND_HDA_CODEC_SIGMATEL
125	bool "Build IDT/Sigmatel HD-audio codec support"
126	default y
127	help
128	  Say Y here to include IDT (Sigmatel) HD-audio codec support in
129	  snd-hda-intel driver, such as STAC9200.
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-idt.
134	  This module is automatically loaded at probing.
135
136config SND_HDA_CODEC_VIA
137	bool "Build VIA HD-audio codec support"
138	default y
139	help
140	  Say Y here to include VIA HD-audio codec support in
141	  snd-hda-intel driver, such as VT1708.
142
143	  When the HD-audio driver is built as a module, the codec
144	  support code is also built as another module,
145	  snd-hda-codec-via.
146	  This module is automatically loaded at probing.
147
148config SND_HDA_CODEC_HDMI
149	bool "Build HDMI/DisplayPort HD-audio codec support"
150	select SND_DYNAMIC_MINORS
151	default y
152	help
153	  Say Y here to include HDMI and DisplayPort HD-audio codec
154	  support in snd-hda-intel driver.  This includes all AMD/ATI,
155	  Intel and Nvidia HDMI/DisplayPort codecs.
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-hdmi.
160	  This module is automatically loaded at probing.
161
162config SND_HDA_CODEC_CIRRUS
163	bool "Build Cirrus Logic codec support"
164	depends on SND_HDA_INTEL
165	default y
166	help
167	  Say Y here to include Cirrus Logic codec support in
168	  snd-hda-intel driver, such as CS4206.
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-cirrus.
173	  This module is automatically loaded at probing.
174
175config SND_HDA_CODEC_CONEXANT
176	bool "Build Conexant HD-audio codec support"
177	default y
178	help
179	  Say Y here to include Conexant HD-audio codec support in
180	  snd-hda-intel driver, such as CX20549.
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-conexant.
185	  This module is automatically loaded at probing.
186
187config SND_HDA_CODEC_CA0110
188	bool "Build Creative CA0110-IBG codec support"
189	depends on SND_HDA_INTEL
190	default y
191	help
192	  Say Y here to include Creative CA0110-IBG codec support in
193	  snd-hda-intel driver, found on some Creative X-Fi cards.
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-ca0110.
198	  This module is automatically loaded at probing.
199
200config SND_HDA_CODEC_CA0132
201	bool "Build Creative CA0132 codec support"
202	depends on SND_HDA_INTEL
203	default y
204	help
205	  Say Y here to include Creative CA0132 codec support in
206	  snd-hda-intel driver.
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-ca0132.
211	  This module is automatically loaded at probing.
212
213config SND_HDA_CODEC_CMEDIA
214	bool "Build C-Media HD-audio codec support"
215	default y
216	help
217	  Say Y here to include C-Media HD-audio codec support in
218	  snd-hda-intel driver, such as CMI9880.
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-cmedia.
223	  This module is automatically loaded at probing.
224
225config SND_HDA_CODEC_SI3054
226	bool "Build Silicon Labs 3054 HD-modem codec support"
227	default y
228	help
229	  Say Y here to include Silicon Labs 3054 HD-modem codec
230	  (and compatibles) support in snd-hda-intel driver.
231
232	  When the HD-audio driver is built as a module, the codec
233	  support code is also built as another module,
234	  snd-hda-codec-si3054.
235	  This module is automatically loaded at probing.
236
237config SND_HDA_GENERIC
238	bool "Enable generic HD-audio codec parser"
239	default y
240	help
241	  Say Y here to enable the generic HD-audio codec parser
242	  in snd-hda-intel driver.
243
244config SND_HDA_POWER_SAVE
245	bool "Aggressive power-saving on HD-audio"
246	depends on PM
247	help
248	  Say Y here to enable more aggressive power-saving mode on
249	  HD-audio driver.  The power-saving timeout can be configured
250	  via power_save option or over sysfs on-the-fly.
251
252config SND_HDA_POWER_SAVE_DEFAULT
253	int "Default time-out for HD-audio power-save mode"
254	depends on SND_HDA_POWER_SAVE
255	default 0
256	help
257	  The default time-out value in seconds for HD-audio automatic
258	  power-save mode.  0 means to disable the power-save mode.
259
260endif
261