blob: f2032dd7e35efff37fd2be9220cc6b75f3586e52 [file] [log] [blame]
Takashi Iwai11b444d2008-11-21 09:32:40 +01001menuconfig SND_HDA_INTEL
2 tristate "Intel HD Audio"
3 select SND_PCM
4 select SND_VMASTER
Takashi Iwai35be5442011-11-02 08:36:06 +01005 select SND_KCTL_JACK
Takashi Iwai11b444d2008-11-21 09:32:40 +01006 help
7 Say Y here to include support for Intel "High Definition
8 Audio" (Azalia) and its compatible devices.
9
10 This option enables the HD-audio controller. Don't forget
11 to choose the appropriate codec options below.
12
13 To compile this driver as a module, choose M here: the module
14 will be called snd-hda-intel.
15
16if SND_HDA_INTEL
17
Takashi Iwai24f3ced2013-02-04 18:25:51 +010018config SND_HDA_DSP_LOADER
19 bool
20
Takashi Iwaiacfa6342011-07-12 17:27:46 +020021config SND_HDA_PREALLOC_SIZE
22 int "Pre-allocated buffer size for HD-audio driver"
23 range 0 32768
24 default 64
25 help
Paul Menzelcf01b732011-07-12 19:53:56 +020026 Specifies the default pre-allocated buffer-size in kB for the
Takashi Iwaiacfa6342011-07-12 17:27:46 +020027 HD-audio driver. A larger buffer (e.g. 2048) is preferred
Paul Menzelcf01b732011-07-12 19:53:56 +020028 for systems using PulseAudio. The default 64 is chosen just
29 for compatibility reasons.
Takashi Iwaiacfa6342011-07-12 17:27:46 +020030
31 Note that the pre-allocation size can be changed dynamically
32 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
33
Takashi Iwai11b444d2008-11-21 09:32:40 +010034config SND_HDA_HWDEP
35 bool "Build hwdep interface for HD-audio driver"
36 select SND_HWDEP
37 help
38 Say Y here to build a hwdep interface for HD-audio driver.
39 This interface can be used for out-of-band communication
40 with codecs for debugging purposes.
41
42config SND_HDA_RECONFIG
Kees Cook0b1714a2012-10-23 13:04:22 -070043 bool "Allow dynamic codec reconfiguration"
Takashi Iwai11b444d2008-11-21 09:32:40 +010044 help
45 Say Y here to enable the HD-audio codec re-configuration feature.
46 This adds the sysfs interfaces to allow user to clear the whole
47 codec configuration, change the codec setup, add extra verbs,
48 and re-configure the codec dynamically.
49
50config SND_HDA_INPUT_BEEP
51 bool "Support digital beep via input layer"
52 depends on INPUT=y || INPUT=SND_HDA_INTEL
53 help
54 Say Y here to build a digital beep interface for HD-audio
55 driver. This interface is used to generate digital beeps.
56
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010057config SND_HDA_INPUT_BEEP_MODE
Takashi Iwai0920c9b2012-07-03 16:58:48 +020058 int "Digital beep registration mode (0=off, 1=on)"
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010059 depends on SND_HDA_INPUT_BEEP=y
60 default "1"
Takashi Iwai0920c9b2012-07-03 16:58:48 +020061 range 0 1
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010062 help
63 Set 0 to disable the digital beep interface for HD-audio by default.
64 Set 1 to always enable the digital beep interface for HD-audio by
Takashi Iwai0920c9b2012-07-03 16:58:48 +020065 default.
Jaroslav Kysela2dca0bb2009-11-13 18:41:52 +010066
Takashi Iwai8c8145b2009-06-22 17:00:38 +020067config SND_HDA_INPUT_JACK
68 bool "Support jack plugging notification via input layer"
Takashi Iwaifc087222009-11-21 19:57:11 +010069 depends on INPUT=y || INPUT=SND
Takashi Iwai8c8145b2009-06-22 17:00:38 +020070 select SND_JACK
71 help
72 Say Y here to enable the jack plugging notification via
73 input layer.
74
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020075config SND_HDA_PATCH_LOADER
76 bool "Support initialization patch loading for HD-audio"
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020077 select FW_LOADER
Takashi Iwai4ea6fbc2009-06-17 09:52:54 +020078 select SND_HDA_RECONFIG
79 help
80 Say Y here to allow the HD-audio driver to load a pseudo
81 firmware file ("patch") for overriding the BIOS setup at
82 start up. The "patch" file can be specified via patch module
83 option, such as patch=hda-init.
84
Takashi Iwai11b444d2008-11-21 09:32:40 +010085config SND_HDA_CODEC_REALTEK
Takashi Iwai595fe1b2013-12-18 07:35:11 +010086 tristate "Build Realtek HD-audio codec support"
Takashi Iwai08c189f2012-12-19 15:22:24 +010087 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +010088 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +010089 Say Y or M here to include Realtek HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +010090 snd-hda-intel driver, such as ALC880.
91
Takashi Iwaid8f66c72013-12-19 15:09:14 +010092comment "Set to Y if you want auto-loading the codec driver"
93 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_REALTEK=m
94
Takashi Iwai11b444d2008-11-21 09:32:40 +010095config SND_HDA_CODEC_ANALOG
Takashi Iwai595fe1b2013-12-18 07:35:11 +010096 tristate "Build Analog Device HD-audio codec support"
Takashi Iwai78bb3cb2012-12-21 15:17:06 +010097 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +010098 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +010099 Say Y or M here to include Analog Device HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100100 snd-hda-intel driver, such as AD1986A.
101
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100102comment "Set to Y if you want auto-loading the codec driver"
103 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_ANALOG=m
104
Takashi Iwai11b444d2008-11-21 09:32:40 +0100105config SND_HDA_CODEC_SIGMATEL
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100106 tristate "Build IDT/Sigmatel HD-audio codec support"
Takashi Iwai36c9db72013-01-17 17:07:59 +0100107 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100108 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100109 Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100110 snd-hda-intel driver, such as STAC9200.
111
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100112comment "Set to Y if you want auto-loading the codec driver"
113 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_SIGMATEL=m
114
Takashi Iwai11b444d2008-11-21 09:32:40 +0100115config SND_HDA_CODEC_VIA
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100116 tristate "Build VIA HD-audio codec support"
Takashi Iwaib3f60082013-01-07 12:27:36 +0100117 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100118 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100119 Say Y or M here to include VIA HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100120 snd-hda-intel driver, such as VT1708.
121
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100122comment "Set to Y if you want auto-loading the codec driver"
123 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_VIA=m
124
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200125config SND_HDA_CODEC_HDMI
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100126 tristate "Build HDMI/DisplayPort HD-audio codec support"
Takashi Iwai11b444d2008-11-21 09:32:40 +0100127 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100128 Say Y or M here to include HDMI and DisplayPort HD-audio codec
Takashi Iwai84eb01b2010-09-07 12:27:25 +0200129 support in snd-hda-intel driver. This includes all AMD/ATI,
130 Intel and Nvidia HDMI/DisplayPort codecs.
Takashi Iwai11b444d2008-11-21 09:32:40 +0100131
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100132comment "Set to Y if you want auto-loading the codec driver"
133 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_HDMI=m
134
Wang Xingchao99a20082013-05-30 22:07:10 +0800135config SND_HDA_I915
Takashi Iwai1c9a3412013-08-27 14:49:59 +0200136 bool
137 default y
Wang Xingchao99a20082013-05-30 22:07:10 +0800138 depends on DRM_I915
Wang Xingchao99a20082013-05-30 22:07:10 +0800139
Takashi Iwaie5f14242009-07-01 18:11:44 +0200140config SND_HDA_CODEC_CIRRUS
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100141 tristate "Build Cirrus Logic codec support"
Takashi Iwai1077a022012-12-19 16:39:18 +0100142 select SND_HDA_GENERIC
Takashi Iwaie5f14242009-07-01 18:11:44 +0200143 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100144 Say Y or M here to include Cirrus Logic codec support in
Takashi Iwaie5f14242009-07-01 18:11:44 +0200145 snd-hda-intel driver, such as CS4206.
146
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100147comment "Set to Y if you want auto-loading the codec driver"
148 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CIRRUS=m
149
Takashi Iwai11b444d2008-11-21 09:32:40 +0100150config SND_HDA_CODEC_CONEXANT
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100151 tristate "Build Conexant HD-audio codec support"
Takashi Iwaiaed523f2012-12-20 16:34:12 +0100152 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100153 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100154 Say Y or M here to include Conexant HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100155 snd-hda-intel driver, such as CX20549.
156
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100157comment "Set to Y if you want auto-loading the codec driver"
158 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CONEXANT=m
159
Takashi Iwai4e01f542009-04-16 08:53:34 +0200160config SND_HDA_CODEC_CA0110
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100161 tristate "Build Creative CA0110-IBG codec support"
Takashi Iwai8fadf1d2012-12-19 18:04:37 +0100162 select SND_HDA_GENERIC
Takashi Iwai4e01f542009-04-16 08:53:34 +0200163 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100164 Say Y or M here to include Creative CA0110-IBG codec support in
Takashi Iwai4e01f542009-04-16 08:53:34 +0200165 snd-hda-intel driver, found on some Creative X-Fi cards.
166
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100167comment "Set to Y if you want auto-loading the codec driver"
168 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CA0110=m
169
Ian Minett95c6e9c2011-06-15 15:35:17 -0700170config SND_HDA_CODEC_CA0132
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100171 tristate "Build Creative CA0132 codec support"
Ian Minett95c6e9c2011-06-15 15:35:17 -0700172 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100173 Say Y or M here to include Creative CA0132 codec support in
Ian Minett95c6e9c2011-06-15 15:35:17 -0700174 snd-hda-intel driver.
175
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100176comment "Set to Y if you want auto-loading the codec driver"
177 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CA0132=m
178
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100179config SND_HDA_CODEC_CA0132_DSP
180 bool "Support new DSP code for CA0132 codec"
Takashi Iwai2c312e92013-11-18 17:12:34 +0100181 depends on SND_HDA_CODEC_CA0132
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100182 select SND_HDA_DSP_LOADER
Takashi Iwai2c312e92013-11-18 17:12:34 +0100183 select FW_LOADER
Takashi Iwai24f3ced2013-02-04 18:25:51 +0100184 help
185 Say Y here to enable the DSP for Creative CA0132 for extended
186 features like equalizer or echo cancellation.
187
188 Note that this option requires the external firmware file
189 (ctefx.bin).
190
Takashi Iwai11b444d2008-11-21 09:32:40 +0100191config SND_HDA_CODEC_CMEDIA
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100192 tristate "Build C-Media HD-audio codec support"
Takashi Iwaib060fb02012-12-19 17:35:47 +0100193 select SND_HDA_GENERIC
Takashi Iwai11b444d2008-11-21 09:32:40 +0100194 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100195 Say Y or M here to include C-Media HD-audio codec support in
Takashi Iwai11b444d2008-11-21 09:32:40 +0100196 snd-hda-intel driver, such as CMI9880.
197
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100198comment "Set to Y if you want auto-loading the codec driver"
199 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_CMEDIA=m
200
Takashi Iwai11b444d2008-11-21 09:32:40 +0100201config SND_HDA_CODEC_SI3054
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100202 tristate "Build Silicon Labs 3054 HD-modem codec support"
Takashi Iwai11b444d2008-11-21 09:32:40 +0100203 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100204 Say Y or M here to include Silicon Labs 3054 HD-modem codec
Takashi Iwai11b444d2008-11-21 09:32:40 +0100205 (and compatibles) support in snd-hda-intel driver.
206
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100207comment "Set to Y if you want auto-loading the codec driver"
208 depends on SND_HDA_INTEL=y && SND_HDA_CODEC_SI3054=m
209
Takashi Iwai11b444d2008-11-21 09:32:40 +0100210config SND_HDA_GENERIC
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100211 tristate "Enable generic HD-audio codec parser"
Takashi Iwai11b444d2008-11-21 09:32:40 +0100212 help
Takashi Iwai595fe1b2013-12-18 07:35:11 +0100213 Say Y or M here to enable the generic HD-audio codec parser
Takashi Iwai11b444d2008-11-21 09:32:40 +0100214 in snd-hda-intel driver.
215
Takashi Iwaid8f66c72013-12-19 15:09:14 +0100216comment "Set to Y if you want auto-loading the codec driver"
217 depends on SND_HDA_INTEL=y && SND_HDA_GENERIC=m
218
Takashi Iwai11b444d2008-11-21 09:32:40 +0100219config SND_HDA_POWER_SAVE_DEFAULT
220 int "Default time-out for HD-audio power-save mode"
Takashi Iwai83012a72012-08-24 18:38:08 +0200221 depends on PM
Takashi Iwai11b444d2008-11-21 09:32:40 +0100222 default 0
223 help
224 The default time-out value in seconds for HD-audio automatic
225 power-save mode. 0 means to disable the power-save mode.
226
227endif