162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ciconfig SND_HDA_CORE 362306a36Sopenharmony_ci tristate 462306a36Sopenharmony_ci select REGMAP 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciconfig SND_HDA_DSP_LOADER 762306a36Sopenharmony_ci bool 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciconfig SND_HDA_ALIGNED_MMIO 1062306a36Sopenharmony_ci bool 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciconfig SND_HDA_COMPONENT 1362306a36Sopenharmony_ci bool 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciconfig SND_HDA_I915 1662306a36Sopenharmony_ci bool 1762306a36Sopenharmony_ci select SND_HDA_COMPONENT 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ciconfig SND_HDA_EXT_CORE 2062306a36Sopenharmony_ci tristate 2162306a36Sopenharmony_ci select SND_HDA_CORE 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciconfig SND_HDA_PREALLOC_SIZE 2462306a36Sopenharmony_ci int "Pre-allocated buffer size for HD-audio driver" if !SND_DMA_SGBUF 2562306a36Sopenharmony_ci range 0 32768 2662306a36Sopenharmony_ci default 0 if SND_DMA_SGBUF 2762306a36Sopenharmony_ci default 64 if !SND_DMA_SGBUF 2862306a36Sopenharmony_ci help 2962306a36Sopenharmony_ci Specifies the default pre-allocated buffer-size in kB for the 3062306a36Sopenharmony_ci HD-audio driver. A larger buffer (e.g. 2048) is preferred 3162306a36Sopenharmony_ci for systems using PulseAudio. The default 64 is chosen just 3262306a36Sopenharmony_ci for compatibility reasons. 3362306a36Sopenharmony_ci On x86 systems, the default is zero as we need no preallocation. 3462306a36Sopenharmony_ci 3562306a36Sopenharmony_ci Note that the pre-allocation size can be changed dynamically 3662306a36Sopenharmony_ci via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too. 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ciconfig SND_INTEL_NHLT 3962306a36Sopenharmony_ci bool 4062306a36Sopenharmony_ci # this config should be selected only for Intel ACPI platforms. 4162306a36Sopenharmony_ci # A fallback is provided so that the code compiles in all cases. 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ciconfig SND_INTEL_DSP_CONFIG 4462306a36Sopenharmony_ci tristate 4562306a36Sopenharmony_ci select SND_INTEL_NHLT if ACPI 4662306a36Sopenharmony_ci select SND_INTEL_SOUNDWIRE_ACPI if ACPI 4762306a36Sopenharmony_ci # this config should be selected only for Intel DSP platforms. 4862306a36Sopenharmony_ci # A fallback is provided so that the code compiles in all cases. 4962306a36Sopenharmony_ci 5062306a36Sopenharmony_ciconfig SND_INTEL_SOUNDWIRE_ACPI 5162306a36Sopenharmony_ci tristate 5262306a36Sopenharmony_ci 5362306a36Sopenharmony_ciconfig SND_INTEL_BYT_PREFER_SOF 5462306a36Sopenharmony_ci bool "Prefer SOF driver over SST on BY/CHT platforms" 5562306a36Sopenharmony_ci depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL 5662306a36Sopenharmony_ci default n 5762306a36Sopenharmony_ci help 5862306a36Sopenharmony_ci The kernel has 2 drivers for the Low Power Engine audio-block on 5962306a36Sopenharmony_ci Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF 6062306a36Sopenharmony_ci driver. If both drivers are enabled then the kernel will default 6162306a36Sopenharmony_ci to using the old SST driver, unless told otherwise through the 6262306a36Sopenharmony_ci snd_intel_dspcfg.dsp_driver module-parameter. 6362306a36Sopenharmony_ci 6462306a36Sopenharmony_ci Set this option to Y to make the kernel default to the new SOF 6562306a36Sopenharmony_ci driver instead. 66