blob: 7f0f2c5a4e97388200e25ac8a04900f1206eaf38 [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 Iwai35be5442011-11-02 08:36:06 +01007 select SND_KCTL_JACK
Dylan Reid78e34f32014-02-28 15:41:32 -08008
9config SND_HDA_INTEL
10 tristate "HD Audio PCI"
11 depends on SND_PCI
12 select SND_HDA
Takashi Iwai11b444d2008-11-21 09:32:40 +010013 help
14 Say Y here to include support for Intel "High Definition
15 Audio" (Azalia) and its compatible devices.
16
17 This option enables the HD-audio controller. Don't forget
18 to choose the appropriate codec options below.
19
20 To compile this driver as a module, choose M here: the module
21 will be called snd-hda-intel.
22
Dylan Reid3c320f32014-05-19 19:18:27 -070023config SND_HDA_TEGRA
24 tristate "NVIDIA Tegra HD Audio"
25 depends on ARCH_TEGRA
26 select SND_HDA
27 help
28 Say Y here to support the HDA controller present in NVIDIA
29 Tegra SoCs
30
31 This options enables support for the HD Audio controller
32 present in some NVIDIA Tegra SoCs, used to communicate audio
33 to the HDMI output.
34
35 To compile this driver as a module, choose M here: the module
36 will be called snd-hda-tegra.
37
Dylan Reid78e34f32014-02-28 15:41:32 -080038if SND_HDA
Takashi Iwai11b444d2008-11-21 09:32:40 +010039
Takashi Iwai24f3ced2013-02-04 18:25:51 +010040config SND_HDA_DSP_LOADER
41 bool
42
Takashi Iwaiacfa6342011-07-12 17:27:46 +020043config SND_HDA_PREALLOC_SIZE
44 int "Pre-allocated buffer size for HD-audio driver"
45 range 0 32768
46 default 64
47 help
Paul Menzelcf01b732011-07-12 19:53:56 +020048 Specifies the default pre-allocated buffer-size in kB for the
Takashi Iwaiacfa6342011-07-12 17:27:46 +020049 HD-audio driver. A larger buffer (e.g. 2048) is preferred
Paul Menzelcf01b732011-07-12 19:53:56 +020050 for systems using PulseAudio. The default 64 is chosen just
51 for compatibility reasons.
Takashi Iwaiacfa6342011-07-12 17:27:46 +020052
53 Note that the pre-allocation size can be changed dynamically
54 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
55
Takashi Iwai11b444d2008-11-21 09:32:40 +010056config SND_HDA_HWDEP
57 bool "Build hwdep interface for HD-audio driver"
58 select SND_HWDEP
59 help
60 Say Y here to build a hwdep interface for HD-audio driver.
61 This interface can be used for out-of-band communication
62 with codecs for debugging purposes.
63
64config SND_HDA_RECONFIG
Kees Cook0b1714a2012-10-23 13:04:22 -070065 bool "Allow dynamic codec reconfiguration"
Takashi Iwai11b444d2008-11-21 09:32:40 +010066 help
67 Say Y here to enable the HD-audio codec re-configuration feature.
68 This adds the sysfs interfaces to allow user to clear the whole
69 codec configuration, change the codec setup, add extra verbs,
70 and re-configure the codec dynamically.
71
72config SND_HDA_INPUT_BEEP
73 bool "Support digital beep via input layer"
Dylan Reid78e34f32014-02-28 15:41:32 -080074 depends on INPUT=y || INPUT=SND_HDA
Takashi Iwai11b444d2008-11-21 09:32:40 +010075 help
76 Say Y here to build a digital beep interface for HD-audio
77 driver. This interface is used to generate digital beeps.
78
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010079config SND_HDA_INPUT_BEEP_MODE
Takashi Iwai0920c9b2012-07-03 16:58:48 +020080 int "Digital beep registration mode (0=off, 1=on)"
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010081 depends on SND_HDA_INPUT_BEEP=y
82 default "1"
Takashi Iwai0920c9b2012-07-03 16:58:48 +020083 range 0 1
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010084 help
85 Set 0 to disable the digital beep interface for HD-audio by default.
86 Set 1 to always enable the digital beep interface for HD-audio by
Takashi Iwai0920c9b2012-07-03 16:58:48 +020087 default.
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010088
Takashi Iwai8c8145b2009-06-22 17:00:38 +020089config SND_HDA_INPUT_JACK
90 bool "Support jack plugging notification via input layer"
Takashi Iwaifc087222009-11-21 19:57:11 +010091 depends on INPUT=y || INPUT=SND
Takashi Iwai8c8145b2009-06-22 17:00:38 +020092 select SND_JACK
93 help
94 Say Y here to enable the jack plugging notification via
95 input layer.
96
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020097config SND_HDA_PATCH_LOADER
98 bool "Support initialization patch loading for HD-audio"
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020099 select FW_LOADER
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +0200100 select SND_HDA_RECONFIG
101 help
102 Say Y here to allow the HD-audio driver to load a pseudo
103 firmware file ("patch") for overriding the BIOS setup at
104 start up. The "patch" file can be specified via patch module
105 option, such as patch=hda-init.
106
Takashi Iwai11b444d2008-11-21 09:32:40 +0100107config SND_HDA_CODEC_REALTEK
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100108 tristate "Build Realtek HD-audio codec support"
Takashi Iwai08c189f2012-12-19 15:22:24 +0100109 select SND_HDA_GENERIC
Takashi Iwaiffcd28d2015-01-15 10:11:52 +0100110 select INPUT
Takashi Iwai11b444d2008-11-21 09:32:40 +0100111 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100112 Say Y or M here to include Realtek HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100113 snd-hda-intel driver, such as ALC880.
114
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100115comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800116 depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100117
Takashi Iwai11b444d2008-11-21 09:32:40 +0100118config SND_HDA_CODEC_ANALOG
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100119 tristate "Build Analog Device HD-audio codec support"
Takashi Iwai78bb3cb2012-12-21 15:17:06 +0100120 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100121 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100122 Say Y or M here to include Analog Device HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100123 snd-hda-intel driver, such as AD1986A.
124
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100125comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800126 depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100127
Takashi Iwai11b444d2008-11-21 09:32:40 +0100128config SND_HDA_CODEC_SIGMATEL
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100129 tristate "Build IDT/Sigmatel HD-audio codec support"
Takashi Iwai36c9db72013-01-17 17:07:59 +0100130 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100131 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100132 Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100133 snd-hda-intel driver, such as STAC9200.
134
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100135comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800136 depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100137
Takashi Iwai11b444d2008-11-21 09:32:40 +0100138config SND_HDA_CODEC_VIA
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100139 tristate "Build VIA HD-audio codec support"
Takashi Iwaib3f60082013-01-07 12:27:36 +0100140 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100141 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100142 Say Y or M here to include VIA HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100143 snd-hda-intel driver, such as VT1708.
144
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100145comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800146 depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100147
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200148config SND_HDA_CODEC_HDMI
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100149 tristate "Build HDMI/DisplayPort HD-audio codec support"
Takashi Iwai11b444d2008-11-21 09:32:40 +0100150 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100151 Say Y or M here to include HDMI and DisplayPort HD-audio codec
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200152 support in snd-hda-intel driver. This includes all AMD/ATI,
153 Intel and Nvidia HDMI/DisplayPort codecs.
Takashi Iwai11b444d2008-11-21 09:32:40 +0100154
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100155comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800156 depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100157
Wang Xingchao99a20082013-05-30 22:07:10 +0800158config SND_HDA_I915
Takashi Iwai1c9a3412013-08-27 14:49:59 +0200159 bool
160 default y
Wang Xingchao99a20082013-05-30 22:07:10 +0800161 depends on DRM_I915
Wang Xingchao99a20082013-05-30 22:07:10 +0800162
Takashi Iwaie5f14242009-07-01 18:11:44 +0200163config SND_HDA_CODEC_CIRRUS
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100164 tristate "Build Cirrus Logic codec support"
Takashi Iwai1077a022012-12-19 16:39:18 +0100165 select SND_HDA_GENERIC
Takashi Iwaie5f14242009-07-01 18:11:44 +0200166 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100167 Say Y or M here to include Cirrus Logic codec support in
Takashi Iwaie5f14242009-07-01 18:11:44 +0200168 snd-hda-intel driver, such as CS4206.
169
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100170comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800171 depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100172
Takashi Iwai11b444d2008-11-21 09:32:40 +0100173config SND_HDA_CODEC_CONEXANT
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100174 tristate "Build Conexant HD-audio codec support"
Takashi Iwaiaed523f2012-12-20 16:34:12 +0100175 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100176 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100177 Say Y or M here to include Conexant HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100178 snd-hda-intel driver, such as CX20549.
179
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100180comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800181 depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100182
Takashi Iwai4e01f542009-04-16 08:53:34 +0200183config SND_HDA_CODEC_CA0110
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100184 tristate "Build Creative CA0110-IBG codec support"
Takashi Iwai8fadf1d2012-12-19 18:04:37 +0100185 select SND_HDA_GENERIC
Takashi Iwai4e01f542009-04-16 08:53:34 +0200186 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100187 Say Y or M here to include Creative CA0110-IBG codec support in
Takashi Iwai4e01f542009-04-16 08:53:34 +0200188 snd-hda-intel driver, found on some Creative X-Fi cards.
189
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100190comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800191 depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100192
Ian Minett95c6e9c2011-06-15 15:35:17 -0700193config SND_HDA_CODEC_CA0132
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100194 tristate "Build Creative CA0132 codec support"
Ian Minett95c6e9c2011-06-15 15:35:17 -0700195 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100196 Say Y or M here to include Creative CA0132 codec support in
Ian Minett95c6e9c2011-06-15 15:35:17 -0700197 snd-hda-intel driver.
198
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100199comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800200 depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100201
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100202config SND_HDA_CODEC_CA0132_DSP
203 bool "Support new DSP code for CA0132 codec"
Takashi Iwai2c312e92013-11-18 17:12:34 +0100204 depends on SND_HDA_CODEC_CA0132
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100205 select SND_HDA_DSP_LOADER
Takashi Iwai2c312e92013-11-18 17:12:34 +0100206 select FW_LOADER
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100207 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
Takashi Iwai11b444d2008-11-21 09:32:40 +0100214config SND_HDA_CODEC_CMEDIA
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100215 tristate "Build C-Media HD-audio codec support"
Takashi Iwaib060fb02012-12-19 17:35:47 +0100216 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100217 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100218 Say Y or M here to include C-Media HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100219 snd-hda-intel driver, such as CMI9880.
220
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100221comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800222 depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100223
Takashi Iwai11b444d2008-11-21 09:32:40 +0100224config SND_HDA_CODEC_SI3054
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100225 tristate "Build Silicon Labs 3054 HD-modem codec support"
Takashi Iwai11b444d2008-11-21 09:32:40 +0100226 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100227 Say Y or M here to include Silicon Labs 3054 HD-modem codec
Takashi Iwai11b444d2008-11-21 09:32:40 +0100228 (and compatibles) support in snd-hda-intel driver.
229
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100230comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800231 depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100232
Takashi Iwai11b444d2008-11-21 09:32:40 +0100233config SND_HDA_GENERIC
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100234 tristate "Enable generic HD-audio codec parser"
Takashi Iwai11b444d2008-11-21 09:32:40 +0100235 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100236 Say Y or M here to enable the generic HD-audio codec parser
Takashi Iwai11b444d2008-11-21 09:32:40 +0100237 in snd-hda-intel driver.
238
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100239comment "Set to Y if you want auto-loading the codec driver"
Dylan Reid78e34f32014-02-28 15:41:32 -0800240 depends on SND_HDA=y && SND_HDA_GENERIC=m
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100241
Takashi Iwai11b444d2008-11-21 09:32:40 +0100242config SND_HDA_POWER_SAVE_DEFAULT
243 int "Default time-out for HD-audio power-save mode"
Takashi Iwai83012a72012-08-24 18:38:08 +0200244 depends on PM
Takashi Iwai11b444d2008-11-21 09:32:40 +0100245 default 0
246 help
247 The default time-out value in seconds for HD-audio automatic
248 power-save mode. 0 means to disable the power-save mode.
249
250endif
Dylan Reid78e34f32014-02-28 15:41:32 -0800251
252endmenu