xref: /openbmc/linux/sound/pci/hda/Kconfig (revision 483eb062)
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	tristate "Build Realtek HD-audio codec support"
91	select SND_HDA_GENERIC
92	help
93	  Say Y or M here to include Realtek HD-audio codec support in
94	  snd-hda-intel driver, such as ALC880.
95
96comment "Set to Y if you want auto-loading the codec driver"
97	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_REALTEK=m
98
99config SND_HDA_CODEC_ANALOG
100	tristate "Build Analog Device HD-audio codec support"
101	select SND_HDA_GENERIC
102	help
103	  Say Y or M here to include Analog Device HD-audio codec support in
104	  snd-hda-intel driver, such as AD1986A.
105
106comment "Set to Y if you want auto-loading the codec driver"
107	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_ANALOG=m
108
109config SND_HDA_CODEC_SIGMATEL
110	tristate "Build IDT/Sigmatel HD-audio codec support"
111	select SND_HDA_GENERIC
112	help
113	  Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
114	  snd-hda-intel driver, such as STAC9200.
115
116comment "Set to Y if you want auto-loading the codec driver"
117	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_SIGMATEL=m
118
119config SND_HDA_CODEC_VIA
120	tristate "Build VIA HD-audio codec support"
121	select SND_HDA_GENERIC
122	help
123	  Say Y or M here to include VIA HD-audio codec support in
124	  snd-hda-intel driver, such as VT1708.
125
126comment "Set to Y if you want auto-loading the codec driver"
127	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_VIA=m
128
129config SND_HDA_CODEC_HDMI
130	tristate "Build HDMI/DisplayPort HD-audio codec support"
131	help
132	  Say Y or M here to include HDMI and DisplayPort HD-audio codec
133	  support in snd-hda-intel driver.  This includes all AMD/ATI,
134	  Intel and Nvidia HDMI/DisplayPort codecs.
135
136comment "Set to Y if you want auto-loading the codec driver"
137	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_HDMI=m
138
139config SND_HDA_I915
140	bool
141	default y
142	depends on DRM_I915
143
144config SND_HDA_CODEC_CIRRUS
145	tristate "Build Cirrus Logic codec support"
146	select SND_HDA_GENERIC
147	help
148	  Say Y or M here to include Cirrus Logic codec support in
149	  snd-hda-intel driver, such as CS4206.
150
151comment "Set to Y if you want auto-loading the codec driver"
152	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CIRRUS=m
153
154config SND_HDA_CODEC_CONEXANT
155	tristate "Build Conexant HD-audio codec support"
156	select SND_HDA_GENERIC
157	help
158	  Say Y or M here to include Conexant HD-audio codec support in
159	  snd-hda-intel driver, such as CX20549.
160
161comment "Set to Y if you want auto-loading the codec driver"
162	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CONEXANT=m
163
164config SND_HDA_CODEC_CA0110
165	tristate "Build Creative CA0110-IBG codec support"
166	select SND_HDA_GENERIC
167	help
168	  Say Y or M here to include Creative CA0110-IBG codec support in
169	  snd-hda-intel driver, found on some Creative X-Fi cards.
170
171comment "Set to Y if you want auto-loading the codec driver"
172	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CA0110=m
173
174config SND_HDA_CODEC_CA0132
175	tristate "Build Creative CA0132 codec support"
176	help
177	  Say Y or M here to include Creative CA0132 codec support in
178	  snd-hda-intel driver.
179
180comment "Set to Y if you want auto-loading the codec driver"
181	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CA0132=m
182
183config SND_HDA_CODEC_CA0132_DSP
184	bool "Support new DSP code for CA0132 codec"
185	depends on SND_HDA_CODEC_CA0132
186	select SND_HDA_DSP_LOADER
187	select FW_LOADER
188	help
189	  Say Y here to enable the DSP for Creative CA0132 for extended
190	  features like equalizer or echo cancellation.
191
192	  Note that this option requires the external firmware file
193	  (ctefx.bin).
194
195config SND_HDA_CODEC_CMEDIA
196	tristate "Build C-Media HD-audio codec support"
197	select SND_HDA_GENERIC
198	help
199	  Say Y or M here to include C-Media HD-audio codec support in
200	  snd-hda-intel driver, such as CMI9880.
201
202comment "Set to Y if you want auto-loading the codec driver"
203	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CMEDIA=m
204
205config SND_HDA_CODEC_SI3054
206	tristate "Build Silicon Labs 3054 HD-modem codec support"
207	help
208	  Say Y or M here to include Silicon Labs 3054 HD-modem codec
209	  (and compatibles) support in snd-hda-intel driver.
210
211comment "Set to Y if you want auto-loading the codec driver"
212	depends on SND_HDA_INTEL=y && SND_HDA_CODEC_SI3054=m
213
214config SND_HDA_GENERIC
215	tristate "Enable generic HD-audio codec parser"
216	help
217	  Say Y or M here to enable the generic HD-audio codec parser
218	  in snd-hda-intel driver.
219
220comment "Set to Y if you want auto-loading the codec driver"
221	depends on SND_HDA_INTEL=y && SND_HDA_GENERIC=m
222
223config SND_HDA_POWER_SAVE_DEFAULT
224	int "Default time-out for HD-audio power-save mode"
225	depends on PM
226	default 0
227	help
228	  The default time-out value in seconds for HD-audio automatic
229	  power-save mode.  0 means to disable the power-save mode.
230
231endif
232