Blame view

sound/pci/hda/Kconfig 8.26 KB
11b444d56   Takashi Iwai   ALSA: hda - Move ...
1
2
3
4
  menuconfig SND_HDA_INTEL
  	tristate "Intel HD Audio"
  	select SND_PCM
  	select SND_VMASTER
35be544af   Takashi Iwai   ALSA: Introduce c...
5
  	select SND_KCTL_JACK
11b444d56   Takashi Iwai   ALSA: hda - Move ...
6
7
8
9
10
11
12
13
14
15
16
  	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.
  
  if SND_HDA_INTEL
acfa634f7   Takashi Iwai   ALSA: hda - Add K...
17
18
19
20
21
  config SND_HDA_PREALLOC_SIZE
  	int "Pre-allocated buffer size for HD-audio driver"
  	range 0 32768
  	default 64
  	help
cf01b73e2   Paul Menzel   ALSA: hda - fix u...
22
  	  Specifies the default pre-allocated buffer-size in kB for the
acfa634f7   Takashi Iwai   ALSA: hda - Add K...
23
  	  HD-audio driver.  A larger buffer (e.g. 2048) is preferred
cf01b73e2   Paul Menzel   ALSA: hda - fix u...
24
25
  	  for systems using PulseAudio.  The default 64 is chosen just
  	  for compatibility reasons.
acfa634f7   Takashi Iwai   ALSA: hda - Add K...
26
27
28
  
  	  Note that the pre-allocation size can be changed dynamically
  	  via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
  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
  	bool "Allow dynamic codec reconfiguration (EXPERIMENTAL)"
  	depends on SND_HDA_HWDEP && EXPERIMENTAL
  	help
  	  Say Y here to enable the HD-audio codec re-configuration feature.
  	  This adds the sysfs interfaces to allow user to clear the whole
  	  codec configuration, change the codec setup, add extra verbs,
  	  and re-configure the codec dynamically.
  
  config SND_HDA_INPUT_BEEP
  	bool "Support digital beep via input layer"
  	depends on INPUT=y || INPUT=SND_HDA_INTEL
  	help
  	  Say Y here to build a digital beep interface for HD-audio
  	  driver. This interface is used to generate digital beeps.
2dca0bba7   Jaroslav Kysela   ALSA: hda - add b...
52
53
54
55
56
57
58
59
60
61
  config SND_HDA_INPUT_BEEP_MODE
  	int "Digital beep registration mode (0=off, 1=on, 2=mute sw on/off)"
  	depends on SND_HDA_INPUT_BEEP=y
  	default "1"
  	range 0 2
  	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
  	  default. Set 2 to control the beep device registration to input
  	  layer using a "Beep Switch" in mixer applications.
8c8145b87   Takashi Iwai   ALSA: hda - Make ...
62
63
  config SND_HDA_INPUT_JACK
  	bool "Support jack plugging notification via input layer"
fc0872251   Takashi Iwai   ALSA: hda - Fix i...
64
  	depends on INPUT=y || INPUT=SND
8c8145b87   Takashi Iwai   ALSA: hda - Make ...
65
66
67
68
  	select SND_JACK
  	help
  	  Say Y here to enable the jack plugging notification via
  	  input layer.
4ea6fbc8e   Takashi Iwai   ALSA: hda - Add p...
69
70
71
72
73
74
75
76
77
78
79
80
81
  config SND_HDA_PATCH_LOADER
  	bool "Support initialization patch loading for HD-audio"
  	depends on EXPERIMENTAL
  	select FW_LOADER
  	select SND_HDA_HWDEP
  	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.
  
  	  This option turns on hwdep and reconfig features automatically.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
82
83
84
85
86
87
  config SND_HDA_CODEC_REALTEK
  	bool "Build Realtek HD-audio codec support"
  	default y
  	help
  	  Say Y here to include Realtek HD-audio codec support in
  	  snd-hda-intel driver, such as ALC880.
1289e9e8b   Takashi Iwai   ALSA: hda - Modul...
88
89
90
91
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-realtek.
  	  This module is automatically loaded at probing.
1d045db96   Takashi Iwai   ALSA: hda - Split...
92
93
94
95
96
97
98
99
100
101
102
103
  config SND_HDA_ENABLE_REALTEK_QUIRKS
  	bool "Build static quirks for Realtek codecs"
  	depends on SND_HDA_CODEC_REALTEK
  	default y
  	help
  	  Say Y here to build the static quirks codes for Realtek codecs.
  	  If you need the "model" preset that the default BIOS auto-parser
  	  can't handle, turn this option on.
  
  	  If your device works with model=auto option, basically you don't
  	  need the quirk code.  By turning this off, you can reduce the
  	  module size quite a lot.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
104
105
106
107
108
109
  config SND_HDA_CODEC_ANALOG
  	bool "Build Analog Device HD-audio codec support"
  	default y
  	help
  	  Say Y here to include Analog Device HD-audio codec support in
  	  snd-hda-intel driver, such as AD1986A.
1289e9e8b   Takashi Iwai   ALSA: hda - Modul...
110
111
112
113
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-analog.
  	  This module is automatically loaded at probing.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
114
115
116
117
118
119
  config SND_HDA_CODEC_SIGMATEL
  	bool "Build IDT/Sigmatel HD-audio codec support"
  	default y
  	help
  	  Say Y here to include IDT (Sigmatel) HD-audio codec support in
  	  snd-hda-intel driver, such as STAC9200.
1289e9e8b   Takashi Iwai   ALSA: hda - Modul...
120
121
122
123
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-idt.
  	  This module is automatically loaded at probing.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
124
125
126
127
128
129
  config SND_HDA_CODEC_VIA
  	bool "Build VIA HD-audio codec support"
  	default y
  	help
  	  Say Y here to include VIA HD-audio codec support in
  	  snd-hda-intel driver, such as VT1708.
1289e9e8b   Takashi Iwai   ALSA: hda - Modul...
130
131
132
133
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-via.
  	  This module is automatically loaded at probing.
84eb01be1   Takashi Iwai   ALSA: hda - Merge...
134
135
  config SND_HDA_CODEC_HDMI
  	bool "Build HDMI/DisplayPort HD-audio codec support"
e9abf85fe   Wu Fengguang   ALSA: intelhdmi -...
136
  	select SND_DYNAMIC_MINORS
11b444d56   Takashi Iwai   ALSA: hda - Move ...
137
138
  	default y
  	help
84eb01be1   Takashi Iwai   ALSA: hda - Merge...
139
140
141
  	  Say Y here to include HDMI and DisplayPort HD-audio codec
  	  support in snd-hda-intel driver.  This includes all AMD/ATI,
  	  Intel and Nvidia HDMI/DisplayPort codecs.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
142

1289e9e8b   Takashi Iwai   ALSA: hda - Modul...
143
144
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
84eb01be1   Takashi Iwai   ALSA: hda - Merge...
145
  	  snd-hda-codec-hdmi.
1289e9e8b   Takashi Iwai   ALSA: hda - Modul...
146
  	  This module is automatically loaded at probing.
e5f142480   Takashi Iwai   ALSA: hda - Add C...
147
148
149
150
151
152
153
154
155
156
157
158
  config SND_HDA_CODEC_CIRRUS
  	bool "Build Cirrus Logic codec support"
  	depends on SND_HDA_INTEL
  	default y
  	help
  	  Say Y here to include Cirrus Logic codec support in
  	  snd-hda-intel driver, such as CS4206.
  
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-cirrus.
  	  This module is automatically loaded at probing.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
159
160
161
162
163
164
  config SND_HDA_CODEC_CONEXANT
  	bool "Build Conexant HD-audio codec support"
  	default y
  	help
  	  Say Y here to include Conexant HD-audio codec support in
  	  snd-hda-intel driver, such as CX20549.
1289e9e8b   Takashi Iwai   ALSA: hda - Modul...
165
166
167
168
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-conexant.
  	  This module is automatically loaded at probing.
4e01f54bf   Takashi Iwai   ALSA: hda - Add C...
169
170
171
172
173
174
175
176
177
178
179
180
  config SND_HDA_CODEC_CA0110
  	bool "Build Creative CA0110-IBG codec support"
  	depends on SND_HDA_INTEL
  	default y
  	help
  	  Say Y here to include Creative CA0110-IBG codec support in
  	  snd-hda-intel driver, found on some Creative X-Fi cards.
  
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-ca0110.
  	  This module is automatically loaded at probing.
95c6e9cb7   Ian Minett   ALSA: hda - Add C...
181
182
183
184
185
186
187
188
189
190
191
192
  config SND_HDA_CODEC_CA0132
  	bool "Build Creative CA0132 codec support"
  	depends on SND_HDA_INTEL
  	default y
  	help
  	  Say Y here to include Creative CA0132 codec support in
  	  snd-hda-intel driver.
  
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-ca0132.
  	  This module is automatically loaded at probing.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
193
194
195
196
197
198
  config SND_HDA_CODEC_CMEDIA
  	bool "Build C-Media HD-audio codec support"
  	default y
  	help
  	  Say Y here to include C-Media HD-audio codec support in
  	  snd-hda-intel driver, such as CMI9880.
1289e9e8b   Takashi Iwai   ALSA: hda - Modul...
199
200
201
202
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-cmedia.
  	  This module is automatically loaded at probing.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
203
204
205
206
207
208
  config SND_HDA_CODEC_SI3054
  	bool "Build Silicon Labs 3054 HD-modem codec support"
  	default y
  	help
  	  Say Y here to include Silicon Labs 3054 HD-modem codec
  	  (and compatibles) support in snd-hda-intel driver.
1289e9e8b   Takashi Iwai   ALSA: hda - Modul...
209
210
211
212
  	  When the HD-audio driver is built as a module, the codec
  	  support code is also built as another module,
  	  snd-hda-codec-si3054.
  	  This module is automatically loaded at probing.
11b444d56   Takashi Iwai   ALSA: hda - Move ...
213
214
215
216
217
218
219
220
221
  config SND_HDA_GENERIC
  	bool "Enable generic HD-audio codec parser"
  	default y
  	help
  	  Say Y here to enable the generic HD-audio codec parser
  	  in snd-hda-intel driver.
  
  config SND_HDA_POWER_SAVE
  	bool "Aggressive power-saving on HD-audio"
2a43952a9   Takashi Iwai   ALSA: hda - Make ...
222
  	depends on PM
11b444d56   Takashi Iwai   ALSA: hda - Move ...
223
224
225
226
227
228
229
230
231
232
233
234
235
236
  	help
  	  Say Y here to enable more aggressive power-saving mode on
  	  HD-audio driver.  The power-saving timeout can be configured
  	  via power_save option or over sysfs on-the-fly.
  
  config SND_HDA_POWER_SAVE_DEFAULT
  	int "Default time-out for HD-audio power-save mode"
  	depends on SND_HDA_POWER_SAVE
  	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.
  
  endif