xref: /linux/sound/hda/core/Kconfig (revision 177bf8620cf4ed290ee170a6c5966adc0924b336)
1*b2660d1eSTakashi Iwai# SPDX-License-Identifier: GPL-2.0-only
2*b2660d1eSTakashi Iwaiconfig SND_HDA_CORE
3*b2660d1eSTakashi Iwai	tristate
4*b2660d1eSTakashi Iwai	select REGMAP
5*b2660d1eSTakashi Iwai
6*b2660d1eSTakashi Iwaiconfig SND_HDA_DSP_LOADER
7*b2660d1eSTakashi Iwai	bool
8*b2660d1eSTakashi Iwai
9*b2660d1eSTakashi Iwaiconfig SND_HDA_ALIGNED_MMIO
10*b2660d1eSTakashi Iwai	bool
11*b2660d1eSTakashi Iwai
12*b2660d1eSTakashi Iwaiconfig SND_HDA_COMPONENT
13*b2660d1eSTakashi Iwai	bool
14*b2660d1eSTakashi Iwai
15*b2660d1eSTakashi Iwaiconfig SND_HDA_I915
16*b2660d1eSTakashi Iwai	bool
17*b2660d1eSTakashi Iwai	select SND_HDA_COMPONENT
18*b2660d1eSTakashi Iwai
19*b2660d1eSTakashi Iwaiconfig SND_HDA_EXT_CORE
20*b2660d1eSTakashi Iwai       tristate
21*b2660d1eSTakashi Iwai       select SND_HDA_CORE
22*b2660d1eSTakashi Iwai
23*b2660d1eSTakashi Iwaiconfig SND_INTEL_NHLT
24*b2660d1eSTakashi Iwai	bool
25*b2660d1eSTakashi Iwai	# this config should be selected only for Intel ACPI platforms.
26*b2660d1eSTakashi Iwai	# A fallback is provided so that the code compiles in all cases.
27*b2660d1eSTakashi Iwai
28*b2660d1eSTakashi Iwaiconfig SND_INTEL_DSP_CONFIG
29*b2660d1eSTakashi Iwai	tristate
30*b2660d1eSTakashi Iwai	select ACPI_NHLT if ACPI
31*b2660d1eSTakashi Iwai	select SND_INTEL_NHLT if ACPI
32*b2660d1eSTakashi Iwai	select SND_INTEL_SOUNDWIRE_ACPI if ACPI
33*b2660d1eSTakashi Iwai	# this config should be selected only for Intel DSP platforms.
34*b2660d1eSTakashi Iwai	# A fallback is provided so that the code compiles in all cases.
35*b2660d1eSTakashi Iwai
36*b2660d1eSTakashi Iwaiconfig SND_INTEL_SOUNDWIRE_ACPI
37*b2660d1eSTakashi Iwai	tristate
38*b2660d1eSTakashi Iwai
39*b2660d1eSTakashi Iwaiconfig SND_INTEL_BYT_PREFER_SOF
40*b2660d1eSTakashi Iwai	bool "Prefer SOF driver over SST on BY/CHT platforms"
41*b2660d1eSTakashi Iwai	depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL
42*b2660d1eSTakashi Iwai	default n
43*b2660d1eSTakashi Iwai	help
44*b2660d1eSTakashi Iwai	  The kernel has 2 drivers for the Low Power Engine audio-block on
45*b2660d1eSTakashi Iwai	  Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF
46*b2660d1eSTakashi Iwai	  driver. If both drivers are enabled then the kernel will default
47*b2660d1eSTakashi Iwai	  to using the old SST driver, unless told otherwise through the
48*b2660d1eSTakashi Iwai	  snd_intel_dspcfg.dsp_driver module-parameter.
49*b2660d1eSTakashi Iwai
50*b2660d1eSTakashi Iwai	  Set this option to Y to make the kernel default to the new SOF
51*b2660d1eSTakashi Iwai	  driver instead.
52