xref: /openbmc/linux/sound/pci/hda/Kconfig (revision fd589a8f)
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_JACK
42	bool "Support jack plugging notification via input layer"
43	depends on INPUT=y || INPUT=SND_HDA_INTEL
44	select SND_JACK
45	help
46	  Say Y here to enable the jack plugging notification via
47	  input layer.
48
49config SND_HDA_PATCH_LOADER
50	bool "Support initialization patch loading for HD-audio"
51	depends on EXPERIMENTAL
52	select FW_LOADER
53	select SND_HDA_HWDEP
54	select SND_HDA_RECONFIG
55	help
56	  Say Y here to allow the HD-audio driver to load a pseudo
57	  firmware file ("patch") for overriding the BIOS setup at
58	  start up.  The "patch" file can be specified via patch module
59	  option, such as patch=hda-init.
60
61	  This option turns on hwdep and reconfig features automatically.
62
63config SND_HDA_CODEC_REALTEK
64	bool "Build Realtek HD-audio codec support"
65	default y
66	help
67	  Say Y here to include Realtek HD-audio codec support in
68	  snd-hda-intel driver, such as ALC880.
69
70	  When the HD-audio driver is built as a module, the codec
71	  support code is also built as another module,
72	  snd-hda-codec-realtek.
73	  This module is automatically loaded at probing.
74
75config SND_HDA_CODEC_ANALOG
76	bool "Build Analog Device HD-audio codec support"
77	default y
78	help
79	  Say Y here to include Analog Device HD-audio codec support in
80	  snd-hda-intel driver, such as AD1986A.
81
82	  When the HD-audio driver is built as a module, the codec
83	  support code is also built as another module,
84	  snd-hda-codec-analog.
85	  This module is automatically loaded at probing.
86
87config SND_HDA_CODEC_SIGMATEL
88	bool "Build IDT/Sigmatel HD-audio codec support"
89	default y
90	help
91	  Say Y here to include IDT (Sigmatel) HD-audio codec support in
92	  snd-hda-intel driver, such as STAC9200.
93
94	  When the HD-audio driver is built as a module, the codec
95	  support code is also built as another module,
96	  snd-hda-codec-idt.
97	  This module is automatically loaded at probing.
98
99config SND_HDA_CODEC_VIA
100	bool "Build VIA HD-audio codec support"
101	default y
102	help
103	  Say Y here to include VIA HD-audio codec support in
104	  snd-hda-intel driver, such as VT1708.
105
106	  When the HD-audio driver is built as a module, the codec
107	  support code is also built as another module,
108	  snd-hda-codec-via.
109	  This module is automatically loaded at probing.
110
111config SND_HDA_CODEC_ATIHDMI
112	bool "Build ATI HDMI HD-audio codec support"
113	default y
114	help
115	  Say Y here to include ATI HDMI HD-audio codec support in
116	  snd-hda-intel driver, such as ATI RS600 HDMI.
117
118	  When the HD-audio driver is built as a module, the codec
119	  support code is also built as another module,
120	  snd-hda-codec-atihdmi.
121	  This module is automatically loaded at probing.
122
123config SND_HDA_CODEC_NVHDMI
124	bool "Build NVIDIA HDMI HD-audio codec support"
125	default y
126	help
127	  Say Y here to include NVIDIA HDMI HD-audio codec support in
128	  snd-hda-intel driver, such as NVIDIA MCP78 HDMI.
129
130	  When the HD-audio driver is built as a module, the codec
131	  support code is also built as another module,
132	  snd-hda-codec-nvhdmi.
133	  This module is automatically loaded at probing.
134
135config SND_HDA_CODEC_INTELHDMI
136	bool "Build INTEL HDMI HD-audio codec support"
137	default y
138	help
139	  Say Y here to include INTEL HDMI HD-audio codec support in
140	  snd-hda-intel driver, such as Eaglelake integrated HDMI.
141
142	  When the HD-audio driver is built as a module, the codec
143	  support code is also built as another module,
144	  snd-hda-codec-intelhdmi.
145	  This module is automatically loaded at probing.
146
147config SND_HDA_ELD
148	def_bool y
149	depends on SND_HDA_CODEC_INTELHDMI
150
151config SND_HDA_CODEC_CIRRUS
152	bool "Build Cirrus Logic codec support"
153	depends on SND_HDA_INTEL
154	default y
155	help
156	  Say Y here to include Cirrus Logic codec support in
157	  snd-hda-intel driver, such as CS4206.
158
159	  When the HD-audio driver is built as a module, the codec
160	  support code is also built as another module,
161	  snd-hda-codec-cirrus.
162	  This module is automatically loaded at probing.
163
164config SND_HDA_CODEC_CONEXANT
165	bool "Build Conexant HD-audio codec support"
166	default y
167	help
168	  Say Y here to include Conexant HD-audio codec support in
169	  snd-hda-intel driver, such as CX20549.
170
171	  When the HD-audio driver is built as a module, the codec
172	  support code is also built as another module,
173	  snd-hda-codec-conexant.
174	  This module is automatically loaded at probing.
175
176config SND_HDA_CODEC_CA0110
177	bool "Build Creative CA0110-IBG codec support"
178	depends on SND_HDA_INTEL
179	default y
180	help
181	  Say Y here to include Creative CA0110-IBG codec support in
182	  snd-hda-intel driver, found on some Creative X-Fi cards.
183
184	  When the HD-audio driver is built as a module, the codec
185	  support code is also built as another module,
186	  snd-hda-codec-ca0110.
187	  This module is automatically loaded at probing.
188
189config SND_HDA_CODEC_CMEDIA
190	bool "Build C-Media HD-audio codec support"
191	default y
192	help
193	  Say Y here to include C-Media HD-audio codec support in
194	  snd-hda-intel driver, such as CMI9880.
195
196	  When the HD-audio driver is built as a module, the codec
197	  support code is also built as another module,
198	  snd-hda-codec-cmedia.
199	  This module is automatically loaded at probing.
200
201config SND_HDA_CODEC_SI3054
202	bool "Build Silicon Labs 3054 HD-modem codec support"
203	default y
204	help
205	  Say Y here to include Silicon Labs 3054 HD-modem codec
206	  (and compatibles) support in snd-hda-intel driver.
207
208	  When the HD-audio driver is built as a module, the codec
209	  support code is also built as another module,
210	  snd-hda-codec-si3054.
211	  This module is automatically loaded at probing.
212
213config SND_HDA_GENERIC
214	bool "Enable generic HD-audio codec parser"
215	default y
216	help
217	  Say Y here to enable the generic HD-audio codec parser
218	  in snd-hda-intel driver.
219
220config SND_HDA_POWER_SAVE
221	bool "Aggressive power-saving on HD-audio"
222	help
223	  Say Y here to enable more aggressive power-saving mode on
224	  HD-audio driver.  The power-saving timeout can be configured
225	  via power_save option or over sysfs on-the-fly.
226
227config SND_HDA_POWER_SAVE_DEFAULT
228	int "Default time-out for HD-audio power-save mode"
229	depends on SND_HDA_POWER_SAVE
230	default 0
231	help
232	  The default time-out value in seconds for HD-audio automatic
233	  power-save mode.  0 means to disable the power-save mode.
234
235endif
236