xref: /openbmc/linux/sound/pci/hda/Kconfig (revision a09d2831)
1menuconfig SND_HDA_INTEL
2	tristate "Intel HD Audio"
3	select SND_PCM
4	select SND_VMASTER
5	help
6	  Say Y here to include support for Intel "High Definition
7	  Audio" (Azalia) and its compatible devices.
8
9	  This option enables the HD-audio controller.  Don't forget
10	  to choose the appropriate codec options below.
11
12	  To compile this driver as a module, choose M here: the module
13	  will be called snd-hda-intel.
14
15if SND_HDA_INTEL
16
17config SND_HDA_HWDEP
18	bool "Build hwdep interface for HD-audio driver"
19	select SND_HWDEP
20	help
21	  Say Y here to build a hwdep interface for HD-audio driver.
22	  This interface can be used for out-of-band communication
23	  with codecs for debugging purposes.
24
25config SND_HDA_RECONFIG
26	bool "Allow dynamic codec reconfiguration (EXPERIMENTAL)"
27	depends on SND_HDA_HWDEP && EXPERIMENTAL
28	help
29	  Say Y here to enable the HD-audio codec re-configuration feature.
30	  This adds the sysfs interfaces to allow user to clear the whole
31	  codec configuration, change the codec setup, add extra verbs,
32	  and re-configure the codec dynamically.
33
34config SND_HDA_INPUT_BEEP
35	bool "Support digital beep via input layer"
36	depends on INPUT=y || INPUT=SND_HDA_INTEL
37	help
38	  Say Y here to build a digital beep interface for HD-audio
39	  driver. This interface is used to generate digital beeps.
40
41config SND_HDA_INPUT_BEEP_MODE
42	int "Digital beep registration mode (0=off, 1=on, 2=mute sw on/off)"
43	depends on SND_HDA_INPUT_BEEP=y
44	default "1"
45	range 0 2
46	help
47	  Set 0 to disable the digital beep interface for HD-audio by default.
48	  Set 1 to always enable the digital beep interface for HD-audio by
49	  default. Set 2 to control the beep device registration to input
50	  layer using a "Beep Switch" in mixer applications.
51
52config SND_HDA_INPUT_JACK
53	bool "Support jack plugging notification via input layer"
54	depends on INPUT=y || INPUT=SND
55	select SND_JACK
56	help
57	  Say Y here to enable the jack plugging notification via
58	  input layer.
59
60config SND_HDA_PATCH_LOADER
61	bool "Support initialization patch loading for HD-audio"
62	depends on EXPERIMENTAL
63	select FW_LOADER
64	select SND_HDA_HWDEP
65	select SND_HDA_RECONFIG
66	help
67	  Say Y here to allow the HD-audio driver to load a pseudo
68	  firmware file ("patch") for overriding the BIOS setup at
69	  start up.  The "patch" file can be specified via patch module
70	  option, such as patch=hda-init.
71
72	  This option turns on hwdep and reconfig features automatically.
73
74config SND_HDA_CODEC_REALTEK
75	bool "Build Realtek HD-audio codec support"
76	default y
77	help
78	  Say Y here to include Realtek HD-audio codec support in
79	  snd-hda-intel driver, such as ALC880.
80
81	  When the HD-audio driver is built as a module, the codec
82	  support code is also built as another module,
83	  snd-hda-codec-realtek.
84	  This module is automatically loaded at probing.
85
86config SND_HDA_CODEC_ANALOG
87	bool "Build Analog Device HD-audio codec support"
88	default y
89	help
90	  Say Y here to include Analog Device HD-audio codec support in
91	  snd-hda-intel driver, such as AD1986A.
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-analog.
96	  This module is automatically loaded at probing.
97
98config SND_HDA_CODEC_SIGMATEL
99	bool "Build IDT/Sigmatel HD-audio codec support"
100	default y
101	help
102	  Say Y here to include IDT (Sigmatel) HD-audio codec support in
103	  snd-hda-intel driver, such as STAC9200.
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-idt.
108	  This module is automatically loaded at probing.
109
110config SND_HDA_CODEC_VIA
111	bool "Build VIA HD-audio codec support"
112	default y
113	help
114	  Say Y here to include VIA HD-audio codec support in
115	  snd-hda-intel driver, such as VT1708.
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-via.
120	  This module is automatically loaded at probing.
121
122config SND_HDA_CODEC_ATIHDMI
123	bool "Build ATI HDMI HD-audio codec support"
124	default y
125	help
126	  Say Y here to include ATI HDMI HD-audio codec support in
127	  snd-hda-intel driver, such as ATI RS600 HDMI.
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-atihdmi.
132	  This module is automatically loaded at probing.
133
134config SND_HDA_CODEC_NVHDMI
135	bool "Build NVIDIA HDMI HD-audio codec support"
136	default y
137	help
138	  Say Y here to include NVIDIA HDMI HD-audio codec support in
139	  snd-hda-intel driver, such as NVIDIA MCP78 HDMI.
140
141	  When the HD-audio driver is built as a module, the codec
142	  support code is also built as another module,
143	  snd-hda-codec-nvhdmi.
144	  This module is automatically loaded at probing.
145
146config SND_HDA_CODEC_INTELHDMI
147	bool "Build INTEL HDMI HD-audio codec support"
148	default y
149	help
150	  Say Y here to include INTEL HDMI HD-audio codec support in
151	  snd-hda-intel driver, such as Eaglelake integrated HDMI.
152
153	  When the HD-audio driver is built as a module, the codec
154	  support code is also built as another module,
155	  snd-hda-codec-intelhdmi.
156	  This module is automatically loaded at probing.
157
158config SND_HDA_ELD
159	def_bool y
160	depends on SND_HDA_CODEC_INTELHDMI
161
162config SND_HDA_CODEC_CIRRUS
163	bool "Build Cirrus Logic codec support"
164	depends on SND_HDA_INTEL
165	default y
166	help
167	  Say Y here to include Cirrus Logic codec support in
168	  snd-hda-intel driver, such as CS4206.
169
170	  When the HD-audio driver is built as a module, the codec
171	  support code is also built as another module,
172	  snd-hda-codec-cirrus.
173	  This module is automatically loaded at probing.
174
175config SND_HDA_CODEC_CONEXANT
176	bool "Build Conexant HD-audio codec support"
177	default y
178	help
179	  Say Y here to include Conexant HD-audio codec support in
180	  snd-hda-intel driver, such as CX20549.
181
182	  When the HD-audio driver is built as a module, the codec
183	  support code is also built as another module,
184	  snd-hda-codec-conexant.
185	  This module is automatically loaded at probing.
186
187config SND_HDA_CODEC_CA0110
188	bool "Build Creative CA0110-IBG codec support"
189	depends on SND_HDA_INTEL
190	default y
191	help
192	  Say Y here to include Creative CA0110-IBG codec support in
193	  snd-hda-intel driver, found on some Creative X-Fi cards.
194
195	  When the HD-audio driver is built as a module, the codec
196	  support code is also built as another module,
197	  snd-hda-codec-ca0110.
198	  This module is automatically loaded at probing.
199
200config SND_HDA_CODEC_CMEDIA
201	bool "Build C-Media HD-audio codec support"
202	default y
203	help
204	  Say Y here to include C-Media HD-audio codec support in
205	  snd-hda-intel driver, such as CMI9880.
206
207	  When the HD-audio driver is built as a module, the codec
208	  support code is also built as another module,
209	  snd-hda-codec-cmedia.
210	  This module is automatically loaded at probing.
211
212config SND_HDA_CODEC_SI3054
213	bool "Build Silicon Labs 3054 HD-modem codec support"
214	default y
215	help
216	  Say Y here to include Silicon Labs 3054 HD-modem codec
217	  (and compatibles) support in snd-hda-intel driver.
218
219	  When the HD-audio driver is built as a module, the codec
220	  support code is also built as another module,
221	  snd-hda-codec-si3054.
222	  This module is automatically loaded at probing.
223
224config SND_HDA_GENERIC
225	bool "Enable generic HD-audio codec parser"
226	default y
227	help
228	  Say Y here to enable the generic HD-audio codec parser
229	  in snd-hda-intel driver.
230
231config SND_HDA_POWER_SAVE
232	bool "Aggressive power-saving on HD-audio"
233	help
234	  Say Y here to enable more aggressive power-saving mode on
235	  HD-audio driver.  The power-saving timeout can be configured
236	  via power_save option or over sysfs on-the-fly.
237
238config SND_HDA_POWER_SAVE_DEFAULT
239	int "Default time-out for HD-audio power-save mode"
240	depends on SND_HDA_POWER_SAVE
241	default 0
242	help
243	  The default time-out value in seconds for HD-audio automatic
244	  power-save mode.  0 means to disable the power-save mode.
245
246endif
247