xref: /linux/sound/soc/intel/Kconfig (revision 3fd6c59042dbba50391e30862beac979491145fe)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2c6059879SPierre-Louis Bossartconfig SND_SOC_INTEL_SST_TOPLEVEL
3c6059879SPierre-Louis Bossart	bool "Intel ASoC SST drivers"
4c6059879SPierre-Louis Bossart	default y
5c6059879SPierre-Louis Bossart	depends on X86 || COMPILE_TEST
6c6059879SPierre-Louis Bossart	select SND_SOC_INTEL_MACH
7c6059879SPierre-Louis Bossart	help
8c6059879SPierre-Louis Bossart	  Intel ASoC SST Platform Drivers. If you have a Intel machine that
9c6059879SPierre-Louis Bossart	  has an audio controller with a DSP and I2S or DMIC port, then
10c6059879SPierre-Louis Bossart	  enable this option by saying Y
11c6059879SPierre-Louis Bossart
12c6059879SPierre-Louis Bossart	  Note that the answer to this question doesn't directly affect the
13c6059879SPierre-Louis Bossart	  kernel: saying N will just cause the configurator to skip all
14c6059879SPierre-Louis Bossart	  the questions about Intel SST drivers.
15c6059879SPierre-Louis Bossart
16c6059879SPierre-Louis Bossartif SND_SOC_INTEL_SST_TOPLEVEL
17c6059879SPierre-Louis Bossart
18ddfa40b1SLiam Girdwoodconfig SND_SOC_INTEL_CATPT
1913735d1cSVinod Koul	tristate "Haswell and Broadwell"
20ddfa40b1SLiam Girdwood	depends on ACPI || COMPILE_TEST
216cbfa11dSCezary Rojewski	depends on DMADEVICES && SND_DMA_SGBUF
226cbfa11dSCezary Rojewski	select DW_DMAC_CORE
236cbfa11dSCezary Rojewski	select SND_SOC_ACPI if ACPI
2456a53eceSCezary Rojewski	select WANT_DEV_COREDUMP
256cbfa11dSCezary Rojewski	select SND_INTEL_DSP_CONFIG
2602f29be6SCezary Rojewski	help
2773ea3a5dSPiotr Maziarz	  Enable support for Intel(R) Haswell and Broadwell platforms
28ec8a15d3SPierre-Louis Bossart	  with I2S codec present. This is a recommended option.
29c6059879SPierre-Louis Bossart	  Say Y or m if you have such device.
306cbfa11dSCezary Rojewski	  If unsure, say N.
316cbfa11dSCezary Rojewski
326cbfa11dSCezary Rojewskiconfig SND_SOC_INTEL_HASWELL
336cbfa11dSCezary Rojewski	tristate
346cbfa11dSCezary Rojewski	select SND_SOC_INTEL_CATPT
356cbfa11dSCezary Rojewski
366cbfa11dSCezary Rojewskiconfig SND_SST_ATOM_HIFI2_PLATFORM
376cbfa11dSCezary Rojewski	tristate
3890931b9eSLiam Girdwood	select SND_SOC_COMPRESS
3990619eb1SPierre-Louis Bossart
4090619eb1SPierre-Louis Bossartconfig SND_SST_ATOM_HIFI2_PLATFORM_PCI
4190619eb1SPierre-Louis Bossart	tristate "PCI HiFi2 (Merrifield) Platforms"
4290619eb1SPierre-Louis Bossart	depends on X86 && PCI
434772c16eSPierre-Louis Bossart	select SND_SST_ATOM_HIFI2_PLATFORM
4490619eb1SPierre-Louis Bossart	help
454772c16eSPierre-Louis Bossart	  If you have a Intel Merrifield/Edison platform, then
4690619eb1SPierre-Louis Bossart	  enable this option by saying Y or m. Distros will typically not
474772c16eSPierre-Louis Bossart	  enable this option: while Merrifield/Edison can run a mainline
4890619eb1SPierre-Louis Bossart	  kernel with limited functionality it will require a firmware file
494772c16eSPierre-Louis Bossart	  which is not in the standard firmware tree
5090619eb1SPierre-Louis Bossart
5190619eb1SPierre-Louis Bossartconfig SND_SST_ATOM_HIFI2_PLATFORM_ACPI
5290619eb1SPierre-Louis Bossart	tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms"
534772c16eSPierre-Louis Bossart	default ACPI
5490619eb1SPierre-Louis Bossart	depends on X86 && ACPI && PCI
558fca1583SVinod Koul	select SND_SST_ATOM_HIFI2_PLATFORM
5690619eb1SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
57a3d90360SSinan Kaya	select SND_INTEL_DSP_CONFIG
5890619eb1SPierre-Louis Bossart	select IOSF_MBI
59c6059879SPierre-Louis Bossart	help
60df5f5edaSPierre-Louis Bossart	  If you have a Intel Baytrail or Cherrytrail platform with an I2S
61f3f2bb7aSPierre-Louis Bossart	  codec, then enable this option by saying Y or m. This is a
624772c16eSPierre-Louis Bossart	  recommended option
634772c16eSPierre-Louis Bossart	  This option is mutually exclusive with the SOF support on
644772c16eSPierre-Louis Bossart	  Baytrail/Cherrytrail. If you want to enable SOF on
654772c16eSPierre-Louis Bossart	  Baytrail/Cherrytrail, you need to deselect this option first.
66df7257e5SPierre-Louis Bossart
67df7257e5SPierre-Louis Bossartendif ## SND_SOC_INTEL_SST_TOPLEVEL
68df7257e5SPierre-Louis Bossart
69f6a118a8SPierre-Louis Bossartif SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
70e6b140e9SPierre-Louis Bossart
71e6b140e9SPierre-Louis Bossartconfig SND_SOC_ACPI_INTEL_MATCH
72e6b140e9SPierre-Louis Bossart	tristate
73e6b140e9SPierre-Louis Bossart	select SND_SOC_ACPI if ACPI
74c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_SDCA_QUIRKS
75c6059879SPierre-Louis Bossart	# this option controls the compilation of ACPI matching tables and
76c6059879SPierre-Louis Bossart	# helpers and is not meant to be selected by the user.
77c6059879SPierre-Louis Bossart
78c6059879SPierre-Louis Bossartconfig SND_SOC_ACPI_INTEL_SDCA_QUIRKS
79c6059879SPierre-Louis Bossart	tristate
80e6b140e9SPierre-Louis Bossart	select SND_SOC_SDCA if ACPI
81e6b140e9SPierre-Louis Bossart
82c544912bSSia Jee Hengendif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
83c544912bSSia Jee Heng
849a207228SGeert Uytterhoevenconfig SND_SOC_INTEL_KEEMBAY
85c544912bSSia Jee Heng	tristate "Keembay Platforms"
8611b943c0SMichael Sit Wei Hong	depends on ARCH_KEEMBAY || COMPILE_TEST
8711b943c0SMichael Sit Wei Hong	depends on COMMON_CLK
88c544912bSSia Jee Heng	select SND_DMAENGINE_PCM
89c544912bSSia Jee Heng	select SND_SOC_GENERIC_DMAENGINE_PCM
90c544912bSSia Jee Heng	help
91624729fdSOmair M Abdullah	  If you have a Intel Keembay platform then enable this option
929fe51c55SCezary Rojewski	  by saying Y or m.
939fe51c55SCezary Rojewski
9479fc62d6SAmadeusz Sławińskiconfig SND_SOC_INTEL_AVS
9547a1886aSAmadeusz Sławiński	tristate "Intel AVS driver"
969fe51c55SCezary Rojewski	depends on X86 || COMPILE_TEST
97*f5d20b25SAmadeusz Sławiński	depends on PCI
9879fc62d6SAmadeusz Sławiński	depends on COMMON_CLK
99d73d1b67SCezary Rojewski	select ACPI_NHLT if ACPI
100c50cea05SCezary Rojewski	select SND_SOC_ACPI if ACPI
101700462f5SCezary Rojewski	select SND_SOC_TOPOLOGY
1029fe51c55SCezary Rojewski	select SND_SOC_HDA
103092cf7b2SCezary Rojewski	select SND_SOC_COMPRESS if DEBUG_FS
1045755d0f6SAmadeusz Sławiński	select SND_HDA_EXT_CORE
1052f1f570cSCezary Rojewski	select SND_HDA_DSP_LOADER
1069fe51c55SCezary Rojewski	select SND_INTEL_DSP_CONFIG
1079fe51c55SCezary Rojewski	select WANT_DEV_COREDUMP
1089fe51c55SCezary Rojewski	help
1099fe51c55SCezary Rojewski	  Enable support for Intel(R) cAVS 1.5 platforms with DSP
1109fe51c55SCezary Rojewski	  capabilities. This includes Skylake, Kabylake, Amberlake and
11197030a43SCezary Rojewski	  Apollolake.
11297030a43SCezary Rojewski
11397030a43SCezary Rojewski# Machine board drivers
114ea2851bdSPierre-Louis Bossartsource "sound/soc/intel/avs/boards/Kconfig"
115ea2851bdSPierre-Louis Bossart
116# ASoC codec drivers
117source "sound/soc/intel/boards/Kconfig"
118