Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sound/soc/intel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,15 @@ endif ## SND_SOC_INTEL_SKYLAKE

endif ## SND_SOC_INTEL_SST_TOPLEVEL

if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL
if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL

config SND_SOC_ACPI_INTEL_MATCH
tristate
select SND_SOC_ACPI if ACPI
# this option controls the compilation of ACPI matching tables and
# helpers and is not meant to be selected by the user.

endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL
endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL


# ASoC codec drivers
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/intel/boards/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
menuconfig SND_SOC_INTEL_MACH
bool "Intel Machine drivers"
depends on SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL
depends on SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
help
Intel ASoC Machine Drivers. If you have a Intel machine that
has an audio controller with a DSP and I2S or DMIC port, then
Expand Down
82 changes: 65 additions & 17 deletions sound/soc/sof/Kconfig
Original file line number Diff line number Diff line change
@@ -1,23 +1,61 @@
config SND_SOC_SOF_TOPLEVEL
bool "Sound Open Firmware Support"
help
This adds support for Sound Open Firmware (SOF). SOF is a free and
generic open source audio DSP firmware for multiple devices.
Say Y if you have such a device that is supported by SOF.
If unsure select "N".

if SND_SOC_SOF_TOPLEVEL

config SND_SOC_SOF_PCI
tristate
tristate "SOF PCI enumeration support"
depends on PCI
select SND_SOC_SOF_OPTIONS
select SND_SOC_SOF_INTEL_PCI if SND_SOC_SOF_INTEL_TOPLEVEL
help
This adds support for PCI enumeration. This option is
required to enable Intel Skylake+ devices
Say Y if you need this option
If unsure select "N".

config SND_SOC_SOF_ACPI
tristate
tristate "SOF ACPI enumeration support"
depends on ACPI || COMPILE_TEST
select SND_SOC_SOF_OPTIONS
select SND_SOC_SOF_INTEL_ACPI if SND_SOC_SOF_INTEL_TOPLEVEL
select IOSF_MBI if X86
help
This adds support for ACPI enumeration. This option is required
to enable Intel Haswell/Broadwell/Baytrail/Cherrytrail devices
Say Y if you need this option
If unsure select "N".

config SND_SOC_SOF_SPI
tristate "SOF SPI support"
select SPI
select SPI_MASTER
select SND_SOC_SOF_OPTIONS
select SND_SOC_SOF_SPIDSP
help
This adds support for Sound Open Firmware over SPI for Device
Tree based systems.
Say Y if you have such a device.
If unsure select "N".

config SND_SOC_SOF_SPIDSP
tristate
help
This option is not user-selectable but automagically handled by
'select' statements at a higher level

config SND_SOC_SOF
tristate "Sound Open Firmware Support"
select SND_SOC_TOPOLOGY
select SND_SOC_COMPRESS if SND_SOC_SOF_COMPRESS=y
config SND_SOC_SOF_OPTIONS
tristate
help
This adds support for Sound Open Firmware (SOF). SOF is a free and
generic open source audio DSP firmware for multiple devices.
Say Y if you have such a device that is supported by SOF.
If unsure select "N".
This option is not user-selectable but automagically handled by
'select' statements at a higher level

if SND_SOC_SOF
if SND_SOC_SOF_OPTIONS

config SND_SOC_SOF_COMPRESS
bool "SOF ALSA Compressed API support"
Expand All @@ -38,17 +76,17 @@ config SND_SOC_SOF_NOCODEC

config SND_SOC_SOF_DEBUG
bool "SOF debugging features"
depends on SND_SOC_SOF
help
This option can be used to enable or disable individual SOF firmware
and driver debugging options.
Say Y if you are debugging SOF FW or drivers.
If unsure select "N".

if SND_SOC_SOF_DEBUG

config SND_SOC_SOF_FORCE_NOCODEC_MODE
bool "SOF force nocodec Mode"
depends on SND_SOC_SOF_NOCODEC
depends on SND_SOC_SOF_DEBUG
help
This forces SOF to use dummy/nocodec as machine driver, even
though there is a codec detected on the real platform. This is
Expand All @@ -60,7 +98,6 @@ config SND_SOC_SOF_FORCE_NOCODEC_MODE

config SND_SOC_SOF_DEBUG_XRUN_STOP
bool "SOF stop on XRUN"
depends on SND_SOC_SOF_DEBUG
help
This option forces PCMs to stop on any XRUN event. This is useful to
preserve any trace data ond pipeline status prior to the XRUN.
Expand All @@ -69,7 +106,6 @@ config SND_SOC_SOF_DEBUG_XRUN_STOP

config SND_SOC_SOF_DEBUG_VERBOSE_IPC
bool "SOF verbose IPC logs"
depends on SND_SOC_SOF_DEBUG
help
This option enables more verbose IPC logs, with command types in
human-readable form instead of just 32-bit hex dumps. This is useful
Expand All @@ -78,8 +114,6 @@ config SND_SOC_SOF_DEBUG_VERBOSE_IPC

config SND_SOC_SOF_DEBUG_FORCE_IPC_POSITION
bool "SOF force to use IPC for position update on SKL+"
depends on SND_SOC_SOF_DEBUG
default n
help
This option force to handle stream position update IPCs and run pcm
elapse to inform ALSA about that, on platforms (e.g. Intel SKL+) that
Expand All @@ -90,6 +124,20 @@ config SND_SOC_SOF_DEBUG_FORCE_IPC_POSITION
DPIB/posbuf is not ready, select "Y".
If unsure select "N".

endif ## SND_SOC_SOF_DEBUG

endif ## SND_SOC_SOF_OPTIONS

config SND_SOC_SOF
tristate
select SND_SOC_TOPOLOGY
select SND_SOC_COMPRESS if SND_SOC_SOF_COMPRESS=y
help
This option is not user-selectable but automagically handled by
'select' statements at a higher level
Due to module dependencies this option needs to be selected
at the lowest level for each platform

source "sound/soc/sof/intel/Kconfig"
source "sound/soc/sof/xtensa/Kconfig"

Expand Down
2 changes: 1 addition & 1 deletion sound/soc/sof/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ obj-$(CONFIG_SND_SOC_SOF_SPI) += sof-spi-dev.o

obj-$(CONFIG_SND_SOC_SOF_SPIDSP) += snd-sof-spi.o

obj-$(CONFIG_SND_SOC_SOF_INTEL) += intel/
obj-$(CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL) += intel/
obj-$(CONFIG_SND_SOC_SOF_XTENSA) += xtensa/
Loading