-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The nocodec mode is required if there is no ACPI codec HID, otherwise the kernel will throw an error such as [ 9.612127] sof-audio-pci 0000:00:0d.0: error: no matching ASoC machine driver found - aborting probe [ 9.621634] sof-audio-pci 0000:00:0d.0: error: failed to get machine info -19 [ 9.629027] sof-audio-pci 0000:00:0d.0: error: failed to probe DSP hardware! Note that /lib/firmware/intel/sof/sof-byt.ri and /lib/firmware/intel/sof-tplg/sof-byt.tplg files need to be present for the probe to succeed, the nocodec mode depends on them Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
40 changes: 40 additions & 0 deletions
40
meta-intel-edison-bsp/recipes-kernel/linux/files/sof_nocodec.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Disable legacy audio drivers | ||
# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_PCI is not set | ||
# CONFIG_SND_SST_ATOM_HIFI2_PLATFORM_ACPI is not set | ||
|
||
# Generic SOF selections | ||
CONFIG_SND_SOC_SOF_TOPLEVEL=y | ||
CONFIG_SND_SOC_SOF_PCI=m | ||
|
||
# Merrifield support | ||
CONFIG_SND_SOC_SOF_MERRIFIELD_SUPPORT=y | ||
|
||
# enable nocodec mode | ||
CONFIG_EXPERT=y | ||
CONFIG_SND_SOC_SOF_DEVELOPER_SUPPORT=y | ||
CONFIG_SND_SOC_SOF_NOCODEC_SUPPORT=y | ||
CONFIG_SND_SOC_SOF_HDA_LINK=n | ||
|
||
# Debug options disabled, but can be turned on at will | ||
# CONFIG_SND_SOC_SOF_DEBUG is not set | ||
# CONFIG_SND_SOC_SOF_STRICT_ABI_CHECKS is not set | ||
# CONFIG_SND_SOC_SOF_DEBUG_VERBOSE_IPC=y | ||
# CONFIG_SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE=y | ||
# CONFIG_SND_SOC_SOF_DEBUG_ENABLE_FIRMWARE_TRACE=y | ||
# CONFIG_SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST=y | ||
# CONFIG_SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST_CLIENT=m | ||
# CONFIG_SND_SOC_SOF_DEBUG_PROBES_CLIENT=m | ||
# CONFIG_SND_SOC_SOF_DEBUG_RETAIN_DSP_CONTEXT=y | ||
|
||
# Disable options that aren't useful for Edison | ||
# CONFIG_SND_SOC_SOF_BROADWELL_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_APOLLOLAKE_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_GEMINILAKE_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_CANNONLAKE_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_COFFEELAKE_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_ICELAKE_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_COMETLAKE_LP_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_COMETLAKE_H_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_TIGERLAKE_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_ELKHARTLAKE_SUPPORT is not set | ||
# CONFIG_SND_SOC_SOF_JASPERLAKE_SUPPORT is not set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters