xref: /openbmc/linux/sound/pci/hda/Kconfig (revision bc5aa3a0)
1menu "HD-Audio"
2
3config SND_HDA
4	tristate
5	select SND_PCM
6	select SND_VMASTER
7	select SND_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_HWDEP
42	bool "Build hwdep interface for HD-audio driver"
43	select SND_HWDEP
44	help
45	  Say Y here to build a hwdep interface for HD-audio driver.
46	  This interface can be used for out-of-band communication
47	  with codecs for debugging purposes.
48
49config SND_HDA_RECONFIG
50	bool "Allow dynamic codec reconfiguration"
51	help
52	  Say Y here to enable the HD-audio codec re-configuration feature.
53	  It allows user to clear the whole codec configuration, change the
54	  codec setup, add extra verbs, and re-configure the codec dynamically.
55
56	  Note that this item alone doesn't provide the sysfs interface, but
57	  enables the feature just for the patch loader below.
58	  If you need the traditional sysfs entries for the manual interaction,
59	  turn on CONFIG_SND_HDA_HWDEP as well.
60
61config SND_HDA_INPUT_BEEP
62	bool "Support digital beep via input layer"
63	depends on INPUT=y || INPUT=SND_HDA
64	help
65	  Say Y here to build a digital beep interface for HD-audio
66	  driver. This interface is used to generate digital beeps.
67
68config SND_HDA_INPUT_BEEP_MODE
69	int "Digital beep registration mode (0=off, 1=on)"
70	depends on SND_HDA_INPUT_BEEP=y
71	default "1"
72	range 0 1
73	help
74	  Set 0 to disable the digital beep interface for HD-audio by default.
75	  Set 1 to always enable the digital beep interface for HD-audio by
76	  default.
77
78config SND_HDA_PATCH_LOADER
79	bool "Support initialization patch loading for HD-audio"
80	select FW_LOADER
81	select SND_HDA_RECONFIG
82	help
83	  Say Y here to allow the HD-audio driver to load a pseudo
84	  firmware file ("patch") for overriding the BIOS setup at
85	  start up.  The "patch" file can be specified via patch module
86	  option, such as patch=hda-init.
87
88config SND_HDA_CODEC_REALTEK
89	tristate "Build Realtek HD-audio codec support"
90	select SND_HDA_GENERIC
91	select INPUT
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=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=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=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=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=y && SND_HDA_CODEC_HDMI=m
138
139config SND_HDA_CODEC_CIRRUS
140	tristate "Build Cirrus Logic codec support"
141	select SND_HDA_GENERIC
142	help
143	  Say Y or M here to include Cirrus Logic codec support in
144	  snd-hda-intel driver, such as CS4206.
145
146comment "Set to Y if you want auto-loading the codec driver"
147	depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
148
149config SND_HDA_CODEC_CONEXANT
150	tristate "Build Conexant HD-audio codec support"
151	select SND_HDA_GENERIC
152	help
153	  Say Y or M here to include Conexant HD-audio codec support in
154	  snd-hda-intel driver, such as CX20549.
155
156comment "Set to Y if you want auto-loading the codec driver"
157	depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
158
159config SND_HDA_CODEC_CA0110
160	tristate "Build Creative CA0110-IBG codec support"
161	select SND_HDA_GENERIC
162	help
163	  Say Y or M here to include Creative CA0110-IBG codec support in
164	  snd-hda-intel driver, found on some Creative X-Fi cards.
165
166comment "Set to Y if you want auto-loading the codec driver"
167	depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
168
169config SND_HDA_CODEC_CA0132
170	tristate "Build Creative CA0132 codec support"
171	help
172	  Say Y or M here to include Creative CA0132 codec support in
173	  snd-hda-intel driver.
174
175comment "Set to Y if you want auto-loading the codec driver"
176	depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
177
178config SND_HDA_CODEC_CA0132_DSP
179	bool "Support new DSP code for CA0132 codec"
180	depends on SND_HDA_CODEC_CA0132
181	select SND_HDA_DSP_LOADER
182	select FW_LOADER
183	help
184	  Say Y here to enable the DSP for Creative CA0132 for extended
185	  features like equalizer or echo cancellation.
186
187	  Note that this option requires the external firmware file
188	  (ctefx.bin).
189
190config SND_HDA_CODEC_CMEDIA
191	tristate "Build C-Media HD-audio codec support"
192	select SND_HDA_GENERIC
193	help
194	  Say Y or M here to include C-Media HD-audio codec support in
195	  snd-hda-intel driver, such as CMI9880.
196
197comment "Set to Y if you want auto-loading the codec driver"
198	depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
199
200config SND_HDA_CODEC_SI3054
201	tristate "Build Silicon Labs 3054 HD-modem codec support"
202	help
203	  Say Y or M here to include Silicon Labs 3054 HD-modem codec
204	  (and compatibles) support in snd-hda-intel driver.
205
206comment "Set to Y if you want auto-loading the codec driver"
207	depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
208
209config SND_HDA_GENERIC
210	tristate "Enable generic HD-audio codec parser"
211	help
212	  Say Y or M here to enable the generic HD-audio codec parser
213	  in snd-hda-intel driver.
214
215comment "Set to Y if you want auto-loading the codec driver"
216	depends on SND_HDA=y && SND_HDA_GENERIC=m
217
218config SND_HDA_POWER_SAVE_DEFAULT
219	int "Default time-out for HD-audio power-save mode"
220	depends on PM
221	default 0
222	help
223	  The default time-out value in seconds for HD-audio automatic
224	  power-save mode.  0 means to disable the power-save mode.
225
226endif
227
228endmenu
229