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