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