blob: 7f3b5ed819957df6aacb5ab483e55e50d9b4d49d [file] [log] [blame]
Dylan Reid78e34f32014-02-28 15:41:32 -08001menu "HD-Audio"
2
3config SND_HDA
4 tristate
Takashi Iwai11b444d2008-11-21 09:32:40 +01005 select SND_PCM
6 select SND_VMASTER
Takashi Iwaife0d1282016-02-17 09:44:25 +01007 select SND_JACK
Takashi Iwaie3d280f2015-02-17 21:46:37 +01008 select SND_HDA_CORE
Dylan Reid78e34f32014-02-28 15:41:32 -08009
10config SND_HDA_INTEL
11 tristate "HD Audio PCI"
12 depends on SND_PCI
13 select SND_HDA
Takashi Iwai11b444d2008-11-21 09:32:40 +010014 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
Dylan Reid3c320f32014-05-19 19:18:27 -070024config 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
Dylan Reid78e34f32014-02-28 15:41:32 -080039if SND_HDA
Takashi Iwai11b444d2008-11-21 09:32:40 +010040
41config 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
49config SND_HDA_RECONFIG
Kees Cook0b1714a2012-10-23 13:04:22 -070050 bool "Allow dynamic codec reconfiguration"
Takashi Iwai11b444d2008-11-21 09:32:40 +010051 help
52 Say Y here to enable the HD-audio codec re-configuration feature.
Takashi Iwai39f0ccd2016-05-09 17:47:37 +020053 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.
Takashi Iwai11b444d2008-11-21 09:32:40 +010060
61config SND_HDA_INPUT_BEEP
62 bool "Support digital beep via input layer"
Dylan Reid78e34f32014-02-28 15:41:32 -080063 depends on INPUT=y || INPUT=SND_HDA
Takashi Iwai11b444d2008-11-21 09:32:40 +010064 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
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010068config SND_HDA_INPUT_BEEP_MODE
Takashi Iwai0920c9b2012-07-03 16:58:48 +020069 int "Digital beep registration mode (0=off, 1=on)"
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010070 depends on SND_HDA_INPUT_BEEP=y
71 default "1"
Takashi Iwai0920c9b2012-07-03 16:58:48 +020072 range 0 1
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010073 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
Takashi Iwai0920c9b2012-07-03 16:58:48 +020076 default.
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010077
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020078config SND_HDA_PATCH_LOADER
79 bool "Support initialization patch loading for HD-audio"
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020080 select FW_LOADER
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020081 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
Takashi Iwai11b444d2008-11-21 09:32:40 +010088config SND_HDA_CODEC_REALTEK
Takashi Iwai595fe1b2013-12-18 07:35:11 +010089 tristate "Build Realtek HD-audio codec support"
Takashi Iwai08c189f2012-12-19 15:22:24 +010090 select SND_HDA_GENERIC
Takashi Iwaiffcd28d2015-01-15 10:11:52 +010091 select INPUT
Takashi Iwai11b444d2008-11-21 09:32:40 +010092 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +010093 Say Y or M here to include Realtek HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +010094 snd-hda-intel driver, such as ALC880.
95
Takashi Iwaid8f66c72013-12-19 15:09:14 +010096comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -080097 depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +010098
Takashi Iwai11b444d2008-11-21 09:32:40 +010099config SND_HDA_CODEC_ANALOG
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100100 tristate "Build Analog Device HD-audio codec support"
Takashi Iwai78bb3cb2012-12-21 15:17:06 +0100101 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100102 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100103 Say Y or M here to include Analog Device HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100104 snd-hda-intel driver, such as AD1986A.
105
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100106comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800107 depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100108
Takashi Iwai11b444d2008-11-21 09:32:40 +0100109config SND_HDA_CODEC_SIGMATEL
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100110 tristate "Build IDT/Sigmatel HD-audio codec support"
Takashi Iwai36c9db72013-01-17 17:07:59 +0100111 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100112 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100113 Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100114 snd-hda-intel driver, such as STAC9200.
115
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100116comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800117 depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100118
Takashi Iwai11b444d2008-11-21 09:32:40 +0100119config SND_HDA_CODEC_VIA
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100120 tristate "Build VIA HD-audio codec support"
Takashi Iwaib3f60082013-01-07 12:27:36 +0100121 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100122 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100123 Say Y or M here to include VIA HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100124 snd-hda-intel driver, such as VT1708.
125
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100126comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800127 depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100128
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200129config SND_HDA_CODEC_HDMI
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100130 tristate "Build HDMI/DisplayPort HD-audio codec support"
Takashi Iwai11b444d2008-11-21 09:32:40 +0100131 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100132 Say Y or M here to include HDMI and DisplayPort HD-audio codec
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200133 support in snd-hda-intel driver. This includes all AMD/ATI,
134 Intel and Nvidia HDMI/DisplayPort codecs.
Takashi Iwai11b444d2008-11-21 09:32:40 +0100135
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100136comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800137 depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100138
Takashi Iwaie5f14242009-07-01 18:11:44 +0200139config SND_HDA_CODEC_CIRRUS
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100140 tristate "Build Cirrus Logic codec support"
Takashi Iwai1077a022012-12-19 16:39:18 +0100141 select SND_HDA_GENERIC
Takashi Iwaie5f14242009-07-01 18:11:44 +0200142 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100143 Say Y or M here to include Cirrus Logic codec support in
Takashi Iwaie5f14242009-07-01 18:11:44 +0200144 snd-hda-intel driver, such as CS4206.
145
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100146comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800147 depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100148
Takashi Iwai11b444d2008-11-21 09:32:40 +0100149config SND_HDA_CODEC_CONEXANT
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100150 tristate "Build Conexant HD-audio codec support"
Takashi Iwaiaed523f2012-12-20 16:34:12 +0100151 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100152 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100153 Say Y or M here to include Conexant HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100154 snd-hda-intel driver, such as CX20549.
155
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100156comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800157 depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100158
Takashi Iwai4e01f542009-04-16 08:53:34 +0200159config SND_HDA_CODEC_CA0110
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100160 tristate "Build Creative CA0110-IBG codec support"
Takashi Iwai8fadf1d2012-12-19 18:04:37 +0100161 select SND_HDA_GENERIC
Takashi Iwai4e01f542009-04-16 08:53:34 +0200162 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100163 Say Y or M here to include Creative CA0110-IBG codec support in
Takashi Iwai4e01f542009-04-16 08:53:34 +0200164 snd-hda-intel driver, found on some Creative X-Fi cards.
165
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100166comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800167 depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100168
Ian Minett95c6e9c2011-06-15 15:35:17 -0700169config SND_HDA_CODEC_CA0132
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100170 tristate "Build Creative CA0132 codec support"
Ian Minett95c6e9c2011-06-15 15:35:17 -0700171 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100172 Say Y or M here to include Creative CA0132 codec support in
Ian Minett95c6e9c2011-06-15 15:35:17 -0700173 snd-hda-intel driver.
174
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100175comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800176 depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100177
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100178config SND_HDA_CODEC_CA0132_DSP
179 bool "Support new DSP code for CA0132 codec"
Takashi Iwai2c312e92013-11-18 17:12:34 +0100180 depends on SND_HDA_CODEC_CA0132
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100181 select SND_HDA_DSP_LOADER
Takashi Iwai2c312e92013-11-18 17:12:34 +0100182 select FW_LOADER
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100183 help
184 Say Y here to enable the DSP for Creative CA0132 for extended
185 features like equalizer or echo cancellation.
186
187 Note that this option requires the external firmware file
188 (ctefx.bin).
189
Takashi Iwai11b444d2008-11-21 09:32:40 +0100190config SND_HDA_CODEC_CMEDIA
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100191 tristate "Build C-Media HD-audio codec support"
Takashi Iwaib060fb02012-12-19 17:35:47 +0100192 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100193 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100194 Say Y or M here to include C-Media HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100195 snd-hda-intel driver, such as CMI9880.
196
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100197comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800198 depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100199
Takashi Iwai11b444d2008-11-21 09:32:40 +0100200config SND_HDA_CODEC_SI3054
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100201 tristate "Build Silicon Labs 3054 HD-modem codec support"
Takashi Iwai11b444d2008-11-21 09:32:40 +0100202 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100203 Say Y or M here to include Silicon Labs 3054 HD-modem codec
Takashi Iwai11b444d2008-11-21 09:32:40 +0100204 (and compatibles) support in snd-hda-intel driver.
205
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100206comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800207 depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100208
Takashi Iwai11b444d2008-11-21 09:32:40 +0100209config SND_HDA_GENERIC
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100210 tristate "Enable generic HD-audio codec parser"
Takashi Iwai11b444d2008-11-21 09:32:40 +0100211 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100212 Say Y or M here to enable the generic HD-audio codec parser
Takashi Iwai11b444d2008-11-21 09:32:40 +0100213 in snd-hda-intel driver.
214
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100215comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800216 depends on SND_HDA=y && SND_HDA_GENERIC=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100217
Takashi Iwai11b444d2008-11-21 09:32:40 +0100218config SND_HDA_POWER_SAVE_DEFAULT
219 int "Default time-out for HD-audio power-save mode"
Takashi Iwai83012a72012-08-24 18:38:08 +0200220 depends on PM
Takashi Iwai11b444d2008-11-21 09:32:40 +0100221 default 0
222 help
223 The default time-out value in seconds for HD-audio automatic
224 power-save mode. 0 means to disable the power-save mode.
225
226endif
Dylan Reid78e34f32014-02-28 15:41:32 -0800227
228endmenu