2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2014-02-28 23:41:32 +00:00
|
|
|
menu "HD-Audio"
|
|
|
|
|
|
|
|
config SND_HDA
|
|
|
|
tristate
|
2008-11-21 08:32:40 +00:00
|
|
|
select SND_PCM
|
|
|
|
select SND_VMASTER
|
2016-02-17 08:44:25 +00:00
|
|
|
select SND_JACK
|
2015-02-17 20:46:37 +00:00
|
|
|
select SND_HDA_CORE
|
2014-02-28 23:41:32 +00:00
|
|
|
|
2020-06-18 11:08:31 +00:00
|
|
|
config SND_HDA_GENERIC_LEDS
|
|
|
|
bool
|
|
|
|
|
2014-02-28 23:41:32 +00:00
|
|
|
config SND_HDA_INTEL
|
|
|
|
tristate "HD Audio PCI"
|
|
|
|
depends on SND_PCI
|
|
|
|
select SND_HDA
|
2019-10-22 17:43:12 +00:00
|
|
|
select SND_INTEL_DSP_CONFIG
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
|
|
|
Say Y here to include support for Intel "High Definition
|
|
|
|
Audio" (Azalia) and its compatible devices.
|
|
|
|
|
|
|
|
This option enables the HD-audio controller. Don't forget
|
|
|
|
to choose the appropriate codec options below.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called snd-hda-intel.
|
|
|
|
|
2014-05-20 02:18:27 +00:00
|
|
|
config SND_HDA_TEGRA
|
|
|
|
tristate "NVIDIA Tegra HD Audio"
|
|
|
|
depends on ARCH_TEGRA
|
|
|
|
select SND_HDA
|
2019-08-07 18:32:08 +00:00
|
|
|
select SND_HDA_ALIGNED_MMIO
|
2014-05-20 02:18:27 +00:00
|
|
|
help
|
|
|
|
Say Y here to support the HDA controller present in NVIDIA
|
|
|
|
Tegra SoCs
|
|
|
|
|
|
|
|
This options enables support for the HD Audio controller
|
|
|
|
present in some NVIDIA Tegra SoCs, used to communicate audio
|
|
|
|
to the HDMI output.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called snd-hda-tegra.
|
|
|
|
|
2014-02-28 23:41:32 +00:00
|
|
|
if SND_HDA
|
2008-11-21 08:32:40 +00:00
|
|
|
|
|
|
|
config SND_HDA_HWDEP
|
|
|
|
bool "Build hwdep interface for HD-audio driver"
|
|
|
|
select SND_HWDEP
|
|
|
|
help
|
|
|
|
Say Y here to build a hwdep interface for HD-audio driver.
|
|
|
|
This interface can be used for out-of-band communication
|
|
|
|
with codecs for debugging purposes.
|
|
|
|
|
|
|
|
config SND_HDA_RECONFIG
|
2012-10-23 20:04:22 +00:00
|
|
|
bool "Allow dynamic codec reconfiguration"
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
|
|
|
Say Y here to enable the HD-audio codec re-configuration feature.
|
2016-05-09 15:47:37 +00:00
|
|
|
It allows user to clear the whole codec configuration, change the
|
|
|
|
codec setup, add extra verbs, and re-configure the codec dynamically.
|
|
|
|
|
|
|
|
Note that this item alone doesn't provide the sysfs interface, but
|
|
|
|
enables the feature just for the patch loader below.
|
|
|
|
If you need the traditional sysfs entries for the manual interaction,
|
|
|
|
turn on CONFIG_SND_HDA_HWDEP as well.
|
2008-11-21 08:32:40 +00:00
|
|
|
|
|
|
|
config SND_HDA_INPUT_BEEP
|
|
|
|
bool "Support digital beep via input layer"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on INPUT=y || INPUT=SND_HDA
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
|
|
|
Say Y here to build a digital beep interface for HD-audio
|
|
|
|
driver. This interface is used to generate digital beeps.
|
|
|
|
|
2009-11-13 17:41:52 +00:00
|
|
|
config SND_HDA_INPUT_BEEP_MODE
|
2012-07-03 14:58:48 +00:00
|
|
|
int "Digital beep registration mode (0=off, 1=on)"
|
2009-11-13 17:41:52 +00:00
|
|
|
depends on SND_HDA_INPUT_BEEP=y
|
|
|
|
default "1"
|
2012-07-03 14:58:48 +00:00
|
|
|
range 0 1
|
2009-11-13 17:41:52 +00:00
|
|
|
help
|
|
|
|
Set 0 to disable the digital beep interface for HD-audio by default.
|
|
|
|
Set 1 to always enable the digital beep interface for HD-audio by
|
2012-07-03 14:58:48 +00:00
|
|
|
default.
|
2009-11-13 17:41:52 +00:00
|
|
|
|
2009-06-17 07:52:54 +00:00
|
|
|
config SND_HDA_PATCH_LOADER
|
|
|
|
bool "Support initialization patch loading for HD-audio"
|
|
|
|
select FW_LOADER
|
|
|
|
select SND_HDA_RECONFIG
|
|
|
|
help
|
|
|
|
Say Y here to allow the HD-audio driver to load a pseudo
|
|
|
|
firmware file ("patch") for overriding the BIOS setup at
|
|
|
|
start up. The "patch" file can be specified via patch module
|
|
|
|
option, such as patch=hda-init.
|
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
config SND_HDA_CODEC_REALTEK
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build Realtek HD-audio codec support"
|
2012-12-19 14:22:24 +00:00
|
|
|
select SND_HDA_GENERIC
|
2020-06-18 11:08:31 +00:00
|
|
|
select SND_HDA_GENERIC_LEDS
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include Realtek HD-audio codec support in
|
2008-11-21 08:32:40 +00:00
|
|
|
snd-hda-intel driver, such as ALC880.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
config SND_HDA_CODEC_ANALOG
|
2020-04-16 10:30:57 +00:00
|
|
|
tristate "Build Analog Devices HD-audio codec support"
|
2012-12-21 14:17:06 +00:00
|
|
|
select SND_HDA_GENERIC
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
2020-04-16 10:30:57 +00:00
|
|
|
Say Y or M here to include Analog Devices HD-audio codec support in
|
2008-11-21 08:32:40 +00:00
|
|
|
snd-hda-intel driver, such as AD1986A.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
config SND_HDA_CODEC_SIGMATEL
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build IDT/Sigmatel HD-audio codec support"
|
2013-01-17 16:07:59 +00:00
|
|
|
select SND_HDA_GENERIC
|
2020-06-18 11:08:31 +00:00
|
|
|
select SND_HDA_GENERIC_LEDS
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
|
2008-11-21 08:32:40 +00:00
|
|
|
snd-hda-intel driver, such as STAC9200.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
config SND_HDA_CODEC_VIA
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build VIA HD-audio codec support"
|
2013-01-07 11:27:36 +00:00
|
|
|
select SND_HDA_GENERIC
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include VIA HD-audio codec support in
|
2008-11-21 08:32:40 +00:00
|
|
|
snd-hda-intel driver, such as VT1708.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2010-09-07 10:27:25 +00:00
|
|
|
config SND_HDA_CODEC_HDMI
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build HDMI/DisplayPort HD-audio codec support"
|
2018-05-02 07:03:26 +00:00
|
|
|
select SND_DYNAMIC_MINORS
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include HDMI and DisplayPort HD-audio codec
|
2010-09-07 10:27:25 +00:00
|
|
|
support in snd-hda-intel driver. This includes all AMD/ATI,
|
|
|
|
Intel and Nvidia HDMI/DisplayPort codecs.
|
2008-11-21 08:32:40 +00:00
|
|
|
|
2018-05-02 07:03:26 +00:00
|
|
|
Note that this option mandatorily enables CONFIG_SND_DYNAMIC_MINORS
|
|
|
|
to assure the multiple streams for DP-MST support.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2009-07-01 16:11:44 +00:00
|
|
|
config SND_HDA_CODEC_CIRRUS
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build Cirrus Logic codec support"
|
2012-12-19 15:39:18 +00:00
|
|
|
select SND_HDA_GENERIC
|
2009-07-01 16:11:44 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include Cirrus Logic codec support in
|
2009-07-01 16:11:44 +00:00
|
|
|
snd-hda-intel driver, such as CS4206.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2021-08-11 18:56:28 +00:00
|
|
|
config SND_HDA_CODEC_CS8409
|
|
|
|
tristate "Build Cirrus Logic HDA bridge support"
|
|
|
|
select SND_HDA_GENERIC
|
|
|
|
help
|
|
|
|
Say Y or M here to include Cirrus Logic HDA bridge support in
|
|
|
|
snd-hda-intel driver, such as CS8409.
|
|
|
|
|
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_CS8409=m
|
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
config SND_HDA_CODEC_CONEXANT
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build Conexant HD-audio codec support"
|
2012-12-20 15:34:12 +00:00
|
|
|
select SND_HDA_GENERIC
|
2020-06-18 11:08:31 +00:00
|
|
|
select SND_HDA_GENERIC_LEDS
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include Conexant HD-audio codec support in
|
2008-11-21 08:32:40 +00:00
|
|
|
snd-hda-intel driver, such as CX20549.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2009-04-16 06:53:34 +00:00
|
|
|
config SND_HDA_CODEC_CA0110
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build Creative CA0110-IBG codec support"
|
2012-12-19 17:04:37 +00:00
|
|
|
select SND_HDA_GENERIC
|
2009-04-16 06:53:34 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include Creative CA0110-IBG codec support in
|
2009-04-16 06:53:34 +00:00
|
|
|
snd-hda-intel driver, found on some Creative X-Fi cards.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2011-06-15 22:35:17 +00:00
|
|
|
config SND_HDA_CODEC_CA0132
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build Creative CA0132 codec support"
|
2011-06-15 22:35:17 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include Creative CA0132 codec support in
|
2011-06-15 22:35:17 +00:00
|
|
|
snd-hda-intel driver.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2013-02-04 17:25:51 +00:00
|
|
|
config SND_HDA_CODEC_CA0132_DSP
|
|
|
|
bool "Support new DSP code for CA0132 codec"
|
2013-11-18 16:12:34 +00:00
|
|
|
depends on SND_HDA_CODEC_CA0132
|
2020-03-29 05:30:15 +00:00
|
|
|
default y
|
2013-02-04 17:25:51 +00:00
|
|
|
select SND_HDA_DSP_LOADER
|
2013-11-18 16:12:34 +00:00
|
|
|
select FW_LOADER
|
2013-02-04 17:25:51 +00:00
|
|
|
help
|
|
|
|
Say Y here to enable the DSP for Creative CA0132 for extended
|
|
|
|
features like equalizer or echo cancellation.
|
|
|
|
|
|
|
|
Note that this option requires the external firmware file
|
|
|
|
(ctefx.bin).
|
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
config SND_HDA_CODEC_CMEDIA
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build C-Media HD-audio codec support"
|
2012-12-19 16:35:47 +00:00
|
|
|
select SND_HDA_GENERIC
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include C-Media HD-audio codec support in
|
2008-11-21 08:32:40 +00:00
|
|
|
snd-hda-intel driver, such as CMI9880.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
config SND_HDA_CODEC_SI3054
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Build Silicon Labs 3054 HD-modem codec support"
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to include Silicon Labs 3054 HD-modem codec
|
2008-11-21 08:32:40 +00:00
|
|
|
(and compatibles) support in snd-hda-intel driver.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
config SND_HDA_GENERIC
|
2013-12-18 06:35:11 +00:00
|
|
|
tristate "Enable generic HD-audio codec parser"
|
2021-03-17 17:29:43 +00:00
|
|
|
select SND_CTL_LED if SND_HDA_GENERIC_LEDS
|
2020-06-18 11:08:31 +00:00
|
|
|
select LEDS_CLASS if SND_HDA_GENERIC_LEDS
|
2008-11-21 08:32:40 +00:00
|
|
|
help
|
2013-12-18 06:35:11 +00:00
|
|
|
Say Y or M here to enable the generic HD-audio codec parser
|
2008-11-21 08:32:40 +00:00
|
|
|
in snd-hda-intel driver.
|
|
|
|
|
2013-12-19 14:09:14 +00:00
|
|
|
comment "Set to Y if you want auto-loading the codec driver"
|
2014-02-28 23:41:32 +00:00
|
|
|
depends on SND_HDA=y && SND_HDA_GENERIC=m
|
2013-12-19 14:09:14 +00:00
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
config SND_HDA_POWER_SAVE_DEFAULT
|
|
|
|
int "Default time-out for HD-audio power-save mode"
|
2012-08-24 16:38:08 +00:00
|
|
|
depends on PM
|
2008-11-21 08:32:40 +00:00
|
|
|
default 0
|
|
|
|
help
|
|
|
|
The default time-out value in seconds for HD-audio automatic
|
|
|
|
power-save mode. 0 means to disable the power-save mode.
|
|
|
|
|
2020-07-06 20:53:17 +00:00
|
|
|
config SND_HDA_INTEL_HDMI_SILENT_STREAM
|
|
|
|
bool "Enable Silent Stream always for HDMI"
|
|
|
|
depends on SND_HDA_INTEL
|
|
|
|
help
|
|
|
|
Intel hardware has a feature called 'silent stream', that
|
|
|
|
keeps external HDMI receiver's analog circuitry powered on
|
|
|
|
avoiding 2-3 sec silence during playback start. This mechanism
|
|
|
|
relies on setting channel_id as 0xf, sending info packet and
|
|
|
|
preventing codec D3 entry (increasing platform static power
|
|
|
|
consumption when HDMI receiver is plugged-in). 2-3 sec silence
|
|
|
|
at the playback start is expected whenever there is format change.
|
|
|
|
(default is 2 channel format).
|
|
|
|
Say Y to enable Silent Stream feature.
|
|
|
|
|
2008-11-21 08:32:40 +00:00
|
|
|
endif
|
2014-02-28 23:41:32 +00:00
|
|
|
|
|
|
|
endmenu
|