xref: /linux/sound/soc/intel/Kconfig (revision f5a0ea8936a640d8229d5219515141fc496ec5d8)
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	# this option controls the compilation of ACPI matching tables and
75	# helpers and is not meant to be selected by the user.
76
77endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
78
79config SND_SOC_INTEL_KEEMBAY
80	tristate "Keembay Platforms"
81	depends on ARCH_KEEMBAY || COMPILE_TEST
82	depends on COMMON_CLK
83	select SND_DMAENGINE_PCM
84	select SND_SOC_GENERIC_DMAENGINE_PCM
85	help
86	  If you have a Intel Keembay platform then enable this option
87	  by saying Y or m.
88
89config SND_SOC_INTEL_AVS
90	tristate "Intel AVS driver"
91	depends on X86 || COMPILE_TEST
92	depends on PCI
93	depends on COMMON_CLK
94	select ACPI_NHLT if ACPI
95	select SND_SOC_ACPI if ACPI
96	select SND_SOC_TOPOLOGY
97	select SND_SOC_HDA
98	select SND_SOC_COMPRESS if DEBUG_FS
99	select SND_HDA_EXT_CORE
100	select SND_HDA_DSP_LOADER
101	select SND_INTEL_DSP_CONFIG
102	select WANT_DEV_COREDUMP
103	help
104	  Enable support for Intel(R) cAVS 1.5 platforms with DSP
105	  capabilities. This includes Skylake, Kabylake, Amberlake and
106	  Apollolake.
107
108# Machine board drivers
109source "sound/soc/intel/avs/boards/Kconfig"
110
111# ASoC codec drivers
112source "sound/soc/intel/boards/Kconfig"
113