xref: /linux/sound/soc/intel/Kconfig (revision 3fd6c59042dbba50391e30862beac979491145fe)
1# SPDX-License-Identifier: GPL-2.0-only
2config SND_SOC_INTEL_SST_TOPLEVEL
3	bool "Intel ASoC SST drivers"
4	default y
5	depends on X86 || COMPILE_TEST
6	select SND_SOC_INTEL_MACH
7	help
8	  Intel ASoC SST Platform Drivers. If you have a Intel machine that
9	  has an audio controller with a DSP and I2S or DMIC port, then
10	  enable this option by saying Y
11
12	  Note that the answer to this question doesn't directly affect the
13	  kernel: saying N will just cause the configurator to skip all
14	  the questions about Intel SST drivers.
15
16if SND_SOC_INTEL_SST_TOPLEVEL
17
18config SND_SOC_INTEL_CATPT
19	tristate "Haswell and Broadwell"
20	depends on ACPI || COMPILE_TEST
21	depends on DMADEVICES && SND_DMA_SGBUF
22	select DW_DMAC_CORE
23	select SND_SOC_ACPI if ACPI
24	select WANT_DEV_COREDUMP
25	select SND_INTEL_DSP_CONFIG
26	help
27	  Enable support for Intel(R) Haswell and Broadwell platforms
28	  with I2S codec present. This is a recommended option.
29	  Say Y or m if you have such device.
30	  If unsure, say N.
31
32config SND_SOC_INTEL_HASWELL
33	tristate
34	select SND_SOC_INTEL_CATPT
35
36config SND_SST_ATOM_HIFI2_PLATFORM
37	tristate
38	select SND_SOC_COMPRESS
39
40config SND_SST_ATOM_HIFI2_PLATFORM_PCI
41	tristate "PCI HiFi2 (Merrifield) Platforms"
42	depends on X86 && PCI
43	select SND_SST_ATOM_HIFI2_PLATFORM
44	help
45	  If you have a Intel Merrifield/Edison platform, then
46	  enable this option by saying Y or m. Distros will typically not
47	  enable this option: while Merrifield/Edison can run a mainline
48	  kernel with limited functionality it will require a firmware file
49	  which is not in the standard firmware tree
50
51config SND_SST_ATOM_HIFI2_PLATFORM_ACPI
52	tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms"
53	default ACPI
54	depends on X86 && ACPI && PCI
55	select SND_SST_ATOM_HIFI2_PLATFORM
56	select SND_SOC_ACPI_INTEL_MATCH
57	select SND_INTEL_DSP_CONFIG
58	select IOSF_MBI
59	help
60	  If you have a Intel Baytrail or Cherrytrail platform with an I2S
61	  codec, then enable this option by saying Y or m. This is a
62	  recommended option
63	  This option is mutually exclusive with the SOF support on
64	  Baytrail/Cherrytrail. If you want to enable SOF on
65	  Baytrail/Cherrytrail, you need to deselect this option first.
66
67endif ## SND_SOC_INTEL_SST_TOPLEVEL
68
69if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
70
71config SND_SOC_ACPI_INTEL_MATCH
72	tristate
73	select SND_SOC_ACPI if ACPI
74	select SND_SOC_ACPI_INTEL_SDCA_QUIRKS
75	# this option controls the compilation of ACPI matching tables and
76	# helpers and is not meant to be selected by the user.
77
78config SND_SOC_ACPI_INTEL_SDCA_QUIRKS
79	tristate
80	select SND_SOC_SDCA if ACPI
81
82endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
83
84config SND_SOC_INTEL_KEEMBAY
85	tristate "Keembay Platforms"
86	depends on ARCH_KEEMBAY || COMPILE_TEST
87	depends on COMMON_CLK
88	select SND_DMAENGINE_PCM
89	select SND_SOC_GENERIC_DMAENGINE_PCM
90	help
91	  If you have a Intel Keembay platform then enable this option
92	  by saying Y or m.
93
94config SND_SOC_INTEL_AVS
95	tristate "Intel AVS driver"
96	depends on X86 || COMPILE_TEST
97	depends on PCI
98	depends on COMMON_CLK
99	select ACPI_NHLT if ACPI
100	select SND_SOC_ACPI if ACPI
101	select SND_SOC_TOPOLOGY
102	select SND_SOC_HDA
103	select SND_SOC_COMPRESS if DEBUG_FS
104	select SND_HDA_EXT_CORE
105	select SND_HDA_DSP_LOADER
106	select SND_INTEL_DSP_CONFIG
107	select WANT_DEV_COREDUMP
108	help
109	  Enable support for Intel(R) cAVS 1.5 platforms with DSP
110	  capabilities. This includes Skylake, Kabylake, Amberlake and
111	  Apollolake.
112
113# Machine board drivers
114source "sound/soc/intel/avs/boards/Kconfig"
115
116# ASoC codec drivers
117source "sound/soc/intel/boards/Kconfig"
118