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