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