2019-05-19 05:07:45 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2018-01-04 15:35:53 -07:00
|
|
|
config SND_SOC_INTEL_SST_TOPLEVEL
|
|
|
|
bool "Intel ASoC SST drivers"
|
|
|
|
default y
|
|
|
|
depends on X86 || COMPILE_TEST
|
|
|
|
select SND_SOC_INTEL_MACH
|
|
|
|
help
|
|
|
|
Intel ASoC SST Platform Drivers. If you have a Intel machine that
|
|
|
|
has an audio controller with a DSP and I2S or DMIC port, then
|
|
|
|
enable this option by saying Y
|
|
|
|
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
|
|
kernel: saying N will just cause the configurator to skip all
|
|
|
|
the questions about Intel SST drivers.
|
|
|
|
|
|
|
|
if SND_SOC_INTEL_SST_TOPLEVEL
|
|
|
|
|
2014-02-17 06:32:10 -07:00
|
|
|
config SND_SOC_INTEL_SST
|
2015-06-19 11:25:28 -07:00
|
|
|
tristate
|
2014-02-17 06:32:10 -07:00
|
|
|
|
2020-09-29 07:12:47 -07:00
|
|
|
config SND_SOC_INTEL_CATPT
|
|
|
|
tristate "Haswell and Broadwell"
|
|
|
|
depends on ACPI || COMPILE_TEST
|
2020-10-07 06:57:01 -07:00
|
|
|
depends on DMADEVICES && SND_DMA_SGBUF
|
2020-09-29 07:12:47 -07:00
|
|
|
select DW_DMAC_CORE
|
2022-08-15 09:58:17 -07:00
|
|
|
select SND_SOC_ACPI if ACPI
|
2020-11-17 07:52:23 -07:00
|
|
|
select WANT_DEV_COREDUMP
|
2020-11-12 15:38:23 -07:00
|
|
|
select SND_INTEL_DSP_CONFIG
|
2018-01-04 15:35:53 -07:00
|
|
|
help
|
2020-09-29 07:12:47 -07:00
|
|
|
Enable support for Intel(R) Haswell and Broadwell platforms
|
|
|
|
with I2S codec present. This is a recommended option.
|
|
|
|
Say Y or m if you have such device.
|
|
|
|
If unsure, say N.
|
|
|
|
|
|
|
|
config SND_SOC_INTEL_HASWELL
|
|
|
|
tristate
|
|
|
|
select SND_SOC_INTEL_CATPT
|
2014-02-20 14:48:47 -07:00
|
|
|
|
2018-04-02 10:06:14 -07:00
|
|
|
config SND_SST_ATOM_HIFI2_PLATFORM
|
|
|
|
tristate
|
|
|
|
select SND_SOC_COMPRESS
|
|
|
|
|
2018-01-04 15:35:54 -07:00
|
|
|
config SND_SST_ATOM_HIFI2_PLATFORM_PCI
|
2018-04-02 10:06:14 -07:00
|
|
|
tristate "PCI HiFi2 (Merrifield) Platforms"
|
2018-01-04 15:35:54 -07:00
|
|
|
depends on X86 && PCI
|
2018-04-02 10:06:14 -07:00
|
|
|
select SND_SST_ATOM_HIFI2_PLATFORM
|
2018-01-04 15:35:54 -07:00
|
|
|
help
|
2018-04-02 10:06:14 -07:00
|
|
|
If you have a Intel Merrifield/Edison platform, then
|
2018-01-04 15:35:54 -07:00
|
|
|
enable this option by saying Y or m. Distros will typically not
|
2018-04-02 10:06:14 -07:00
|
|
|
enable this option: while Merrifield/Edison can run a mainline
|
|
|
|
kernel with limited functionality it will require a firmware file
|
|
|
|
which is not in the standard firmware tree
|
2018-01-04 15:35:54 -07:00
|
|
|
|
2018-04-02 10:06:14 -07:00
|
|
|
config SND_SST_ATOM_HIFI2_PLATFORM_ACPI
|
2018-01-04 15:36:01 -07:00
|
|
|
tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms"
|
2018-04-02 10:06:14 -07:00
|
|
|
default ACPI
|
2019-01-02 11:10:35 -07:00
|
|
|
depends on X86 && ACPI && PCI
|
2018-04-02 10:06:14 -07:00
|
|
|
select SND_SST_ATOM_HIFI2_PLATFORM
|
2018-01-04 15:35:53 -07:00
|
|
|
select SND_SOC_ACPI_INTEL_MATCH
|
2020-11-12 15:38:19 -07:00
|
|
|
select SND_INTEL_DSP_CONFIG
|
ASoC: Intel: Fix nested/unnecessary Kconfig dependencies
This patch fixes a number of issues:
1. IOSF_MBI is only needed for byt-cr detection, which is only supported
on Baytrail/Cherrytrail, move to HiFi2 config
2. SND_SOC_INTEL_SST should not select SND_SOC_INTEL_SST_ACPI, the latter
config is only valid for Haswell/Baytrail legacy but not needed by Skylake
3. SND_SST_IPC_ACPI, used only by the atom/sst driver, should not select
SND_SOC_INTEL_SST, none of the code under common/sst*.c is used
This nesting of configs really makes no sense, it's easier to maintain
if for each platform one can control what is strictly required.
Compiled-tested with each of Haswell, Baytrail legacy, HiFi2, SKL cases
selected independently. 0-day and explicit randconfig tests did not report
additional issues and no functionality loss was observed in Intel tests on
HIFI2 and SKYLAKE platforms
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-01-04 15:35:56 -07:00
|
|
|
select IOSF_MBI
|
2018-01-04 15:35:54 -07:00
|
|
|
help
|
|
|
|
If you have a Intel Baytrail or Cherrytrail platform with an I2S
|
|
|
|
codec, then enable this option by saying Y or m. This is a
|
|
|
|
recommended option
|
2019-11-01 10:30:35 -07:00
|
|
|
This option is mutually exclusive with the SOF support on
|
|
|
|
Baytrail/Cherrytrail. If you want to enable SOF on
|
|
|
|
Baytrail/Cherrytrail, you need to deselect this option first.
|
2017-10-12 16:49:45 -07:00
|
|
|
|
2019-04-12 09:09:01 -07:00
|
|
|
endif ## SND_SOC_INTEL_SST_TOPLEVEL
|
|
|
|
|
|
|
|
if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
|
|
|
|
|
2018-01-04 15:35:53 -07:00
|
|
|
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.
|
|
|
|
|
2019-04-12 09:09:01 -07:00
|
|
|
endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
|
|
|
|
|
2020-06-08 23:06:22 -07:00
|
|
|
config SND_SOC_INTEL_KEEMBAY
|
|
|
|
tristate "Keembay Platforms"
|
2020-11-10 07:50:01 -07:00
|
|
|
depends on ARCH_KEEMBAY || COMPILE_TEST
|
2020-06-08 23:06:22 -07:00
|
|
|
depends on COMMON_CLK
|
2021-01-07 20:12:48 -07:00
|
|
|
select SND_DMAENGINE_PCM
|
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
2020-06-08 23:06:22 -07:00
|
|
|
help
|
|
|
|
If you have a Intel Keembay platform then enable this option
|
|
|
|
by saying Y or m.
|
2015-10-14 08:41:43 -07:00
|
|
|
|
2022-03-11 08:35:30 -07:00
|
|
|
config SND_SOC_INTEL_AVS
|
|
|
|
tristate "Intel AVS driver"
|
2022-04-26 13:05:39 -07:00
|
|
|
depends on X86 || COMPILE_TEST
|
2022-04-25 02:16:45 -07:00
|
|
|
depends on PCI
|
2022-03-11 08:35:30 -07:00
|
|
|
depends on COMMON_CLK
|
2024-04-19 01:43:07 -07:00
|
|
|
select ACPI_NHLT if ACPI
|
2022-04-26 13:05:39 -07:00
|
|
|
select SND_SOC_ACPI if ACPI
|
2022-03-31 06:52:39 -07:00
|
|
|
select SND_SOC_TOPOLOGY
|
2022-07-07 05:41:42 -07:00
|
|
|
select SND_SOC_HDA
|
2022-12-02 08:28:35 -07:00
|
|
|
select SND_SOC_COMPRESS if DEBUG_FS
|
2022-03-11 08:35:30 -07:00
|
|
|
select SND_HDA_EXT_CORE
|
2022-03-11 08:35:44 -07:00
|
|
|
select SND_HDA_DSP_LOADER
|
2022-04-25 02:16:46 -07:00
|
|
|
select SND_INTEL_DSP_CONFIG
|
2022-05-16 03:11:07 -07:00
|
|
|
select WANT_DEV_COREDUMP
|
2022-03-11 08:35:30 -07:00
|
|
|
help
|
|
|
|
Enable support for Intel(R) cAVS 1.5 platforms with DSP
|
|
|
|
capabilities. This includes Skylake, Kabylake, Amberlake and
|
|
|
|
Apollolake.
|
|
|
|
|
2022-05-11 09:23:52 -07:00
|
|
|
# Machine board drivers
|
|
|
|
source "sound/soc/intel/avs/boards/Kconfig"
|
|
|
|
|
2017-10-12 16:49:43 -07:00
|
|
|
# ASoC codec drivers
|
|
|
|
source "sound/soc/intel/boards/Kconfig"
|