0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config SND_HDA_CORE
0003 tristate
0004 select REGMAP
0005
0006 config SND_HDA_DSP_LOADER
0007 bool
0008
0009 config SND_HDA_ALIGNED_MMIO
0010 bool
0011
0012 config SND_HDA_COMPONENT
0013 bool
0014
0015 config SND_HDA_I915
0016 bool
0017 select SND_HDA_COMPONENT
0018
0019 config SND_HDA_EXT_CORE
0020 tristate
0021 select SND_HDA_CORE
0022
0023 config SND_HDA_PREALLOC_SIZE
0024 int "Pre-allocated buffer size for HD-audio driver" if !SND_DMA_SGBUF
0025 range 0 32768
0026 default 0 if SND_DMA_SGBUF
0027 default 64 if !SND_DMA_SGBUF
0028 help
0029 Specifies the default pre-allocated buffer-size in kB for the
0030 HD-audio driver. A larger buffer (e.g. 2048) is preferred
0031 for systems using PulseAudio. The default 64 is chosen just
0032 for compatibility reasons.
0033 On x86 systems, the default is zero as we need no preallocation.
0034
0035 Note that the pre-allocation size can be changed dynamically
0036 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
0037
0038 config SND_INTEL_NHLT
0039 bool
0040 # this config should be selected only for Intel ACPI platforms.
0041 # A fallback is provided so that the code compiles in all cases.
0042
0043 config SND_INTEL_DSP_CONFIG
0044 tristate
0045 select SND_INTEL_NHLT if ACPI
0046 select SND_INTEL_SOUNDWIRE_ACPI if ACPI
0047 # this config should be selected only for Intel DSP platforms.
0048 # A fallback is provided so that the code compiles in all cases.
0049
0050 config SND_INTEL_SOUNDWIRE_ACPI
0051 tristate
0052
0053 config SND_INTEL_BYT_PREFER_SOF
0054 bool "Prefer SOF driver over SST on BY/CHT platforms"
0055 depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL
0056 default n
0057 help
0058 The kernel has 2 drivers for the Low Power Engine audio-block on
0059 Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF
0060 driver. If both drivers are enabled then the kernel will default
0061 to using the old SST driver, unless told otherwise through the
0062 snd_intel_dspcfg.dsp_driver module-parameter.
0063
0064 Set this option to Y to make the kernel default to the new SOF
0065 driver instead.