xref: /linux/sound/soc/intel/Kconfig (revision 6cbfa11d2694b8a1e46d6834fb9705d5589e3ef1)
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
50*6cbfa11dSCezary Rojewskiconfig SND_SOC_INTEL_CATPT
51*6cbfa11dSCezary Rojewski	tristate "Haswell and Broadwell"
52*6cbfa11dSCezary Rojewski	depends on ACPI || COMPILE_TEST
53c6059879SPierre-Louis Bossart	depends on SND_DMA_SGBUF
54*6cbfa11dSCezary Rojewski	select DW_DMAC_CORE
55c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
56c6059879SPierre-Louis Bossart	help
57*6cbfa11dSCezary Rojewski	  Enable support for Intel(R) Haswell and Broadwell platforms
58*6cbfa11dSCezary Rojewski	  with I2S codec present. This is a recommended option.
59*6cbfa11dSCezary Rojewski	  Say Y or m if you have such device.
60*6cbfa11dSCezary Rojewski	  If unsure, say N.
61*6cbfa11dSCezary Rojewski
62*6cbfa11dSCezary Rojewskiconfig SND_SOC_INTEL_HASWELL
63*6cbfa11dSCezary Rojewski	tristate
64*6cbfa11dSCezary Rojewski	select SND_SOC_INTEL_CATPT
6590931b9eSLiam Girdwood
6620df8d03SJarkko Nikulaconfig SND_SOC_INTEL_BAYTRAIL
678fca1583SVinod Koul	tristate "Baytrail (legacy) Platforms"
68280393b7SPierre-Louis Bossart	depends on DMADEVICES && ACPI && SND_SST_ATOM_HIFI2_PLATFORM=n && SND_SOC_SOF_BAYTRAIL=n
69ebf79091SAndy Shevchenko	select SND_SOC_INTEL_SST
70f3f2bb7aSPierre-Louis Bossart	select SND_SOC_INTEL_SST_ACPI
71ebf79091SAndy Shevchenko	select SND_SOC_INTEL_SST_FIRMWARE
72c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
73c6059879SPierre-Louis Bossart	help
74c6059879SPierre-Louis Bossart	  If you have a Intel Baytrail platform connected to an I2S codec,
75c6059879SPierre-Louis Bossart	  then enable this option by saying Y or m. This was typically used
76c6059879SPierre-Louis Bossart	  for Baytrail Chromebooks but this option is now deprecated and is
77c6059879SPierre-Louis Bossart	  not recommended, use SND_SST_ATOM_HIFI2_PLATFORM instead.
7820df8d03SJarkko Nikula
7990619eb1SPierre-Louis Bossartconfig SND_SST_ATOM_HIFI2_PLATFORM
8090619eb1SPierre-Louis Bossart	tristate
8190619eb1SPierre-Louis Bossart	select SND_SOC_COMPRESS
8290619eb1SPierre-Louis Bossart
834772c16eSPierre-Louis Bossartconfig SND_SST_ATOM_HIFI2_PLATFORM_PCI
8490619eb1SPierre-Louis Bossart	tristate "PCI HiFi2 (Merrifield) Platforms"
854772c16eSPierre-Louis Bossart	depends on X86 && PCI
864772c16eSPierre-Louis Bossart	select SND_SST_IPC_PCI
8790619eb1SPierre-Louis Bossart	select SND_SST_ATOM_HIFI2_PLATFORM
884772c16eSPierre-Louis Bossart	help
8990619eb1SPierre-Louis Bossart	  If you have a Intel Merrifield/Edison platform, then
904772c16eSPierre-Louis Bossart	  enable this option by saying Y or m. Distros will typically not
9190619eb1SPierre-Louis Bossart	  enable this option: while Merrifield/Edison can run a mainline
9290619eb1SPierre-Louis Bossart	  kernel with limited functionality it will require a firmware file
9390619eb1SPierre-Louis Bossart	  which is not in the standard firmware tree
944772c16eSPierre-Louis Bossart
9590619eb1SPierre-Louis Bossartconfig SND_SST_ATOM_HIFI2_PLATFORM_ACPI
968fca1583SVinod Koul	tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms"
9790619eb1SPierre-Louis Bossart	default ACPI
98a3d90360SSinan Kaya	depends on X86 && ACPI && PCI
994772c16eSPierre-Louis Bossart	select SND_SST_IPC_ACPI
10090619eb1SPierre-Louis Bossart	select SND_SST_ATOM_HIFI2_PLATFORM
101c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
102f3f2bb7aSPierre-Louis Bossart	select IOSF_MBI
1034772c16eSPierre-Louis Bossart	help
1044772c16eSPierre-Louis Bossart	  If you have a Intel Baytrail or Cherrytrail platform with an I2S
1054772c16eSPierre-Louis Bossart	  codec, then enable this option by saying Y or m. This is a
1064772c16eSPierre-Louis Bossart	  recommended option
107df7257e5SPierre-Louis Bossart	  This option is mutually exclusive with the SOF support on
108df7257e5SPierre-Louis Bossart	  Baytrail/Cherrytrail. If you want to enable SOF on
109df7257e5SPierre-Louis Bossart	  Baytrail/Cherrytrail, you need to deselect this option first.
110f6a118a8SPierre-Louis Bossart
111eb965e36SJeeja KPconfig SND_SOC_INTEL_SKYLAKE
11235bc99aaSPierre-Louis Bossart	tristate "All Skylake/SST Platforms"
113c6059879SPierre-Louis Bossart	depends on PCI && ACPI
1142c79eeb1SRandy Dunlap	depends on COMMON_CLK
11535bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKL
11635bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_APL
11735bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_KBL
11835bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_GLK
11935bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_CNL
12035bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_CFL
1218c4e7c2eSPierre-Louis Bossart	help
12235bc99aaSPierre-Louis Bossart	  This is a backwards-compatible option to select all devices
12335bc99aaSPierre-Louis Bossart	  supported by the Intel SST/Skylake driver. This option is no
12435bc99aaSPierre-Louis Bossart	  longer recommended and will be deprecated when the SOF
12535bc99aaSPierre-Louis Bossart	  driver is introduced.  Distributions should explicitly
12635bc99aaSPierre-Louis Bossart	  select which platform uses this driver.
1278c4e7c2eSPierre-Louis Bossart
12835bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_SKL
12935bc99aaSPierre-Louis Bossart	tristate "Skylake Platforms"
13035bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1312c79eeb1SRandy Dunlap	depends on COMMON_CLK
13235bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
13335bc99aaSPierre-Louis Bossart	help
13435bc99aaSPierre-Louis Bossart	  If you have a Intel Skylake platform with the DSP enabled
13535bc99aaSPierre-Louis Bossart	  in the BIOS then enable this option by saying Y or m.
13635bc99aaSPierre-Louis Bossart
13735bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_APL
13835bc99aaSPierre-Louis Bossart	tristate "Broxton/ApolloLake Platforms"
13935bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1402c79eeb1SRandy Dunlap	depends on COMMON_CLK
14135bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
14235bc99aaSPierre-Louis Bossart	help
14335bc99aaSPierre-Louis Bossart	  If you have a Intel Broxton/ApolloLake platform with the DSP
14435bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
14535bc99aaSPierre-Louis Bossart
14635bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_KBL
14735bc99aaSPierre-Louis Bossart	tristate "Kabylake Platforms"
14835bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1492c79eeb1SRandy Dunlap	depends on COMMON_CLK
15035bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
15135bc99aaSPierre-Louis Bossart	help
15235bc99aaSPierre-Louis Bossart	  If you have a Intel Kabylake platform with the DSP
15335bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
15435bc99aaSPierre-Louis Bossart
15535bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_GLK
15635bc99aaSPierre-Louis Bossart	tristate "GeminiLake Platforms"
15735bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1582c79eeb1SRandy Dunlap	depends on COMMON_CLK
15935bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
16035bc99aaSPierre-Louis Bossart	help
16135bc99aaSPierre-Louis Bossart	  If you have a Intel GeminiLake platform with the DSP
16235bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
16335bc99aaSPierre-Louis Bossart
16435bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_CNL
16535bc99aaSPierre-Louis Bossart	tristate "CannonLake/WhiskyLake Platforms"
16635bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1672c79eeb1SRandy Dunlap	depends on COMMON_CLK
16835bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
16935bc99aaSPierre-Louis Bossart	help
17035bc99aaSPierre-Louis Bossart	  If you have a Intel CNL/WHL platform with the DSP
17135bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
17235bc99aaSPierre-Louis Bossart
17335bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_CFL
17435bc99aaSPierre-Louis Bossart	tristate "CoffeeLake Platforms"
17535bc99aaSPierre-Louis Bossart	depends on PCI && ACPI
1762c79eeb1SRandy Dunlap	depends on COMMON_CLK
17735bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_FAMILY
17835bc99aaSPierre-Louis Bossart	help
17935bc99aaSPierre-Louis Bossart	  If you have a Intel CoffeeLake platform with the DSP
18035bc99aaSPierre-Louis Bossart	  enabled in the BIOS then enable this option by saying Y or m.
18135bc99aaSPierre-Louis Bossart
1825f740b24SEvan Greenconfig SND_SOC_INTEL_CML_H
1835f740b24SEvan Green	tristate "CometLake-H Platforms"
1845f740b24SEvan Green	depends on PCI && ACPI
1852c79eeb1SRandy Dunlap	depends on COMMON_CLK
1865f740b24SEvan Green	select SND_SOC_INTEL_SKYLAKE_FAMILY
1875f740b24SEvan Green	help
1885f740b24SEvan Green	  If you have a Intel CometLake-H platform with the DSP
1895f740b24SEvan Green	  enabled in the BIOS then enable this option by saying Y or m.
1905f740b24SEvan Green
1915f740b24SEvan Greenconfig SND_SOC_INTEL_CML_LP
1925f740b24SEvan Green	tristate "CometLake-LP Platforms"
1935f740b24SEvan Green	depends on PCI && ACPI
1942c79eeb1SRandy Dunlap	depends on COMMON_CLK
1955f740b24SEvan Green	select SND_SOC_INTEL_SKYLAKE_FAMILY
1965f740b24SEvan Green	help
1975f740b24SEvan Green	  If you have a Intel CometLake-LP platform with the DSP
1985f740b24SEvan Green	  enabled in the BIOS then enable this option by saying Y or m.
1995f740b24SEvan Green
20035bc99aaSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_FAMILY
20135bc99aaSPierre-Louis Bossart	tristate
20235bc99aaSPierre-Louis Bossart	select SND_SOC_INTEL_SKYLAKE_COMMON
20335bc99aaSPierre-Louis Bossart
20435bc99aaSPierre-Louis Bossartif SND_SOC_INTEL_SKYLAKE_FAMILY
2058c4e7c2eSPierre-Louis Bossart
2068c4e7c2eSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_SSP_CLK
2078c4e7c2eSPierre-Louis Bossart	tristate
2088c4e7c2eSPierre-Louis Bossart
2098c4e7c2eSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC
2108c4e7c2eSPierre-Louis Bossart	bool "HDAudio codec support"
2118c4e7c2eSPierre-Louis Bossart	help
212135ab457SPierre-Louis Bossart	  If you have Intel Skylake or Kabylake with HDAudio codec
213cc2d025aSCezary Rojewski	  and DMIC present then enable this option by saying Y.
2148c4e7c2eSPierre-Louis Bossart
2158c4e7c2eSPierre-Louis Bossartconfig SND_SOC_INTEL_SKYLAKE_COMMON
2168c4e7c2eSPierre-Louis Bossart	tristate
217eb965e36SJeeja KP	select SND_HDA_EXT_CORE
21892eb4f62SJeeja KP	select SND_HDA_DSP_LOADER
2193af36706SVinod Koul	select SND_SOC_TOPOLOGY
220b81fd263SSubhransu S. Prusty	select SND_SOC_INTEL_SST
2218c4e7c2eSPierre-Louis Bossart	select SND_SOC_HDAC_HDA if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC
222c6059879SPierre-Louis Bossart	select SND_SOC_ACPI_INTEL_MATCH
22382d9d54aSJaroslav Kysela	select SND_INTEL_DSP_CONFIG
224c6059879SPierre-Louis Bossart	help
225c6059879SPierre-Louis Bossart	  If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/
226c6059879SPierre-Louis Bossart	  GeminiLake or CannonLake platform with the DSP enabled in the BIOS
227c6059879SPierre-Louis Bossart	  then enable this option by saying Y or m.
228c6059879SPierre-Louis Bossart
22935bc99aaSPierre-Louis Bossartendif ## SND_SOC_INTEL_SKYLAKE_FAMILY
2308c4e7c2eSPierre-Louis Bossart
231e6b140e9SPierre-Louis Bossartendif ## SND_SOC_INTEL_SST_TOPLEVEL
232e6b140e9SPierre-Louis Bossart
233e6b140e9SPierre-Louis Bossartif SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
234e6b140e9SPierre-Louis Bossart
235c6059879SPierre-Louis Bossartconfig SND_SOC_ACPI_INTEL_MATCH
236c6059879SPierre-Louis Bossart	tristate
237c6059879SPierre-Louis Bossart	select SND_SOC_ACPI if ACPI
238c6059879SPierre-Louis Bossart	# this option controls the compilation of ACPI matching tables and
239c6059879SPierre-Louis Bossart	# helpers and is not meant to be selected by the user.
240c6059879SPierre-Louis Bossart
241e6b140e9SPierre-Louis Bossartendif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
242e6b140e9SPierre-Louis Bossart
243c544912bSSia Jee Hengconfig SND_SOC_INTEL_KEEMBAY
244c544912bSSia Jee Heng	tristate "Keembay Platforms"
245c544912bSSia Jee Heng	depends on ARM64 || COMPILE_TEST
246c544912bSSia Jee Heng	depends on COMMON_CLK
247c544912bSSia Jee Heng	help
248c544912bSSia Jee Heng	  If you have a Intel Keembay platform then enable this option
249c544912bSSia Jee Heng	  by saying Y or m.
250624729fdSOmair M Abdullah
251ea2851bdSPierre-Louis Bossart# ASoC codec drivers
252ea2851bdSPierre-Louis Bossartsource "sound/soc/intel/boards/Kconfig"
253