xref: /openbmc/linux/sound/pci/hda/Kconfig (revision fb8d6c8d)
1# SPDX-License-Identifier: GPL-2.0-only
2menu "HD-Audio"
3
4config SND_HDA
5	tristate
6	select SND_PCM
7	select SND_VMASTER
8	select SND_JACK
9	select SND_HDA_CORE
10
11config SND_HDA_INTEL
12	tristate "HD Audio PCI"
13	depends on SND_PCI
14	select SND_HDA
15	select SND_INTEL_NHLT if ACPI
16	help
17	  Say Y here to include support for Intel "High Definition
18	  Audio" (Azalia) and its compatible devices.
19
20	  This option enables the HD-audio controller.  Don't forget
21	  to choose the appropriate codec options below.
22
23	  To compile this driver as a module, choose M here: the module
24	  will be called snd-hda-intel.
25
26config SND_HDA_INTEL_DETECT_DMIC
27	bool "DMIC detection and probe abort"
28	depends on SND_HDA_INTEL
29	help
30	  Say Y to detect digital microphones on SKL+ devices. DMICs
31	  cannot be handled by the HDaudio legacy driver and are
32	  currently only supported by the SOF driver.
33	  If unsure say N.
34
35config SND_HDA_TEGRA
36	tristate "NVIDIA Tegra HD Audio"
37	depends on ARCH_TEGRA
38	select SND_HDA
39	select SND_HDA_ALIGNED_MMIO
40	help
41	  Say Y here to support the HDA controller present in NVIDIA
42	  Tegra SoCs
43
44	  This options enables support for the HD Audio controller
45	  present in some NVIDIA Tegra SoCs, used to communicate audio
46	  to the HDMI output.
47
48	  To compile this driver as a module, choose M here: the module
49	  will be called snd-hda-tegra.
50
51if SND_HDA
52
53config SND_HDA_HWDEP
54	bool "Build hwdep interface for HD-audio driver"
55	select SND_HWDEP
56	help
57	  Say Y here to build a hwdep interface for HD-audio driver.
58	  This interface can be used for out-of-band communication
59	  with codecs for debugging purposes.
60
61config SND_HDA_RECONFIG
62	bool "Allow dynamic codec reconfiguration"
63	help
64	  Say Y here to enable the HD-audio codec re-configuration feature.
65	  It allows user to clear the whole codec configuration, change the
66	  codec setup, add extra verbs, and re-configure the codec dynamically.
67
68	  Note that this item alone doesn't provide the sysfs interface, but
69	  enables the feature just for the patch loader below.
70	  If you need the traditional sysfs entries for the manual interaction,
71	  turn on CONFIG_SND_HDA_HWDEP as well.
72
73config SND_HDA_INPUT_BEEP
74	bool "Support digital beep via input layer"
75	depends on INPUT=y || INPUT=SND_HDA
76	help
77	  Say Y here to build a digital beep interface for HD-audio
78	  driver. This interface is used to generate digital beeps.
79
80config SND_HDA_INPUT_BEEP_MODE
81	int "Digital beep registration mode (0=off, 1=on)"
82	depends on SND_HDA_INPUT_BEEP=y
83	default "1"
84	range 0 1
85	help
86	  Set 0 to disable the digital beep interface for HD-audio by default.
87	  Set 1 to always enable the digital beep interface for HD-audio by
88	  default.
89
90config SND_HDA_PATCH_LOADER
91	bool "Support initialization patch loading for HD-audio"
92	select FW_LOADER
93	select SND_HDA_RECONFIG
94	help
95	  Say Y here to allow the HD-audio driver to load a pseudo
96	  firmware file ("patch") for overriding the BIOS setup at
97	  start up.  The "patch" file can be specified via patch module
98	  option, such as patch=hda-init.
99
100config SND_HDA_CODEC_REALTEK
101	tristate "Build Realtek HD-audio codec support"
102	select SND_HDA_GENERIC
103	help
104	  Say Y or M here to include Realtek HD-audio codec support in
105	  snd-hda-intel driver, such as ALC880.
106
107comment "Set to Y if you want auto-loading the codec driver"
108	depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
109
110config SND_HDA_CODEC_ANALOG
111	tristate "Build Analog Device HD-audio codec support"
112	select SND_HDA_GENERIC
113	help
114	  Say Y or M here to include Analog Device HD-audio codec support in
115	  snd-hda-intel driver, such as AD1986A.
116
117comment "Set to Y if you want auto-loading the codec driver"
118	depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
119
120config SND_HDA_CODEC_SIGMATEL
121	tristate "Build IDT/Sigmatel HD-audio codec support"
122	select SND_HDA_GENERIC
123	help
124	  Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
125	  snd-hda-intel driver, such as STAC9200.
126
127comment "Set to Y if you want auto-loading the codec driver"
128	depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
129
130config SND_HDA_CODEC_VIA
131	tristate "Build VIA HD-audio codec support"
132	select SND_HDA_GENERIC
133	help
134	  Say Y or M here to include VIA HD-audio codec support in
135	  snd-hda-intel driver, such as VT1708.
136
137comment "Set to Y if you want auto-loading the codec driver"
138	depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
139
140config SND_HDA_CODEC_HDMI
141	tristate "Build HDMI/DisplayPort HD-audio codec support"
142	select SND_DYNAMIC_MINORS
143	help
144	  Say Y or M here to include HDMI and DisplayPort HD-audio codec
145	  support in snd-hda-intel driver.  This includes all AMD/ATI,
146	  Intel and Nvidia HDMI/DisplayPort codecs.
147
148	  Note that this option mandatorily enables CONFIG_SND_DYNAMIC_MINORS
149	  to assure the multiple streams for DP-MST support.
150
151comment "Set to Y if you want auto-loading the codec driver"
152	depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
153
154config SND_HDA_CODEC_CIRRUS
155	tristate "Build Cirrus Logic codec support"
156	select SND_HDA_GENERIC
157	help
158	  Say Y or M here to include Cirrus Logic codec support in
159	  snd-hda-intel driver, such as CS4206.
160
161comment "Set to Y if you want auto-loading the codec driver"
162	depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
163
164config SND_HDA_CODEC_CONEXANT
165	tristate "Build Conexant HD-audio codec support"
166	select SND_HDA_GENERIC
167	help
168	  Say Y or M here to include Conexant HD-audio codec support in
169	  snd-hda-intel driver, such as CX20549.
170
171comment "Set to Y if you want auto-loading the codec driver"
172	depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
173
174config SND_HDA_CODEC_CA0110
175	tristate "Build Creative CA0110-IBG codec support"
176	select SND_HDA_GENERIC
177	help
178	  Say Y or M here to include Creative CA0110-IBG codec support in
179	  snd-hda-intel driver, found on some Creative X-Fi cards.
180
181comment "Set to Y if you want auto-loading the codec driver"
182	depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
183
184config SND_HDA_CODEC_CA0132
185	tristate "Build Creative CA0132 codec support"
186	help
187	  Say Y or M here to include Creative CA0132 codec support in
188	  snd-hda-intel driver.
189
190comment "Set to Y if you want auto-loading the codec driver"
191	depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
192
193config SND_HDA_CODEC_CA0132_DSP
194	bool "Support new DSP code for CA0132 codec"
195	depends on SND_HDA_CODEC_CA0132
196	select SND_HDA_DSP_LOADER
197	select FW_LOADER
198	help
199	  Say Y here to enable the DSP for Creative CA0132 for extended
200	  features like equalizer or echo cancellation.
201
202	  Note that this option requires the external firmware file
203	  (ctefx.bin).
204
205config SND_HDA_CODEC_CMEDIA
206	tristate "Build C-Media HD-audio codec support"
207	select SND_HDA_GENERIC
208	help
209	  Say Y or M here to include C-Media HD-audio codec support in
210	  snd-hda-intel driver, such as CMI9880.
211
212comment "Set to Y if you want auto-loading the codec driver"
213	depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
214
215config SND_HDA_CODEC_SI3054
216	tristate "Build Silicon Labs 3054 HD-modem codec support"
217	help
218	  Say Y or M here to include Silicon Labs 3054 HD-modem codec
219	  (and compatibles) support in snd-hda-intel driver.
220
221comment "Set to Y if you want auto-loading the codec driver"
222	depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
223
224config SND_HDA_GENERIC
225	tristate "Enable generic HD-audio codec parser"
226	help
227	  Say Y or M here to enable the generic HD-audio codec parser
228	  in snd-hda-intel driver.
229
230comment "Set to Y if you want auto-loading the codec driver"
231	depends on SND_HDA=y && SND_HDA_GENERIC=m
232
233config SND_HDA_POWER_SAVE_DEFAULT
234	int "Default time-out for HD-audio power-save mode"
235	depends on PM
236	default 0
237	help
238	  The default time-out value in seconds for HD-audio automatic
239	  power-save mode.  0 means to disable the power-save mode.
240
241endif
242
243endmenu
244