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