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