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