1menuconfig 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
16if SND_HDA_INTEL
17
18config 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
31config 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
39config 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
48config 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
55config SND_HDA_INPUT_BEEP_MODE
56	int "Digital beep registration mode (0=off, 1=on, 2=mute sw on/off)"
57	depends on SND_HDA_INPUT_BEEP=y
58	default "1"
59	range 0 2
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. Set 2 to control the beep device registration to input
64	  layer using a "Beep Switch" in mixer applications.
65
66config SND_HDA_INPUT_JACK
67	bool "Support jack plugging notification via input layer"
68	depends on INPUT=y || INPUT=SND
69	select SND_JACK
70	help
71	  Say Y here to enable the jack plugging notification via
72	  input layer.
73
74config SND_HDA_PATCH_LOADER
75	bool "Support initialization patch loading for HD-audio"
76	depends on EXPERIMENTAL
77	select FW_LOADER
78	select SND_HDA_HWDEP
79	select SND_HDA_RECONFIG
80	help
81	  Say Y here to allow the HD-audio driver to load a pseudo
82	  firmware file ("patch") for overriding the BIOS setup at
83	  start up.  The "patch" file can be specified via patch module
84	  option, such as patch=hda-init.
85
86	  This option turns on hwdep and reconfig features automatically.
87
88config SND_HDA_CODEC_REALTEK
89	bool "Build Realtek HD-audio codec support"
90	default y
91	help
92	  Say Y here to include Realtek HD-audio codec support in
93	  snd-hda-intel driver, such as ALC880.
94
95	  When the HD-audio driver is built as a module, the codec
96	  support code is also built as another module,
97	  snd-hda-codec-realtek.
98	  This module is automatically loaded at probing.
99
100config SND_HDA_ENABLE_REALTEK_QUIRKS
101	bool "Build static quirks for Realtek codecs"
102	depends on SND_HDA_CODEC_REALTEK
103	default y
104	help
105	  Say Y here to build the static quirks codes for Realtek codecs.
106	  If you need the "model" preset that the default BIOS auto-parser
107	  can't handle, turn this option on.
108
109	  If your device works with model=auto option, basically you don't
110	  need the quirk code.  By turning this off, you can reduce the
111	  module size quite a lot.
112
113config SND_HDA_CODEC_ANALOG
114	bool "Build Analog Device HD-audio codec support"
115	default y
116	help
117	  Say Y here to include Analog Device HD-audio codec support in
118	  snd-hda-intel driver, such as AD1986A.
119
120	  When the HD-audio driver is built as a module, the codec
121	  support code is also built as another module,
122	  snd-hda-codec-analog.
123	  This module is automatically loaded at probing.
124
125config SND_HDA_CODEC_SIGMATEL
126	bool "Build IDT/Sigmatel HD-audio codec support"
127	default y
128	help
129	  Say Y here to include IDT (Sigmatel) HD-audio codec support in
130	  snd-hda-intel driver, such as STAC9200.
131
132	  When the HD-audio driver is built as a module, the codec
133	  support code is also built as another module,
134	  snd-hda-codec-idt.
135	  This module is automatically loaded at probing.
136
137config SND_HDA_CODEC_VIA
138	bool "Build VIA HD-audio codec support"
139	default y
140	help
141	  Say Y here to include VIA HD-audio codec support in
142	  snd-hda-intel driver, such as VT1708.
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-via.
147	  This module is automatically loaded at probing.
148
149config SND_HDA_CODEC_HDMI
150	bool "Build HDMI/DisplayPort HD-audio codec support"
151	select SND_DYNAMIC_MINORS
152	default y
153	help
154	  Say Y here to include HDMI and DisplayPort HD-audio codec
155	  support in snd-hda-intel driver.  This includes all AMD/ATI,
156	  Intel and Nvidia HDMI/DisplayPort codecs.
157
158	  When the HD-audio driver is built as a module, the codec
159	  support code is also built as another module,
160	  snd-hda-codec-hdmi.
161	  This module is automatically loaded at probing.
162
163config SND_HDA_CODEC_CIRRUS
164	bool "Build Cirrus Logic codec support"
165	depends on SND_HDA_INTEL
166	default y
167	help
168	  Say Y here to include Cirrus Logic codec support in
169	  snd-hda-intel driver, such as CS4206.
170
171	  When the HD-audio driver is built as a module, the codec
172	  support code is also built as another module,
173	  snd-hda-codec-cirrus.
174	  This module is automatically loaded at probing.
175
176config SND_HDA_CODEC_CONEXANT
177	bool "Build Conexant HD-audio codec support"
178	default y
179	help
180	  Say Y here to include Conexant HD-audio codec support in
181	  snd-hda-intel driver, such as CX20549.
182
183	  When the HD-audio driver is built as a module, the codec
184	  support code is also built as another module,
185	  snd-hda-codec-conexant.
186	  This module is automatically loaded at probing.
187
188config SND_HDA_CODEC_CA0110
189	bool "Build Creative CA0110-IBG codec support"
190	depends on SND_HDA_INTEL
191	default y
192	help
193	  Say Y here to include Creative CA0110-IBG codec support in
194	  snd-hda-intel driver, found on some Creative X-Fi cards.
195
196	  When the HD-audio driver is built as a module, the codec
197	  support code is also built as another module,
198	  snd-hda-codec-ca0110.
199	  This module is automatically loaded at probing.
200
201config SND_HDA_CODEC_CA0132
202	bool "Build Creative CA0132 codec support"
203	depends on SND_HDA_INTEL
204	default y
205	help
206	  Say Y here to include Creative CA0132 codec support in
207	  snd-hda-intel driver.
208
209	  When the HD-audio driver is built as a module, the codec
210	  support code is also built as another module,
211	  snd-hda-codec-ca0132.
212	  This module is automatically loaded at probing.
213
214config SND_HDA_CODEC_CMEDIA
215	bool "Build C-Media HD-audio codec support"
216	default y
217	help
218	  Say Y here to include C-Media HD-audio codec support in
219	  snd-hda-intel driver, such as CMI9880.
220
221	  When the HD-audio driver is built as a module, the codec
222	  support code is also built as another module,
223	  snd-hda-codec-cmedia.
224	  This module is automatically loaded at probing.
225
226config SND_HDA_CODEC_SI3054
227	bool "Build Silicon Labs 3054 HD-modem codec support"
228	default y
229	help
230	  Say Y here to include Silicon Labs 3054 HD-modem codec
231	  (and compatibles) support in snd-hda-intel driver.
232
233	  When the HD-audio driver is built as a module, the codec
234	  support code is also built as another module,
235	  snd-hda-codec-si3054.
236	  This module is automatically loaded at probing.
237
238config SND_HDA_GENERIC
239	bool "Enable generic HD-audio codec parser"
240	default y
241	help
242	  Say Y here to enable the generic HD-audio codec parser
243	  in snd-hda-intel driver.
244
245config SND_HDA_POWER_SAVE
246	bool "Aggressive power-saving on HD-audio"
247	depends on PM
248	help
249	  Say Y here to enable more aggressive power-saving mode on
250	  HD-audio driver.  The power-saving timeout can be configured
251	  via power_save option or over sysfs on-the-fly.
252
253config SND_HDA_POWER_SAVE_DEFAULT
254	int "Default time-out for HD-audio power-save mode"
255	depends on SND_HDA_POWER_SAVE
256	default 0
257	help
258	  The default time-out value in seconds for HD-audio automatic
259	  power-save mode.  0 means to disable the power-save mode.
260
261endif
262