]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - sound/pci/hda/Kconfig
ALSA: hda - Use IS_REACHABLE() for dependency on input
[mirror_ubuntu-bionic-kernel.git] / sound / pci / hda / Kconfig
1 menu "HD-Audio"
2
3 config SND_HDA
4 tristate
5 select SND_PCM
6 select SND_VMASTER
7 select SND_JACK
8 select SND_HDA_CORE
9
10 config 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
24 config 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
39 if SND_HDA
40
41 config 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
49 config 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
61 config 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
68 config 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
78 config 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
88 config SND_HDA_CODEC_REALTEK
89 tristate "Build Realtek HD-audio codec support"
90 select SND_HDA_GENERIC
91 help
92 Say Y or M here to include Realtek HD-audio codec support in
93 snd-hda-intel driver, such as ALC880.
94
95 comment "Set to Y if you want auto-loading the codec driver"
96 depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
97
98 config SND_HDA_CODEC_ANALOG
99 tristate "Build Analog Device HD-audio codec support"
100 select SND_HDA_GENERIC
101 help
102 Say Y or M here to include Analog Device HD-audio codec support in
103 snd-hda-intel driver, such as AD1986A.
104
105 comment "Set to Y if you want auto-loading the codec driver"
106 depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
107
108 config SND_HDA_CODEC_SIGMATEL
109 tristate "Build IDT/Sigmatel HD-audio codec support"
110 select SND_HDA_GENERIC
111 help
112 Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
113 snd-hda-intel driver, such as STAC9200.
114
115 comment "Set to Y if you want auto-loading the codec driver"
116 depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
117
118 config SND_HDA_CODEC_VIA
119 tristate "Build VIA HD-audio codec support"
120 select SND_HDA_GENERIC
121 help
122 Say Y or M here to include VIA HD-audio codec support in
123 snd-hda-intel driver, such as VT1708.
124
125 comment "Set to Y if you want auto-loading the codec driver"
126 depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
127
128 config SND_HDA_CODEC_HDMI
129 tristate "Build HDMI/DisplayPort HD-audio codec support"
130 help
131 Say Y or M here to include HDMI and DisplayPort HD-audio codec
132 support in snd-hda-intel driver. This includes all AMD/ATI,
133 Intel and Nvidia HDMI/DisplayPort codecs.
134
135 comment "Set to Y if you want auto-loading the codec driver"
136 depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
137
138 config SND_HDA_CODEC_CIRRUS
139 tristate "Build Cirrus Logic codec support"
140 select SND_HDA_GENERIC
141 help
142 Say Y or M here to include Cirrus Logic codec support in
143 snd-hda-intel driver, such as CS4206.
144
145 comment "Set to Y if you want auto-loading the codec driver"
146 depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
147
148 config SND_HDA_CODEC_CONEXANT
149 tristate "Build Conexant HD-audio codec support"
150 select SND_HDA_GENERIC
151 help
152 Say Y or M here to include Conexant HD-audio codec support in
153 snd-hda-intel driver, such as CX20549.
154
155 comment "Set to Y if you want auto-loading the codec driver"
156 depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
157
158 config SND_HDA_CODEC_CA0110
159 tristate "Build Creative CA0110-IBG codec support"
160 select SND_HDA_GENERIC
161 help
162 Say Y or M here to include Creative CA0110-IBG codec support in
163 snd-hda-intel driver, found on some Creative X-Fi cards.
164
165 comment "Set to Y if you want auto-loading the codec driver"
166 depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
167
168 config SND_HDA_CODEC_CA0132
169 tristate "Build Creative CA0132 codec support"
170 help
171 Say Y or M here to include Creative CA0132 codec support in
172 snd-hda-intel driver.
173
174 comment "Set to Y if you want auto-loading the codec driver"
175 depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
176
177 config SND_HDA_CODEC_CA0132_DSP
178 bool "Support new DSP code for CA0132 codec"
179 depends on SND_HDA_CODEC_CA0132
180 select SND_HDA_DSP_LOADER
181 select FW_LOADER
182 help
183 Say Y here to enable the DSP for Creative CA0132 for extended
184 features like equalizer or echo cancellation.
185
186 Note that this option requires the external firmware file
187 (ctefx.bin).
188
189 config SND_HDA_CODEC_CMEDIA
190 tristate "Build C-Media HD-audio codec support"
191 select SND_HDA_GENERIC
192 help
193 Say Y or M here to include C-Media HD-audio codec support in
194 snd-hda-intel driver, such as CMI9880.
195
196 comment "Set to Y if you want auto-loading the codec driver"
197 depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
198
199 config SND_HDA_CODEC_SI3054
200 tristate "Build Silicon Labs 3054 HD-modem codec support"
201 help
202 Say Y or M here to include Silicon Labs 3054 HD-modem codec
203 (and compatibles) support in snd-hda-intel driver.
204
205 comment "Set to Y if you want auto-loading the codec driver"
206 depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
207
208 config SND_HDA_GENERIC
209 tristate "Enable generic HD-audio codec parser"
210 help
211 Say Y or M here to enable the generic HD-audio codec parser
212 in snd-hda-intel driver.
213
214 comment "Set to Y if you want auto-loading the codec driver"
215 depends on SND_HDA=y && SND_HDA_GENERIC=m
216
217 config SND_HDA_POWER_SAVE_DEFAULT
218 int "Default time-out for HD-audio power-save mode"
219 depends on PM
220 default 0
221 help
222 The default time-out value in seconds for HD-audio automatic
223 power-save mode. 0 means to disable the power-save mode.
224
225 endif
226
227 endmenu