| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | menu "HD-Audio" |
|---|
| 2 | 3 | |
|---|
| 3 | 4 | config SND_HDA |
|---|
| .. | .. |
|---|
| 7 | 8 | select SND_JACK |
|---|
| 8 | 9 | select SND_HDA_CORE |
|---|
| 9 | 10 | |
|---|
| 11 | +config SND_HDA_GENERIC_LEDS |
|---|
| 12 | + bool |
|---|
| 13 | + |
|---|
| 10 | 14 | config SND_HDA_INTEL |
|---|
| 11 | 15 | tristate "HD Audio PCI" |
|---|
| 12 | 16 | depends on SND_PCI |
|---|
| 13 | 17 | select SND_HDA |
|---|
| 18 | + select SND_INTEL_DSP_CONFIG |
|---|
| 14 | 19 | help |
|---|
| 15 | 20 | Say Y here to include support for Intel "High Definition |
|---|
| 16 | 21 | Audio" (Azalia) and its compatible devices. |
|---|
| .. | .. |
|---|
| 25 | 30 | tristate "NVIDIA Tegra HD Audio" |
|---|
| 26 | 31 | depends on ARCH_TEGRA |
|---|
| 27 | 32 | select SND_HDA |
|---|
| 33 | + select SND_HDA_ALIGNED_MMIO |
|---|
| 28 | 34 | help |
|---|
| 29 | 35 | Say Y here to support the HDA controller present in NVIDIA |
|---|
| 30 | 36 | Tegra SoCs |
|---|
| .. | .. |
|---|
| 88 | 94 | config SND_HDA_CODEC_REALTEK |
|---|
| 89 | 95 | tristate "Build Realtek HD-audio codec support" |
|---|
| 90 | 96 | select SND_HDA_GENERIC |
|---|
| 97 | + select SND_HDA_GENERIC_LEDS |
|---|
| 91 | 98 | help |
|---|
| 92 | 99 | Say Y or M here to include Realtek HD-audio codec support in |
|---|
| 93 | 100 | snd-hda-intel driver, such as ALC880. |
|---|
| .. | .. |
|---|
| 96 | 103 | depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m |
|---|
| 97 | 104 | |
|---|
| 98 | 105 | config SND_HDA_CODEC_ANALOG |
|---|
| 99 | | - tristate "Build Analog Device HD-audio codec support" |
|---|
| 106 | + tristate "Build Analog Devices HD-audio codec support" |
|---|
| 100 | 107 | select SND_HDA_GENERIC |
|---|
| 101 | 108 | help |
|---|
| 102 | | - Say Y or M here to include Analog Device HD-audio codec support in |
|---|
| 109 | + Say Y or M here to include Analog Devices HD-audio codec support in |
|---|
| 103 | 110 | snd-hda-intel driver, such as AD1986A. |
|---|
| 104 | 111 | |
|---|
| 105 | 112 | comment "Set to Y if you want auto-loading the codec driver" |
|---|
| .. | .. |
|---|
| 108 | 115 | config SND_HDA_CODEC_SIGMATEL |
|---|
| 109 | 116 | tristate "Build IDT/Sigmatel HD-audio codec support" |
|---|
| 110 | 117 | select SND_HDA_GENERIC |
|---|
| 118 | + select SND_HDA_GENERIC_LEDS |
|---|
| 111 | 119 | help |
|---|
| 112 | 120 | Say Y or M here to include IDT (Sigmatel) HD-audio codec support in |
|---|
| 113 | 121 | snd-hda-intel driver, such as STAC9200. |
|---|
| .. | .. |
|---|
| 152 | 160 | config SND_HDA_CODEC_CONEXANT |
|---|
| 153 | 161 | tristate "Build Conexant HD-audio codec support" |
|---|
| 154 | 162 | select SND_HDA_GENERIC |
|---|
| 163 | + select SND_HDA_GENERIC_LEDS |
|---|
| 155 | 164 | help |
|---|
| 156 | 165 | Say Y or M here to include Conexant HD-audio codec support in |
|---|
| 157 | 166 | snd-hda-intel driver, such as CX20549. |
|---|
| .. | .. |
|---|
| 181 | 190 | config SND_HDA_CODEC_CA0132_DSP |
|---|
| 182 | 191 | bool "Support new DSP code for CA0132 codec" |
|---|
| 183 | 192 | depends on SND_HDA_CODEC_CA0132 |
|---|
| 193 | + default y |
|---|
| 184 | 194 | select SND_HDA_DSP_LOADER |
|---|
| 185 | 195 | select FW_LOADER |
|---|
| 186 | 196 | help |
|---|
| .. | .. |
|---|
| 211 | 221 | |
|---|
| 212 | 222 | config SND_HDA_GENERIC |
|---|
| 213 | 223 | tristate "Enable generic HD-audio codec parser" |
|---|
| 224 | + select NEW_LEDS if SND_HDA_GENERIC_LEDS |
|---|
| 225 | + select LEDS_CLASS if SND_HDA_GENERIC_LEDS |
|---|
| 226 | + select LEDS_TRIGGERS if SND_HDA_GENERIC_LEDS |
|---|
| 227 | + select LEDS_TRIGGER_AUDIO if SND_HDA_GENERIC_LEDS |
|---|
| 214 | 228 | help |
|---|
| 215 | 229 | Say Y or M here to enable the generic HD-audio codec parser |
|---|
| 216 | 230 | in snd-hda-intel driver. |
|---|
| .. | .. |
|---|
| 226 | 240 | The default time-out value in seconds for HD-audio automatic |
|---|
| 227 | 241 | power-save mode. 0 means to disable the power-save mode. |
|---|
| 228 | 242 | |
|---|
| 243 | +config SND_HDA_INTEL_HDMI_SILENT_STREAM |
|---|
| 244 | + bool "Enable Silent Stream always for HDMI" |
|---|
| 245 | + depends on SND_HDA_INTEL |
|---|
| 246 | + help |
|---|
| 247 | + Intel hardware has a feature called 'silent stream', that |
|---|
| 248 | + keeps external HDMI receiver's analog circuitry powered on |
|---|
| 249 | + avoiding 2-3 sec silence during playback start. This mechanism |
|---|
| 250 | + relies on setting channel_id as 0xf, sending info packet and |
|---|
| 251 | + preventing codec D3 entry (increasing platform static power |
|---|
| 252 | + consumption when HDMI receiver is plugged-in). 2-3 sec silence |
|---|
| 253 | + at the playback start is expected whenever there is format change. |
|---|
| 254 | + (default is 2 channel format). |
|---|
| 255 | + Say Y to enable Silent Stream feature. |
|---|
| 256 | + |
|---|
| 229 | 257 | endif |
|---|
| 230 | 258 | |
|---|
| 231 | 259 | endmenu |
|---|