xref: /openbmc/linux/sound/pci/hda/Kconfig (revision a8fe58ce)
1menu "HD-Audio"
2
3config SND_HDA
4	tristate
5	select SND_PCM
6	select SND_VMASTER
7	select SND_JACK if INPUT=y || INPUT=SND
8	select SND_HDA_CORE
9
10config SND_HDA_INTEL
11	tristate "HD Audio PCI"
12	depends on SND_PCI
13	select SND_HDA
14	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
24config 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
39if SND_HDA
40
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
50	bool "Allow dynamic codec reconfiguration"
51	help
52	  Say Y here to enable the HD-audio codec re-configuration feature.
53	  This adds the sysfs interfaces to allow user to clear the whole
54	  codec configuration, change the codec setup, add extra verbs,
55	  and re-configure the codec dynamically.
56
57config SND_HDA_INPUT_BEEP
58	bool "Support digital beep via input layer"
59	depends on INPUT=y || INPUT=SND_HDA
60	help
61	  Say Y here to build a digital beep interface for HD-audio
62	  driver. This interface is used to generate digital beeps.
63
64config SND_HDA_INPUT_BEEP_MODE
65	int "Digital beep registration mode (0=off, 1=on)"
66	depends on SND_HDA_INPUT_BEEP=y
67	default "1"
68	range 0 1
69	help
70	  Set 0 to disable the digital beep interface for HD-audio by default.
71	  Set 1 to always enable the digital beep interface for HD-audio by
72	  default.
73
74config SND_HDA_PATCH_LOADER
75	bool "Support initialization patch loading for HD-audio"
76	select FW_LOADER
77	select SND_HDA_RECONFIG
78	help
79	  Say Y here to allow the HD-audio driver to load a pseudo
80	  firmware file ("patch") for overriding the BIOS setup at
81	  start up.  The "patch" file can be specified via patch module
82	  option, such as patch=hda-init.
83
84config SND_HDA_CODEC_REALTEK
85	tristate "Build Realtek HD-audio codec support"
86	select SND_HDA_GENERIC
87	select INPUT
88	help
89	  Say Y or M here to include Realtek HD-audio codec support in
90	  snd-hda-intel driver, such as ALC880.
91
92comment "Set to Y if you want auto-loading the codec driver"
93	depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m
94
95config SND_HDA_CODEC_ANALOG
96	tristate "Build Analog Device HD-audio codec support"
97	select SND_HDA_GENERIC
98	help
99	  Say Y or M here to include Analog Device HD-audio codec support in
100	  snd-hda-intel driver, such as AD1986A.
101
102comment "Set to Y if you want auto-loading the codec driver"
103	depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m
104
105config SND_HDA_CODEC_SIGMATEL
106	tristate "Build IDT/Sigmatel HD-audio codec support"
107	select SND_HDA_GENERIC
108	help
109	  Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
110	  snd-hda-intel driver, such as STAC9200.
111
112comment "Set to Y if you want auto-loading the codec driver"
113	depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m
114
115config SND_HDA_CODEC_VIA
116	tristate "Build VIA HD-audio codec support"
117	select SND_HDA_GENERIC
118	help
119	  Say Y or M here to include VIA HD-audio codec support in
120	  snd-hda-intel driver, such as VT1708.
121
122comment "Set to Y if you want auto-loading the codec driver"
123	depends on SND_HDA=y && SND_HDA_CODEC_VIA=m
124
125config SND_HDA_CODEC_HDMI
126	tristate "Build HDMI/DisplayPort HD-audio codec support"
127	help
128	  Say Y or M here to include HDMI and DisplayPort HD-audio codec
129	  support in snd-hda-intel driver.  This includes all AMD/ATI,
130	  Intel and Nvidia HDMI/DisplayPort codecs.
131
132comment "Set to Y if you want auto-loading the codec driver"
133	depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m
134
135config SND_HDA_CODEC_CIRRUS
136	tristate "Build Cirrus Logic codec support"
137	select SND_HDA_GENERIC
138	help
139	  Say Y or M here to include Cirrus Logic codec support in
140	  snd-hda-intel driver, such as CS4206.
141
142comment "Set to Y if you want auto-loading the codec driver"
143	depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m
144
145config SND_HDA_CODEC_CONEXANT
146	tristate "Build Conexant HD-audio codec support"
147	select SND_HDA_GENERIC
148	help
149	  Say Y or M here to include Conexant HD-audio codec support in
150	  snd-hda-intel driver, such as CX20549.
151
152comment "Set to Y if you want auto-loading the codec driver"
153	depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m
154
155config SND_HDA_CODEC_CA0110
156	tristate "Build Creative CA0110-IBG codec support"
157	select SND_HDA_GENERIC
158	help
159	  Say Y or M here to include Creative CA0110-IBG codec support in
160	  snd-hda-intel driver, found on some Creative X-Fi cards.
161
162comment "Set to Y if you want auto-loading the codec driver"
163	depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m
164
165config SND_HDA_CODEC_CA0132
166	tristate "Build Creative CA0132 codec support"
167	help
168	  Say Y or M here to include Creative CA0132 codec support in
169	  snd-hda-intel driver.
170
171comment "Set to Y if you want auto-loading the codec driver"
172	depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m
173
174config SND_HDA_CODEC_CA0132_DSP
175	bool "Support new DSP code for CA0132 codec"
176	depends on SND_HDA_CODEC_CA0132
177	select SND_HDA_DSP_LOADER
178	select FW_LOADER
179	help
180	  Say Y here to enable the DSP for Creative CA0132 for extended
181	  features like equalizer or echo cancellation.
182
183	  Note that this option requires the external firmware file
184	  (ctefx.bin).
185
186config SND_HDA_CODEC_CMEDIA
187	tristate "Build C-Media HD-audio codec support"
188	select SND_HDA_GENERIC
189	help
190	  Say Y or M here to include C-Media HD-audio codec support in
191	  snd-hda-intel driver, such as CMI9880.
192
193comment "Set to Y if you want auto-loading the codec driver"
194	depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m
195
196config SND_HDA_CODEC_SI3054
197	tristate "Build Silicon Labs 3054 HD-modem codec support"
198	help
199	  Say Y or M here to include Silicon Labs 3054 HD-modem codec
200	  (and compatibles) support in snd-hda-intel driver.
201
202comment "Set to Y if you want auto-loading the codec driver"
203	depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m
204
205config SND_HDA_GENERIC
206	tristate "Enable generic HD-audio codec parser"
207	help
208	  Say Y or M here to enable the generic HD-audio codec parser
209	  in snd-hda-intel driver.
210
211comment "Set to Y if you want auto-loading the codec driver"
212	depends on SND_HDA=y && SND_HDA_GENERIC=m
213
214config SND_HDA_POWER_SAVE_DEFAULT
215	int "Default time-out for HD-audio power-save mode"
216	depends on PM
217	default 0
218	help
219	  The default time-out value in seconds for HD-audio automatic
220	  power-save mode.  0 means to disable the power-save mode.
221
222endif
223
224endmenu
225