xref: /openbmc/linux/sound/pci/hda/Kconfig (revision 92ed1a76)
1menuconfig SND_HDA_INTEL
2	tristate "Intel HD Audio"
3	select SND_PCM
4	select SND_VMASTER
5	help
6	  Say Y here to include support for Intel "High Definition
7	  Audio" (Azalia) and its compatible devices.
8
9	  This option enables the HD-audio controller.  Don't forget
10	  to choose the appropriate codec options below.
11
12	  To compile this driver as a module, choose M here: the module
13	  will be called snd-hda-intel.
14
15if SND_HDA_INTEL
16
17config SND_HDA_HWDEP
18	bool "Build hwdep interface for HD-audio driver"
19	select SND_HWDEP
20	help
21	  Say Y here to build a hwdep interface for HD-audio driver.
22	  This interface can be used for out-of-band communication
23	  with codecs for debugging purposes.
24
25config SND_HDA_RECONFIG
26	bool "Allow dynamic codec reconfiguration (EXPERIMENTAL)"
27	depends on SND_HDA_HWDEP && EXPERIMENTAL
28	help
29	  Say Y here to enable the HD-audio codec re-configuration feature.
30	  This adds the sysfs interfaces to allow user to clear the whole
31	  codec configuration, change the codec setup, add extra verbs,
32	  and re-configure the codec dynamically.
33
34config SND_HDA_INPUT_BEEP
35	bool "Support digital beep via input layer"
36	depends on INPUT=y || INPUT=SND_HDA_INTEL
37	help
38	  Say Y here to build a digital beep interface for HD-audio
39	  driver. This interface is used to generate digital beeps.
40
41config SND_HDA_INPUT_BEEP_MODE
42	int "Digital beep registration mode (0=off, 1=on, 2=mute sw on/off)"
43	depends on SND_HDA_INPUT_BEEP=y
44	default "1"
45	range 0 2
46	help
47	  Set 0 to disable the digital beep interface for HD-audio by default.
48	  Set 1 to always enable the digital beep interface for HD-audio by
49	  default. Set 2 to control the beep device registration to input
50	  layer using a "Beep Switch" in mixer applications.
51
52config SND_HDA_INPUT_JACK
53	bool "Support jack plugging notification via input layer"
54	depends on INPUT=y || INPUT=SND
55	select SND_JACK
56	help
57	  Say Y here to enable the jack plugging notification via
58	  input layer.
59
60config SND_HDA_PATCH_LOADER
61	bool "Support initialization patch loading for HD-audio"
62	depends on EXPERIMENTAL
63	select FW_LOADER
64	select SND_HDA_HWDEP
65	select SND_HDA_RECONFIG
66	help
67	  Say Y here to allow the HD-audio driver to load a pseudo
68	  firmware file ("patch") for overriding the BIOS setup at
69	  start up.  The "patch" file can be specified via patch module
70	  option, such as patch=hda-init.
71
72	  This option turns on hwdep and reconfig features automatically.
73
74config SND_HDA_CODEC_REALTEK
75	bool "Build Realtek HD-audio codec support"
76	default y
77	help
78	  Say Y here to include Realtek HD-audio codec support in
79	  snd-hda-intel driver, such as ALC880.
80
81	  When the HD-audio driver is built as a module, the codec
82	  support code is also built as another module,
83	  snd-hda-codec-realtek.
84	  This module is automatically loaded at probing.
85
86config SND_HDA_CODEC_ANALOG
87	bool "Build Analog Device HD-audio codec support"
88	default y
89	help
90	  Say Y here to include Analog Device HD-audio codec support in
91	  snd-hda-intel driver, such as AD1986A.
92
93	  When the HD-audio driver is built as a module, the codec
94	  support code is also built as another module,
95	  snd-hda-codec-analog.
96	  This module is automatically loaded at probing.
97
98config SND_HDA_CODEC_SIGMATEL
99	bool "Build IDT/Sigmatel HD-audio codec support"
100	default y
101	help
102	  Say Y here to include IDT (Sigmatel) HD-audio codec support in
103	  snd-hda-intel driver, such as STAC9200.
104
105	  When the HD-audio driver is built as a module, the codec
106	  support code is also built as another module,
107	  snd-hda-codec-idt.
108	  This module is automatically loaded at probing.
109
110config SND_HDA_CODEC_VIA
111	bool "Build VIA HD-audio codec support"
112	default y
113	help
114	  Say Y here to include VIA HD-audio codec support in
115	  snd-hda-intel driver, such as VT1708.
116
117	  When the HD-audio driver is built as a module, the codec
118	  support code is also built as another module,
119	  snd-hda-codec-via.
120	  This module is automatically loaded at probing.
121
122config SND_HDA_CODEC_HDMI
123	bool "Build HDMI/DisplayPort HD-audio codec support"
124	select SND_DYNAMIC_MINORS
125	default y
126	help
127	  Say Y here to include HDMI and DisplayPort HD-audio codec
128	  support in snd-hda-intel driver.  This includes all AMD/ATI,
129	  Intel and Nvidia HDMI/DisplayPort codecs.
130
131	  When the HD-audio driver is built as a module, the codec
132	  support code is also built as another module,
133	  snd-hda-codec-hdmi.
134	  This module is automatically loaded at probing.
135
136config SND_HDA_CODEC_CIRRUS
137	bool "Build Cirrus Logic codec support"
138	depends on SND_HDA_INTEL
139	default y
140	help
141	  Say Y here to include Cirrus Logic codec support in
142	  snd-hda-intel driver, such as CS4206.
143
144	  When the HD-audio driver is built as a module, the codec
145	  support code is also built as another module,
146	  snd-hda-codec-cirrus.
147	  This module is automatically loaded at probing.
148
149config SND_HDA_CODEC_CONEXANT
150	bool "Build Conexant HD-audio codec support"
151	default y
152	help
153	  Say Y here to include Conexant HD-audio codec support in
154	  snd-hda-intel driver, such as CX20549.
155
156	  When the HD-audio driver is built as a module, the codec
157	  support code is also built as another module,
158	  snd-hda-codec-conexant.
159	  This module is automatically loaded at probing.
160
161config SND_HDA_CODEC_CA0110
162	bool "Build Creative CA0110-IBG codec support"
163	depends on SND_HDA_INTEL
164	default y
165	help
166	  Say Y here to include Creative CA0110-IBG codec support in
167	  snd-hda-intel driver, found on some Creative X-Fi cards.
168
169	  When the HD-audio driver is built as a module, the codec
170	  support code is also built as another module,
171	  snd-hda-codec-ca0110.
172	  This module is automatically loaded at probing.
173
174config SND_HDA_CODEC_CMEDIA
175	bool "Build C-Media HD-audio codec support"
176	default y
177	help
178	  Say Y here to include C-Media HD-audio codec support in
179	  snd-hda-intel driver, such as CMI9880.
180
181	  When the HD-audio driver is built as a module, the codec
182	  support code is also built as another module,
183	  snd-hda-codec-cmedia.
184	  This module is automatically loaded at probing.
185
186config SND_HDA_CODEC_SI3054
187	bool "Build Silicon Labs 3054 HD-modem codec support"
188	default y
189	help
190	  Say Y here to include Silicon Labs 3054 HD-modem codec
191	  (and compatibles) support in snd-hda-intel driver.
192
193	  When the HD-audio driver is built as a module, the codec
194	  support code is also built as another module,
195	  snd-hda-codec-si3054.
196	  This module is automatically loaded at probing.
197
198config SND_HDA_GENERIC
199	bool "Enable generic HD-audio codec parser"
200	default y
201	help
202	  Say Y here to enable the generic HD-audio codec parser
203	  in snd-hda-intel driver.
204
205config SND_HDA_POWER_SAVE
206	bool "Aggressive power-saving on HD-audio"
207	help
208	  Say Y here to enable more aggressive power-saving mode on
209	  HD-audio driver.  The power-saving timeout can be configured
210	  via power_save option or over sysfs on-the-fly.
211
212config SND_HDA_POWER_SAVE_DEFAULT
213	int "Default time-out for HD-audio power-save mode"
214	depends on SND_HDA_POWER_SAVE
215	default 0
216	help
217	  The default time-out value in seconds for HD-audio automatic
218	  power-save mode.  0 means to disable the power-save mode.
219
220endif
221