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