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