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_GENERIC_LEDS 12 bool 13 14config SND_HDA_INTEL 15 tristate "HD Audio PCI" 16 depends on SND_PCI 17 select SND_HDA 18 select SND_INTEL_DSP_CONFIG 19 help 20 Say Y here to include support for Intel "High Definition 21 Audio" (Azalia) and its compatible devices. 22 23 This option enables the HD-audio controller. Don't forget 24 to choose the appropriate codec options below. 25 26 To compile this driver as a module, choose M here: the module 27 will be called snd-hda-intel. 28 29config SND_HDA_TEGRA 30 tristate "NVIDIA Tegra HD Audio" 31 depends on ARCH_TEGRA 32 select SND_HDA 33 select SND_HDA_ALIGNED_MMIO 34 help 35 Say Y here to support the HDA controller present in NVIDIA 36 Tegra SoCs 37 38 This options enables support for the HD Audio controller 39 present in some NVIDIA Tegra SoCs, used to communicate audio 40 to the HDMI output. 41 42 To compile this driver as a module, choose M here: the module 43 will be called snd-hda-tegra. 44 45config SND_HDA_LOONGSON 46 tristate "Loongson HD Audio" 47 depends on MACH_LOONGSON64 48 select SND_HDA 49 help 50 Say Y here to include support for Loongson's LS7A "High 51 Definition Audio" controller. 52 53 To compile this driver as a module, choose M here: the module 54 will be called snd-hda-loongson. 55 56if SND_HDA 57 58config SND_HDA_HWDEP 59 bool "Build hwdep interface for HD-audio driver" 60 select SND_HWDEP 61 help 62 Say Y here to build a hwdep interface for HD-audio driver. 63 This interface can be used for out-of-band communication 64 with codecs for debugging purposes. 65 66config SND_HDA_RECONFIG 67 bool "Allow dynamic codec reconfiguration" 68 help 69 Say Y here to enable the HD-audio codec re-configuration feature. 70 It allows user to clear the whole codec configuration, change the 71 codec setup, add extra verbs, and re-configure the codec dynamically. 72 73 Note that this item alone doesn't provide the sysfs interface, but 74 enables the feature just for the patch loader below. 75 If you need the traditional sysfs entries for the manual interaction, 76 turn on CONFIG_SND_HDA_HWDEP as well. 77 78config SND_HDA_INPUT_BEEP 79 bool "Support digital beep via input layer" 80 depends on INPUT=y || INPUT=SND_HDA 81 help 82 Say Y here to build a digital beep interface for HD-audio 83 driver. This interface is used to generate digital beeps. 84 85config SND_HDA_INPUT_BEEP_MODE 86 int "Digital beep registration mode (0=off, 1=on)" 87 depends on SND_HDA_INPUT_BEEP=y 88 default "1" 89 range 0 1 90 help 91 Set 0 to disable the digital beep interface for HD-audio by default. 92 Set 1 to always enable the digital beep interface for HD-audio by 93 default. 94 95config SND_HDA_PATCH_LOADER 96 bool "Support initialization patch loading for HD-audio" 97 select FW_LOADER 98 select SND_HDA_RECONFIG 99 help 100 Say Y here to allow the HD-audio driver to load a pseudo 101 firmware file ("patch") for overriding the BIOS setup at 102 start up. The "patch" file can be specified via patch module 103 option, such as patch=hda-init. 104 105config SND_HDA_CODEC_REALTEK 106 tristate "Build Realtek HD-audio codec support" 107 select SND_HDA_GENERIC 108 select SND_HDA_GENERIC_LEDS 109 help 110 Say Y or M here to include Realtek HD-audio codec support in 111 snd-hda-intel driver, such as ALC880. 112 113comment "Set to Y if you want auto-loading the codec driver" 114 depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m 115 116config SND_HDA_CODEC_ANALOG 117 tristate "Build Analog Devices HD-audio codec support" 118 select SND_HDA_GENERIC 119 help 120 Say Y or M here to include Analog Devices HD-audio codec support in 121 snd-hda-intel driver, such as AD1986A. 122 123comment "Set to Y if you want auto-loading the codec driver" 124 depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m 125 126config SND_HDA_CODEC_SIGMATEL 127 tristate "Build IDT/Sigmatel HD-audio codec support" 128 select SND_HDA_GENERIC 129 select SND_HDA_GENERIC_LEDS 130 help 131 Say Y or M here to include IDT (Sigmatel) HD-audio codec support in 132 snd-hda-intel driver, such as STAC9200. 133 134comment "Set to Y if you want auto-loading the codec driver" 135 depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m 136 137config SND_HDA_CODEC_VIA 138 tristate "Build VIA HD-audio codec support" 139 select SND_HDA_GENERIC 140 help 141 Say Y or M here to include VIA HD-audio codec support in 142 snd-hda-intel driver, such as VT1708. 143 144comment "Set to Y if you want auto-loading the codec driver" 145 depends on SND_HDA=y && SND_HDA_CODEC_VIA=m 146 147config SND_HDA_CODEC_HDMI 148 tristate "Build HDMI/DisplayPort HD-audio codec support" 149 select SND_DYNAMIC_MINORS 150 help 151 Say Y or M here to include HDMI and DisplayPort HD-audio codec 152 support in snd-hda-intel driver. This includes all AMD/ATI, 153 Intel and Nvidia HDMI/DisplayPort codecs. 154 155 Note that this option mandatorily enables CONFIG_SND_DYNAMIC_MINORS 156 to assure the multiple streams for DP-MST support. 157 158comment "Set to Y if you want auto-loading the codec driver" 159 depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m 160 161config SND_HDA_CODEC_CIRRUS 162 tristate "Build Cirrus Logic codec support" 163 select SND_HDA_GENERIC 164 help 165 Say Y or M here to include Cirrus Logic codec support in 166 snd-hda-intel driver, such as CS4206. 167 168comment "Set to Y if you want auto-loading the codec driver" 169 depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m 170 171config SND_HDA_CODEC_CONEXANT 172 tristate "Build Conexant HD-audio codec support" 173 select SND_HDA_GENERIC 174 select SND_HDA_GENERIC_LEDS 175 help 176 Say Y or M here to include Conexant HD-audio codec support in 177 snd-hda-intel driver, such as CX20549. 178 179comment "Set to Y if you want auto-loading the codec driver" 180 depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m 181 182config SND_HDA_CODEC_CA0110 183 tristate "Build Creative CA0110-IBG codec support" 184 select SND_HDA_GENERIC 185 help 186 Say Y or M here to include Creative CA0110-IBG codec support in 187 snd-hda-intel driver, found on some Creative X-Fi cards. 188 189comment "Set to Y if you want auto-loading the codec driver" 190 depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m 191 192config SND_HDA_CODEC_CA0132 193 tristate "Build Creative CA0132 codec support" 194 help 195 Say Y or M here to include Creative CA0132 codec support in 196 snd-hda-intel driver. 197 198comment "Set to Y if you want auto-loading the codec driver" 199 depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m 200 201config SND_HDA_CODEC_CA0132_DSP 202 bool "Support new DSP code for CA0132 codec" 203 depends on SND_HDA_CODEC_CA0132 204 default y 205 select SND_HDA_DSP_LOADER 206 select FW_LOADER 207 help 208 Say Y here to enable the DSP for Creative CA0132 for extended 209 features like equalizer or echo cancellation. 210 211 Note that this option requires the external firmware file 212 (ctefx.bin). 213 214config SND_HDA_CODEC_CMEDIA 215 tristate "Build C-Media HD-audio codec support" 216 select SND_HDA_GENERIC 217 help 218 Say Y or M here to include C-Media HD-audio codec support in 219 snd-hda-intel driver, such as CMI9880. 220 221comment "Set to Y if you want auto-loading the codec driver" 222 depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m 223 224config SND_HDA_CODEC_SI3054 225 tristate "Build Silicon Labs 3054 HD-modem codec support" 226 help 227 Say Y or M here to include Silicon Labs 3054 HD-modem codec 228 (and compatibles) support in snd-hda-intel driver. 229 230comment "Set to Y if you want auto-loading the codec driver" 231 depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m 232 233config SND_HDA_GENERIC 234 tristate "Enable generic HD-audio codec parser" 235 select NEW_LEDS if SND_HDA_GENERIC_LEDS 236 select LEDS_CLASS if SND_HDA_GENERIC_LEDS 237 select LEDS_TRIGGERS if SND_HDA_GENERIC_LEDS 238 select LEDS_TRIGGER_AUDIO if SND_HDA_GENERIC_LEDS 239 help 240 Say Y or M here to enable the generic HD-audio codec parser 241 in snd-hda-intel driver. 242 243comment "Set to Y if you want auto-loading the codec driver" 244 depends on SND_HDA=y && SND_HDA_GENERIC=m 245 246config SND_HDA_POWER_SAVE_DEFAULT 247 int "Default time-out for HD-audio power-save mode" 248 depends on PM 249 default 0 250 help 251 The default time-out value in seconds for HD-audio automatic 252 power-save mode. 0 means to disable the power-save mode. 253 254config SND_HDA_INTEL_HDMI_SILENT_STREAM 255 bool "Enable Silent Stream always for HDMI" 256 depends on SND_HDA_INTEL 257 help 258 Intel hardware has a feature called 'silent stream', that 259 keeps external HDMI receiver's analog circuitry powered on 260 avoiding 2-3 sec silence during playback start. This mechanism 261 relies on setting channel_id as 0xf, sending info packet and 262 preventing codec D3 entry (increasing platform static power 263 consumption when HDMI receiver is plugged-in). 2-3 sec silence 264 at the playback start is expected whenever there is format change. 265 (default is 2 channel format). 266 Say Y to enable Silent Stream feature. 267 268endif 269 270endmenu 271