brintos

brintos / linux-shallow public Read only

0
0
Text · 12.4 KiB · 68f1eee Raw
410 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menu "HD-Audio"3 4config SND_HDA5	tristate6	select SND_PCM7	select SND_VMASTER8	select SND_JACK9	select SND_HDA_CORE10 11config SND_HDA_GENERIC_LEDS12       bool13 14config SND_HDA_INTEL15	tristate "HD Audio PCI"16	depends on SND_PCI17	select SND_HDA18	select SND_INTEL_DSP_CONFIG19	help20	  Say Y here to include support for Intel "High Definition21	  Audio" (Azalia) and its compatible devices.22 23	  This option enables the HD-audio controller.  Don't forget24	  to choose the appropriate codec options below.25 26	  To compile this driver as a module, choose M here: the module27	  will be called snd-hda-intel.28 29config SND_HDA_TEGRA30	tristate "NVIDIA Tegra HD Audio"31	depends on ARCH_TEGRA32	select SND_HDA33	select SND_HDA_ALIGNED_MMIO34	help35	  Say Y here to support the HDA controller present in NVIDIA36	  Tegra SoCs37 38	  This options enables support for the HD Audio controller39	  present in some NVIDIA Tegra SoCs, used to communicate audio40	  to the HDMI output.41 42	  To compile this driver as a module, choose M here: the module43	  will be called snd-hda-tegra.44 45if SND_HDA46 47config SND_HDA_HWDEP48	bool "Build hwdep interface for HD-audio driver"49	select SND_HWDEP50	help51	  Say Y here to build a hwdep interface for HD-audio driver.52	  This interface can be used for out-of-band communication53	  with codecs for debugging purposes.54 55config SND_HDA_RECONFIG56	bool "Allow dynamic codec reconfiguration"57	help58	  Say Y here to enable the HD-audio codec re-configuration feature.59	  It allows user to clear the whole codec configuration, change the60	  codec setup, add extra verbs, and re-configure the codec dynamically.61 62	  Note that this item alone doesn't provide the sysfs interface, but63	  enables the feature just for the patch loader below.64	  If you need the traditional sysfs entries for the manual interaction,65	  turn on CONFIG_SND_HDA_HWDEP as well.66 67config SND_HDA_INPUT_BEEP68	bool "Support digital beep via input layer"69	depends on INPUT=y || INPUT=SND_HDA70	help71	  Say Y here to build a digital beep interface for HD-audio72	  driver. This interface is used to generate digital beeps.73 74config SND_HDA_INPUT_BEEP_MODE75	int "Digital beep registration mode (0=off, 1=on)"76	depends on SND_HDA_INPUT_BEEP=y77	default "1"78	range 0 179	help80	  Set 0 to disable the digital beep interface for HD-audio by default.81	  Set 1 to always enable the digital beep interface for HD-audio by82	  default.83 84config SND_HDA_PATCH_LOADER85	bool "Support initialization patch loading for HD-audio"86	select FW_LOADER87	select SND_HDA_RECONFIG88	help89	  Say Y here to allow the HD-audio driver to load a pseudo90	  firmware file ("patch") for overriding the BIOS setup at91	  start up.  The "patch" file can be specified via patch module92	  option, such as patch=hda-init.93 94config SND_HDA_CIRRUS_SCODEC95	tristate96 97config SND_HDA_CIRRUS_SCODEC_KUNIT_TEST98	tristate "KUnit test for Cirrus side-codec library" if !KUNIT_ALL_TESTS99	select SND_HDA_CIRRUS_SCODEC100	select GPIOLIB101	depends on KUNIT102	default KUNIT_ALL_TESTS103	help104	  This builds KUnit tests for the cirrus side-codec library.105	  For more information on KUnit and unit tests in general,106	  please refer to the KUnit documentation in107	  Documentation/dev-tools/kunit/.108	  If in doubt, say "N".109 110config SND_HDA_SCODEC_CS35L41111	tristate112	select SND_HDA_GENERIC113	select REGMAP_IRQ114 115config SND_HDA_CS_DSP_CONTROLS116	tristate117	select FW_CS_DSP118 119config SND_HDA_SCODEC_COMPONENT120	tristate121 122config SND_HDA_SCODEC_CS35L41_I2C123	tristate "Build CS35L41 HD-audio side codec support for I2C Bus"124	depends on I2C125	depends on ACPI126	depends on EFI127	depends on SND_SOC128	select SND_SOC_CS35L41_LIB129	select SND_HDA_SCODEC_CS35L41130	select SND_HDA_CS_DSP_CONTROLS131	select SND_SOC_CS_AMP_LIB132	help133	  Say Y or M here to include CS35L41 I2C HD-audio side codec support134	  in snd-hda-intel driver, such as ALC287.135 136comment "Set to Y if you want auto-loading the side codec driver"137	depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_I2C=m138 139config SND_HDA_SCODEC_CS35L41_SPI140	tristate "Build CS35L41 HD-audio codec support for SPI Bus"141	depends on SPI_MASTER142	depends on ACPI143	depends on EFI144	depends on SND_SOC145	select SND_SOC_CS35L41_LIB146	select SND_HDA_SCODEC_CS35L41147	select SND_HDA_CS_DSP_CONTROLS148	select SND_SOC_CS_AMP_LIB149	help150	  Say Y or M here to include CS35L41 SPI HD-audio side codec support151	  in snd-hda-intel driver, such as ALC287.152 153comment "Set to Y if you want auto-loading the side codec driver"154	depends on SND_HDA=y && SND_HDA_SCODEC_CS35L41_SPI=m155 156config SND_HDA_SCODEC_CS35L56157	tristate158 159config SND_HDA_SCODEC_CS35L56_I2C160	tristate "Build CS35L56 HD-audio side codec support for I2C Bus"161	depends on I2C162	depends on ACPI || COMPILE_TEST163	depends on SND_SOC164	select FW_CS_DSP165	imply SERIAL_MULTI_INSTANTIATE166	select SND_HDA_GENERIC167	select SND_SOC_CS35L56_SHARED168	select SND_HDA_SCODEC_CS35L56169	select SND_HDA_CIRRUS_SCODEC170	select SND_HDA_CS_DSP_CONTROLS171	select SND_SOC_CS_AMP_LIB172	help173	  Say Y or M here to include CS35L56 amplifier support with174	  I2C control.175 176config SND_HDA_SCODEC_CS35L56_SPI177	tristate "Build CS35L56 HD-audio side codec support for SPI Bus"178	depends on SPI_MASTER179	depends on ACPI || COMPILE_TEST180	depends on SND_SOC181	select FW_CS_DSP182	imply SERIAL_MULTI_INSTANTIATE183	select SND_HDA_GENERIC184	select SND_SOC_CS35L56_SHARED185	select SND_HDA_SCODEC_CS35L56186	select SND_HDA_CIRRUS_SCODEC187	select SND_HDA_CS_DSP_CONTROLS188	select SND_SOC_CS_AMP_LIB189	help190	  Say Y or M here to include CS35L56 amplifier support with191	  SPI control.192 193config SND_HDA_SCODEC_TAS2781_I2C194	tristate "Build TAS2781 HD-audio side codec support for I2C Bus"195	depends on I2C196	depends on ACPI197	depends on EFI198	depends on SND_SOC199	select SND_SOC_TAS2781_COMLIB200	select SND_SOC_TAS2781_FMWLIB201	select CRC32202	help203	  Say Y or M here to include TAS2781 I2C HD-audio side codec support204	  in snd-hda-intel driver, such as ALC287.205 206comment "Set to Y if you want auto-loading the side codec driver"207	depends on SND_HDA=y && SND_HDA_SCODEC_TAS2781_I2C=m208 209config SND_HDA_CODEC_REALTEK210	tristate "Build Realtek HD-audio codec support"211	select SND_HDA_GENERIC212	select SND_HDA_GENERIC_LEDS213	select SND_HDA_SCODEC_COMPONENT214	help215	  Say Y or M here to include Realtek HD-audio codec support in216	  snd-hda-intel driver, such as ALC880.217 218comment "Set to Y if you want auto-loading the codec driver"219	depends on SND_HDA=y && SND_HDA_CODEC_REALTEK=m220 221config SND_HDA_CODEC_ANALOG222	tristate "Build Analog Devices HD-audio codec support"223	select SND_HDA_GENERIC224	help225	  Say Y or M here to include Analog Devices HD-audio codec support in226	  snd-hda-intel driver, such as AD1986A.227 228comment "Set to Y if you want auto-loading the codec driver"229	depends on SND_HDA=y && SND_HDA_CODEC_ANALOG=m230 231config SND_HDA_CODEC_SIGMATEL232	tristate "Build IDT/Sigmatel HD-audio codec support"233	select SND_HDA_GENERIC234	select SND_HDA_GENERIC_LEDS235	help236	  Say Y or M here to include IDT (Sigmatel) HD-audio codec support in237	  snd-hda-intel driver, such as STAC9200.238 239comment "Set to Y if you want auto-loading the codec driver"240	depends on SND_HDA=y && SND_HDA_CODEC_SIGMATEL=m241 242config SND_HDA_CODEC_VIA243	tristate "Build VIA HD-audio codec support"244	select SND_HDA_GENERIC245	help246	  Say Y or M here to include VIA HD-audio codec support in247	  snd-hda-intel driver, such as VT1708.248 249comment "Set to Y if you want auto-loading the codec driver"250	depends on SND_HDA=y && SND_HDA_CODEC_VIA=m251 252config SND_HDA_CODEC_HDMI253	tristate "Build HDMI/DisplayPort HD-audio codec support"254	select SND_DYNAMIC_MINORS255	help256	  Say Y or M here to include HDMI and DisplayPort HD-audio codec257	  support in snd-hda-intel driver.  This includes all AMD/ATI,258	  Intel and Nvidia HDMI/DisplayPort codecs.259 260	  Note that this option mandatorily enables CONFIG_SND_DYNAMIC_MINORS261	  to assure the multiple streams for DP-MST support.262 263comment "Set to Y if you want auto-loading the codec driver"264	depends on SND_HDA=y && SND_HDA_CODEC_HDMI=m265 266config SND_HDA_CODEC_CIRRUS267	tristate "Build Cirrus Logic codec support"268	select SND_HDA_GENERIC269	help270	  Say Y or M here to include Cirrus Logic codec support in271	  snd-hda-intel driver, such as CS4206.272 273comment "Set to Y if you want auto-loading the codec driver"274	depends on SND_HDA=y && SND_HDA_CODEC_CIRRUS=m275 276config SND_HDA_CODEC_CS8409277	tristate "Build Cirrus Logic HDA bridge support"278	select SND_HDA_GENERIC279	help280	  Say Y or M here to include Cirrus Logic HDA bridge support in281	  snd-hda-intel driver, such as CS8409.282 283comment "Set to Y if you want auto-loading the codec driver"284	depends on SND_HDA=y && SND_HDA_CODEC_CS8409=m285 286config SND_HDA_CODEC_CONEXANT287	tristate "Build Conexant HD-audio codec support"288	select SND_HDA_GENERIC289	select SND_HDA_GENERIC_LEDS290	help291	  Say Y or M here to include Conexant HD-audio codec support in292	  snd-hda-intel driver, such as CX20549.293 294comment "Set to Y if you want auto-loading the codec driver"295	depends on SND_HDA=y && SND_HDA_CODEC_CONEXANT=m296 297config SND_HDA_CODEC_SENARYTECH298	tristate "Build Senarytech HD-audio codec support"299	select SND_HDA_GENERIC300	select SND_HDA_GENERIC_LEDS301	help302	  Say Y or M here to include Senarytech HD-audio codec support in303	  snd-hda-intel driver, such as SN6186.304 305comment "Set to Y if you want auto-loading the codec driver"306	depends on SND_HDA=y && SND_HDA_CODEC_SENARYTECH=m307 308config SND_HDA_CODEC_CA0110309	tristate "Build Creative CA0110-IBG codec support"310	select SND_HDA_GENERIC311	help312	  Say Y or M here to include Creative CA0110-IBG codec support in313	  snd-hda-intel driver, found on some Creative X-Fi cards.314 315comment "Set to Y if you want auto-loading the codec driver"316	depends on SND_HDA=y && SND_HDA_CODEC_CA0110=m317 318config SND_HDA_CODEC_CA0132319	tristate "Build Creative CA0132 codec support"320	help321	  Say Y or M here to include Creative CA0132 codec support in322	  snd-hda-intel driver.323 324comment "Set to Y if you want auto-loading the codec driver"325	depends on SND_HDA=y && SND_HDA_CODEC_CA0132=m326 327config SND_HDA_CODEC_CA0132_DSP328	bool "Support new DSP code for CA0132 codec"329	depends on SND_HDA_CODEC_CA0132330	default y331	select SND_HDA_DSP_LOADER332	select FW_LOADER333	help334	  Say Y here to enable the DSP for Creative CA0132 for extended335	  features like equalizer or echo cancellation.336 337	  Note that this option requires the external firmware file338	  (ctefx.bin).339 340config SND_HDA_CODEC_CMEDIA341	tristate "Build C-Media HD-audio codec support"342	select SND_HDA_GENERIC343	help344	  Say Y or M here to include C-Media HD-audio codec support in345	  snd-hda-intel driver, such as CMI9880.346 347comment "Set to Y if you want auto-loading the codec driver"348	depends on SND_HDA=y && SND_HDA_CODEC_CMEDIA=m349 350config SND_HDA_CODEC_SI3054351	tristate "Build Silicon Labs 3054 HD-modem codec support"352	help353	  Say Y or M here to include Silicon Labs 3054 HD-modem codec354	  (and compatibles) support in snd-hda-intel driver.355 356comment "Set to Y if you want auto-loading the codec driver"357	depends on SND_HDA=y && SND_HDA_CODEC_SI3054=m358 359config SND_HDA_GENERIC360	tristate "Enable generic HD-audio codec parser"361	select SND_CTL_LED if SND_HDA_GENERIC_LEDS362	select LEDS_CLASS if SND_HDA_GENERIC_LEDS363	help364	  Say Y or M here to enable the generic HD-audio codec parser365	  in snd-hda-intel driver.366 367comment "Set to Y if you want auto-loading the codec driver"368	depends on SND_HDA=y && SND_HDA_GENERIC=m369 370config SND_HDA_POWER_SAVE_DEFAULT371	int "Default time-out for HD-audio power-save mode"372	depends on PM373	default 0374	help375	  The default time-out value in seconds for HD-audio automatic376	  power-save mode.  0 means to disable the power-save mode.377 378config SND_HDA_INTEL_HDMI_SILENT_STREAM379	bool "Enable Silent Stream always for HDMI"380	depends on SND_HDA_INTEL381	help382	  Say Y to enable HD-Audio Keep Alive (KAE) aka Silent Stream383	  for HDMI on hardware that supports the feature.384 385	  When enabled, the HDMI/DisplayPort codec will continue to provide386	  a continuous clock and a valid but silent data stream to387	  any connected external receiver. This allows to avoid gaps388	  at start of playback. Many receivers require multiple seconds389	  to start playing audio after the clock has been stopped.390	  This feature can impact power consumption as resources391	  are kept reserved both at transmitter and receiver.392 393config SND_HDA_CTL_DEV_ID394	bool "Use the device identifier field for controls"395	depends on SND_HDA_INTEL396	help397	  Say Y to use the device identifier field for (mixer)398	  controls (old behaviour until this option is available).399 400	  When enabled, the multiple HDA codecs may set the device401	  field in control (mixer) element identifiers. The use402	  of this field is not recommended and defined for mixer controls.403 404	  The old behaviour (Y) is obsolete and will be removed. Consider405	  to not enable this option.406 407endif408 409endmenu410