xref: /linux/sound/soc/intel/Kconfig (revision df7257e544faf838c3e7ad6b4e89ffe59e87f5e1)
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
180fbc7d73SVinod Koulconfig SND_SST_IPC
190fbc7d73SVinod Koul	tristate
20def2c428SPierre-Louis Bossart	# This option controls the IPC core for HiFi2 platforms
210fbc7d73SVinod Koul
22f533a035SVinod Koulconfig SND_SST_IPC_PCI
23f533a035SVinod Koul	tristate
24f533a035SVinod Koul	select SND_SST_IPC
25def2c428SPierre-Louis Bossart	# This option controls the PCI-based IPC for HiFi2 platforms
26def2c428SPierre-Louis Bossart	#  (Medfield, Merrifield).
27f533a035SVinod Koul
28336cfbb0SVinod Koulconfig SND_SST_IPC_ACPI
29336cfbb0SVinod Koul	tristate
30336cfbb0SVinod Koul	select SND_SST_IPC
31def2c428SPierre-Louis Bossart	# This option controls the ACPI-based IPC for HiFi2 platforms
32def2c428SPierre-Louis Bossart	# (Baytrail, Cherrytrail)
33def2c428SPierre-Louis Bossart
34def2c428SPierre-Louis Bossartconfig SND_SOC_INTEL_SST_ACPI
35def2c428SPierre-Louis Bossart	tristate
36def2c428SPierre-Louis Bossart	# This option controls ACPI-based probing on
37def2c428SPierre-Louis Bossart	# Haswell/Broadwell/Baytrail legacy and will be set
38def2c428SPierre-Louis Bossart	# when these platforms are enabled
39336cfbb0SVinod Koul
40ddfa40b1SLiam Girdwoodconfig SND_SOC_INTEL_SST
4113735d1cSVinod Koul	tristate
42ddfa40b1SLiam Girdwood
43a395bdd6STakashi Iwaiconfig SND_SOC_INTEL_SST_FIRMWARE
44a395bdd6STakashi Iwai	tristate
45ebf79091SAndy Shevchenko	select DW_DMAC_CORE
46def2c428SPierre-Louis Bossart	# This option controls firmware download on
47def2c428SPierre-Louis Bossart	# Haswell/Broadwell/Baytrail legacy and will be set
48def2c428SPierre-Louis Bossart	# when these platforms are enabled
49ddfa40b1SLiam Girdwood
505e4482fcSLiam Girdwoodconfig SND_SOC_INTEL_HASWELL
518fca1583SVinod Koul	tristate "Haswell/Broadwell Platforms"
52c6059879SPierre-Louis Bossart	depends on SND_DMA_SGBUF
534772c16eSPierre-Louis Bossart	depends on DMADEVICES && ACPI
54ebf79091SAndy Shevchenko	select SND_SOC_INTEL_SST
55f3f2bb7aSPierre-Louis Bossart	select SND_SOC_INTEL_SST_ACPI
56c3474e21SArnd Bergmann	select SND_SOC_INTEL_SST_FIRMWARE
57c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
58c6059879SPierre-Louis Bossart	help
59c6059879SPierre-Louis Bossart	  If you have a Intel Haswell or Broadwell platform connected to
60c6059879SPierre-Louis Bossart	  an I2S codec, then enable this option by saying Y or m. This is
61c6059879SPierre-Louis Bossart	  typically used for Chromebooks. This is a recommended option.
6290931b9eSLiam Girdwood
6320df8d03SJarkko Nikulaconfig SND_SOC_INTEL_BAYTRAIL
648fca1583SVinod Koul	tristate "Baytrail (legacy) Platforms"
65ed55fe24SHans de Goede	depends on DMADEVICES && ACPI && SND_SST_ATOM_HIFI2_PLATFORM=n
66ebf79091SAndy Shevchenko	select SND_SOC_INTEL_SST
67f3f2bb7aSPierre-Louis Bossart	select SND_SOC_INTEL_SST_ACPI
68ebf79091SAndy Shevchenko	select SND_SOC_INTEL_SST_FIRMWARE
69c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
70c6059879SPierre-Louis Bossart	help
71c6059879SPierre-Louis Bossart	  If you have a Intel Baytrail platform connected to an I2S codec,
72c6059879SPierre-Louis Bossart	  then enable this option by saying Y or m. This was typically used
73c6059879SPierre-Louis Bossart	  for Baytrail Chromebooks but this option is now deprecated and is
74c6059879SPierre-Louis Bossart	  not recommended, use SND_SST_ATOM_HIFI2_PLATFORM instead.
7520df8d03SJarkko Nikula
7690619eb1SPierre-Louis Bossartconfig SND_SST_ATOM_HIFI2_PLATFORM
7790619eb1SPierre-Louis Bossart	tristate
7890619eb1SPierre-Louis Bossart	select SND_SOC_COMPRESS
7990619eb1SPierre-Louis Bossart
804772c16eSPierre-Louis Bossartconfig SND_SST_ATOM_HIFI2_PLATFORM_PCI
8190619eb1SPierre-Louis Bossart	tristate "PCI HiFi2 (Merrifield) Platforms"
824772c16eSPierre-Louis Bossart	depends on X86 && PCI
834772c16eSPierre-Louis Bossart	select SND_SST_IPC_PCI
8490619eb1SPierre-Louis Bossart	select SND_SST_ATOM_HIFI2_PLATFORM
854772c16eSPierre-Louis Bossart	help
8690619eb1SPierre-Louis Bossart	  If you have a Intel Merrifield/Edison platform, then
874772c16eSPierre-Louis Bossart	  enable this option by saying Y or m. Distros will typically not
8890619eb1SPierre-Louis Bossart	  enable this option: while Merrifield/Edison can run a mainline
8990619eb1SPierre-Louis Bossart	  kernel with limited functionality it will require a firmware file
9090619eb1SPierre-Louis Bossart	  which is not in the standard firmware tree
914772c16eSPierre-Louis Bossart
9290619eb1SPierre-Louis Bossartconfig SND_SST_ATOM_HIFI2_PLATFORM_ACPI
938fca1583SVinod Koul	tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms"
9490619eb1SPierre-Louis Bossart	default ACPI
95a3d90360SSinan Kaya	depends on X86 && ACPI && PCI
964772c16eSPierre-Louis Bossart	select SND_SST_IPC_ACPI
9790619eb1SPierre-Louis Bossart	select SND_SST_ATOM_HIFI2_PLATFORM
98c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
99f3f2bb7aSPierre-Louis Bossart	select IOSF_MBI
1004772c16eSPierre-Louis Bossart	help
1014772c16eSPierre-Louis Bossart	  If you have a Intel Baytrail or Cherrytrail platform with an I2S
1024772c16eSPierre-Louis Bossart	  codec, then enable this option by saying Y or m. This is a
1034772c16eSPierre-Louis Bossart	  recommended option
104*df7257e5SPierre-Louis Bossart	  This option is mutually exclusive with the SOF support on
105*df7257e5SPierre-Louis Bossart	  Baytrail/Cherrytrail. If you want to enable SOF on
106*df7257e5SPierre-Louis Bossart	  Baytrail/Cherrytrail, you need to deselect this option first.
107f6a118a8SPierre-Louis Bossart
108eb965e36SJeeja KPconfig SND_SOC_INTEL_SKYLAKE
10935bc99aaSPierre-Louis Bossart	tristate "All Skylake/SST Platforms"
110c6059879SPierre-Louis Bossart	depends on PCI && ACPI
1112c79eeb1SRandy Dunlap	depends on COMMON_CLK
11235bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKL
11335bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_APL
11435bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_KBL
11535bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_GLK
11635bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_CNL
11735bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_CFL
1188c4e7c2eSPierre-Louis Bossart	help
11935bc99aaSPierre-Louis Bossart          This is a backwards-compatible option to select all devices
12035bc99aaSPierre-Louis Bossart	  supported by the Intel SST/Skylake driver. This option is no
12135bc99aaSPierre-Louis Bossart	  longer recommended and will be deprecated when the SOF
12235bc99aaSPierre-Louis Bossart	  driver is introduced.  Distributions should explicitly
12335bc99aaSPierre-Louis Bossart	  select which platform uses this driver.
1248c4e7c2eSPierre-Louis Bossart
12535bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_SKL
12635bc99aaSPierre-Louis Bossart	tristate "Skylake Platforms"
12735bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1282c79eeb1SRandy Dunlap	depends on COMMON_CLK
12935bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
13035bc99aaSPierre-Louis Bossart	help
13135bc99aaSPierre-Louis Bossart	  If you have a Intel Skylake platform with the DSP enabled
13235bc99aaSPierre-Louis Bossart	  in the BIOS then enable this option by saying Y or m.
13335bc99aaSPierre-Louis Bossart
13435bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_APL
13535bc99aaSPierre-Louis Bossart	tristate "Broxton/ApolloLake Platforms"
13635bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1372c79eeb1SRandy Dunlap	depends on COMMON_CLK
13835bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
13935bc99aaSPierre-Louis Bossart	help
14035bc99aaSPierre-Louis Bossart	  If you have a Intel Broxton/ApolloLake platform with the DSP
14135bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
14235bc99aaSPierre-Louis Bossart
14335bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_KBL
14435bc99aaSPierre-Louis Bossart	tristate "Kabylake Platforms"
14535bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1462c79eeb1SRandy Dunlap	depends on COMMON_CLK
14735bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
14835bc99aaSPierre-Louis Bossart	help
14935bc99aaSPierre-Louis Bossart	  If you have a Intel Kabylake platform with the DSP
15035bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
15135bc99aaSPierre-Louis Bossart
15235bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_GLK
15335bc99aaSPierre-Louis Bossart	tristate "GeminiLake Platforms"
15435bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1552c79eeb1SRandy Dunlap	depends on COMMON_CLK
15635bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
15735bc99aaSPierre-Louis Bossart	help
15835bc99aaSPierre-Louis Bossart	  If you have a Intel GeminiLake platform with the DSP
15935bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
16035bc99aaSPierre-Louis Bossart
16135bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_CNL
16235bc99aaSPierre-Louis Bossart	tristate "CannonLake/WhiskyLake Platforms"
16335bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1642c79eeb1SRandy Dunlap	depends on COMMON_CLK
16535bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
16635bc99aaSPierre-Louis Bossart	help
16735bc99aaSPierre-Louis Bossart	  If you have a Intel CNL/WHL platform with the DSP
16835bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
16935bc99aaSPierre-Louis Bossart
17035bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_CFL
17135bc99aaSPierre-Louis Bossart	tristate "CoffeeLake Platforms"
17235bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1732c79eeb1SRandy Dunlap	depends on COMMON_CLK
17435bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
17535bc99aaSPierre-Louis Bossart	help
17635bc99aaSPierre-Louis Bossart	  If you have a Intel CoffeeLake platform with the DSP
17735bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
17835bc99aaSPierre-Louis Bossart
1795f740b24SEvan Greenconfig SND_SOC_INTEL_CML_H
1805f740b24SEvan Green	tristate "CometLake-H Platforms"
1815f740b24SEvan Green	depends on PCI && ACPI
1822c79eeb1SRandy Dunlap	depends on COMMON_CLK
1835f740b24SEvan Green	select SND_SOC_INTEL_SKYLAKE_FAMILY
1845f740b24SEvan Green	help
1855f740b24SEvan Green	  If you have a Intel CometLake-H platform with the DSP
1865f740b24SEvan Green	  enabled in the BIOS then enable this option by saying Y or m.
1875f740b24SEvan Green
1885f740b24SEvan Greenconfig SND_SOC_INTEL_CML_LP
1895f740b24SEvan Green	tristate "CometLake-LP Platforms"
1905f740b24SEvan Green	depends on PCI && ACPI
1912c79eeb1SRandy Dunlap	depends on COMMON_CLK
1925f740b24SEvan Green	select SND_SOC_INTEL_SKYLAKE_FAMILY
1935f740b24SEvan Green	help
1945f740b24SEvan Green	  If you have a Intel CometLake-LP platform with the DSP
1955f740b24SEvan Green	  enabled in the BIOS then enable this option by saying Y or m.
1965f740b24SEvan Green
19735bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_FAMILY
19835bc99aaSPierre-Louis Bossart	tristate
19935bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_COMMON
20035bc99aaSPierre-Louis Bossart
20135bc99aaSPierre-Louis Bossartif SND_SOC_INTEL_SKYLAKE_FAMILY
2028c4e7c2eSPierre-Louis Bossart
2038c4e7c2eSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_SSP_CLK
2048c4e7c2eSPierre-Louis Bossart	tristate
2058c4e7c2eSPierre-Louis Bossart
2068c4e7c2eSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC
2078c4e7c2eSPierre-Louis Bossart	bool "HDAudio codec support"
2088c4e7c2eSPierre-Louis Bossart	help
2098c4e7c2eSPierre-Louis Bossart	  If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/
2108c4e7c2eSPierre-Louis Bossart	  GeminiLake or CannonLake platform with an HDaudio codec
2118c4e7c2eSPierre-Louis Bossart	  then enable this option by saying Y
2128c4e7c2eSPierre-Louis Bossart
2138c4e7c2eSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_COMMON
2148c4e7c2eSPierre-Louis Bossart	tristate
215eb965e36SJeeja KP	select SND_HDA_EXT_CORE
21692eb4f62SJeeja KP	select SND_HDA_DSP_LOADER
2173af36706SVinod Koul	select SND_SOC_TOPOLOGY
218b81fd263SSubhransu S. Prusty	select SND_SOC_INTEL_SST
2198c4e7c2eSPierre-Louis Bossart	select SND_SOC_HDAC_HDA if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC
220c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
22137638af8SPierre-Louis Bossart	select SND_INTEL_NHLT if ACPI
222c6059879SPierre-Louis Bossart	help
223c6059879SPierre-Louis Bossart	  If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/
224c6059879SPierre-Louis Bossart	  GeminiLake or CannonLake platform with the DSP enabled in the BIOS
225c6059879SPierre-Louis Bossart	  then enable this option by saying Y or m.
226c6059879SPierre-Louis Bossart
22735bc99aaSPierre-Louis Bossartendif ## SND_SOC_INTEL_SKYLAKE_FAMILY
2288c4e7c2eSPierre-Louis Bossart
229e6b140e9SPierre-Louis Bossartendif ## SND_SOC_INTEL_SST_TOPLEVEL
230e6b140e9SPierre-Louis Bossart
231e6b140e9SPierre-Louis Bossartif SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
232e6b140e9SPierre-Louis Bossart
233c6059879SPierre-Louis Bossartconfig SND_SOC_ACPI_INTEL_MATCH
234c6059879SPierre-Louis Bossart	tristate
235c6059879SPierre-Louis Bossart	select SND_SOC_ACPI if ACPI
236c6059879SPierre-Louis Bossart	# this option controls the compilation of ACPI matching tables and
237c6059879SPierre-Louis Bossart	# helpers and is not meant to be selected by the user.
238c6059879SPierre-Louis Bossart
239e6b140e9SPierre-Louis Bossartendif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
240e6b140e9SPierre-Louis Bossart
241624729fdSOmair M Abdullah
242ea2851bdSPierre-Louis Bossart# ASoC codec drivers
243ea2851bdSPierre-Louis Bossartsource "sound/soc/intel/boards/Kconfig"
244