xref: /linux/sound/soc/intel/Kconfig (revision 37638af8135c44e9c9e4b2744eadfd3839efc023)
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
104f6a118a8SPierre-Louis Bossart
105eb965e36SJeeja KPconfig SND_SOC_INTEL_SKYLAKE
10635bc99aaSPierre-Louis Bossart	tristate "All Skylake/SST Platforms"
107c6059879SPierre-Louis Bossart	depends on PCI && ACPI
1082c79eeb1SRandy Dunlap	depends on COMMON_CLK
10935bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKL
11035bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_APL
11135bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_KBL
11235bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_GLK
11335bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_CNL
11435bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_CFL
1158c4e7c2eSPierre-Louis Bossart	help
11635bc99aaSPierre-Louis Bossart          This is a backwards-compatible option to select all devices
11735bc99aaSPierre-Louis Bossart	  supported by the Intel SST/Skylake driver. This option is no
11835bc99aaSPierre-Louis Bossart	  longer recommended and will be deprecated when the SOF
11935bc99aaSPierre-Louis Bossart	  driver is introduced.  Distributions should explicitly
12035bc99aaSPierre-Louis Bossart	  select which platform uses this driver.
1218c4e7c2eSPierre-Louis Bossart
12235bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_SKL
12335bc99aaSPierre-Louis Bossart	tristate "Skylake Platforms"
12435bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1252c79eeb1SRandy Dunlap	depends on COMMON_CLK
12635bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
12735bc99aaSPierre-Louis Bossart	help
12835bc99aaSPierre-Louis Bossart	  If you have a Intel Skylake platform with the DSP enabled
12935bc99aaSPierre-Louis Bossart	  in the BIOS then enable this option by saying Y or m.
13035bc99aaSPierre-Louis Bossart
13135bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_APL
13235bc99aaSPierre-Louis Bossart	tristate "Broxton/ApolloLake Platforms"
13335bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1342c79eeb1SRandy Dunlap	depends on COMMON_CLK
13535bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
13635bc99aaSPierre-Louis Bossart	help
13735bc99aaSPierre-Louis Bossart	  If you have a Intel Broxton/ApolloLake platform with the DSP
13835bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
13935bc99aaSPierre-Louis Bossart
14035bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_KBL
14135bc99aaSPierre-Louis Bossart	tristate "Kabylake Platforms"
14235bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1432c79eeb1SRandy Dunlap	depends on COMMON_CLK
14435bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
14535bc99aaSPierre-Louis Bossart	help
14635bc99aaSPierre-Louis Bossart	  If you have a Intel Kabylake platform with the DSP
14735bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
14835bc99aaSPierre-Louis Bossart
14935bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_GLK
15035bc99aaSPierre-Louis Bossart	tristate "GeminiLake Platforms"
15135bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1522c79eeb1SRandy Dunlap	depends on COMMON_CLK
15335bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
15435bc99aaSPierre-Louis Bossart	help
15535bc99aaSPierre-Louis Bossart	  If you have a Intel GeminiLake platform with the DSP
15635bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
15735bc99aaSPierre-Louis Bossart
15835bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_CNL
15935bc99aaSPierre-Louis Bossart	tristate "CannonLake/WhiskyLake Platforms"
16035bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1612c79eeb1SRandy Dunlap	depends on COMMON_CLK
16235bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
16335bc99aaSPierre-Louis Bossart	help
16435bc99aaSPierre-Louis Bossart	  If you have a Intel CNL/WHL platform with the DSP
16535bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
16635bc99aaSPierre-Louis Bossart
16735bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_CFL
16835bc99aaSPierre-Louis Bossart	tristate "CoffeeLake Platforms"
16935bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1702c79eeb1SRandy Dunlap	depends on COMMON_CLK
17135bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
17235bc99aaSPierre-Louis Bossart	help
17335bc99aaSPierre-Louis Bossart	  If you have a Intel CoffeeLake platform with the DSP
17435bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
17535bc99aaSPierre-Louis Bossart
1765f740b24SEvan Greenconfig SND_SOC_INTEL_CML_H
1775f740b24SEvan Green	tristate "CometLake-H Platforms"
1785f740b24SEvan Green	depends on PCI && ACPI
1792c79eeb1SRandy Dunlap	depends on COMMON_CLK
1805f740b24SEvan Green	select SND_SOC_INTEL_SKYLAKE_FAMILY
1815f740b24SEvan Green	help
1825f740b24SEvan Green	  If you have a Intel CometLake-H platform with the DSP
1835f740b24SEvan Green	  enabled in the BIOS then enable this option by saying Y or m.
1845f740b24SEvan Green
1855f740b24SEvan Greenconfig SND_SOC_INTEL_CML_LP
1865f740b24SEvan Green	tristate "CometLake-LP Platforms"
1875f740b24SEvan Green	depends on PCI && ACPI
1882c79eeb1SRandy Dunlap	depends on COMMON_CLK
1895f740b24SEvan Green	select SND_SOC_INTEL_SKYLAKE_FAMILY
1905f740b24SEvan Green	help
1915f740b24SEvan Green	  If you have a Intel CometLake-LP platform with the DSP
1925f740b24SEvan Green	  enabled in the BIOS then enable this option by saying Y or m.
1935f740b24SEvan Green
19435bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_FAMILY
19535bc99aaSPierre-Louis Bossart	tristate
19635bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_COMMON
19735bc99aaSPierre-Louis Bossart
19835bc99aaSPierre-Louis Bossartif SND_SOC_INTEL_SKYLAKE_FAMILY
1998c4e7c2eSPierre-Louis Bossart
2008c4e7c2eSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_SSP_CLK
2018c4e7c2eSPierre-Louis Bossart	tristate
2028c4e7c2eSPierre-Louis Bossart
2038c4e7c2eSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC
2048c4e7c2eSPierre-Louis Bossart	bool "HDAudio codec support"
2058c4e7c2eSPierre-Louis Bossart	help
2068c4e7c2eSPierre-Louis Bossart	  If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/
2078c4e7c2eSPierre-Louis Bossart	  GeminiLake or CannonLake platform with an HDaudio codec
2088c4e7c2eSPierre-Louis Bossart	  then enable this option by saying Y
2098c4e7c2eSPierre-Louis Bossart
2108c4e7c2eSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_COMMON
2118c4e7c2eSPierre-Louis Bossart	tristate
212eb965e36SJeeja KP	select SND_HDA_EXT_CORE
21392eb4f62SJeeja KP	select SND_HDA_DSP_LOADER
2143af36706SVinod Koul	select SND_SOC_TOPOLOGY
215b81fd263SSubhransu S. Prusty	select SND_SOC_INTEL_SST
2168c4e7c2eSPierre-Louis Bossart	select SND_SOC_HDAC_HDA if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC
217c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
218*37638af8SPierre-Louis Bossart	select SND_INTEL_NHLT if ACPI
219c6059879SPierre-Louis Bossart	help
220c6059879SPierre-Louis Bossart	  If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/
221c6059879SPierre-Louis Bossart	  GeminiLake or CannonLake platform with the DSP enabled in the BIOS
222c6059879SPierre-Louis Bossart	  then enable this option by saying Y or m.
223c6059879SPierre-Louis Bossart
22435bc99aaSPierre-Louis Bossartendif ## SND_SOC_INTEL_SKYLAKE_FAMILY
2258c4e7c2eSPierre-Louis Bossart
226e6b140e9SPierre-Louis Bossartendif ## SND_SOC_INTEL_SST_TOPLEVEL
227e6b140e9SPierre-Louis Bossart
228e6b140e9SPierre-Louis Bossartif SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
229e6b140e9SPierre-Louis Bossart
230c6059879SPierre-Louis Bossartconfig SND_SOC_ACPI_INTEL_MATCH
231c6059879SPierre-Louis Bossart	tristate
232c6059879SPierre-Louis Bossart	select SND_SOC_ACPI if ACPI
233c6059879SPierre-Louis Bossart	# this option controls the compilation of ACPI matching tables and
234c6059879SPierre-Louis Bossart	# helpers and is not meant to be selected by the user.
235c6059879SPierre-Louis Bossart
236e6b140e9SPierre-Louis Bossartendif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
237e6b140e9SPierre-Louis Bossart
238624729fdSOmair M Abdullah
239ea2851bdSPierre-Louis Bossart# ASoC codec drivers
240ea2851bdSPierre-Louis Bossartsource "sound/soc/intel/boards/Kconfig"
241