GNU Linux-libre 4.19.304-gnu1
[releases.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         select SND_DYNAMIC_MINORS
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
136           Note that this option mandatorily enables CONFIG_SND_DYNAMIC_MINORS
137           to assure the multiple streams for DP-MST support.
138
139 comment "Set to Y if you want auto-loading the codec driver"
140         depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
141
142 config SND_HDA_CODEC_CIRRUS
143         tristate "Build Cirrus Logic codec support"
144         select SND_HDA_GENERIC
145         help
146           Say Y or M here to include Cirrus Logic codec support in
147           snd-hda-intel driver, such as CS4206.
148
149 comment "Set to Y if you want auto-loading the codec driver"
150         depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
151
152 config SND_HDA_CODEC_CONEXANT
153         tristate "Build Conexant HD-audio codec support"
154         select SND_HDA_GENERIC
155         help
156           Say Y or M here to include Conexant HD-audio codec support in
157           snd-hda-intel driver, such as CX20549.
158
159 comment "Set to Y if you want auto-loading the codec driver"
160         depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
161
162 config SND_HDA_CODEC_CA0110
163         tristate "Build Creative CA0110-IBG codec support"
164         select SND_HDA_GENERIC
165         help
166           Say Y or M here to include Creative CA0110-IBG codec support in
167           snd-hda-intel driver, found on some Creative X-Fi cards.
168
169 comment "Set to Y if you want auto-loading the codec driver"
170         depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
171
172 config SND_HDA_CODEC_CA0132
173         tristate "Build Creative CA0132 codec support"
174         help
175           Say Y or M here to include Creative CA0132 codec support in
176           snd-hda-intel driver.
177
178 comment "Set to Y if you want auto-loading the codec driver"
179         depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
180
181 config SND_HDA_CODEC_CA0132_DSP
182         bool "Support new DSP code for CA0132 codec"
183         depends on SND_HDA_CODEC_CA0132
184         select SND_HDA_DSP_LOADER
185         select FW_LOADER
186         help
187           Say Y here to enable the DSP for Creative CA0132 for extended
188           features like equalizer or echo cancellation.
189
190           Note that this option requires the external firmware file
191           (/*(DEBLOBBED)*/).
192
193 config SND_HDA_CODEC_CMEDIA
194         tristate "Build C-Media HD-audio codec support"
195         select SND_HDA_GENERIC
196         help
197           Say Y or M here to include C-Media HD-audio codec support in
198           snd-hda-intel driver, such as CMI9880.
199
200 comment "Set to Y if you want auto-loading the codec driver"
201         depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
202
203 config SND_HDA_CODEC_SI3054
204         tristate "Build Silicon Labs 3054 HD-modem codec support"
205         help
206           Say Y or M here to include Silicon Labs 3054 HD-modem codec
207           (and compatibles) support in snd-hda-intel driver.
208
209 comment "Set to Y if you want auto-loading the codec driver"
210         depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
211
212 config SND_HDA_GENERIC
213         tristate "Enable generic HD-audio codec parser"
214         help
215           Say Y or M here to enable the generic HD-audio codec parser
216           in snd-hda-intel driver.
217
218 comment "Set to Y if you want auto-loading the codec driver"
219         depends on SND_HDA=y && SND_HDA_GENERIC=m
220
221 config SND_HDA_POWER_SAVE_DEFAULT
222         int "Default time-out for HD-audio power-save mode"
223         depends on PM
224         default 0
225         help
226           The default time-out value in seconds for HD-audio automatic
227           power-save mode.  0 means to disable the power-save mode.
228
229 endif
230
231 endmenu