xref: /linux/sound/soc/intel/Kconfig (revision df5f5edaef4b653fa731dcf3753e71766f95c2cd)
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_SST
19	tristate
20
21config SND_SOC_INTEL_CATPT
22	tristate "Haswell and Broadwell"
23	depends on ACPI || COMPILE_TEST
24	depends on DMADEVICES && SND_DMA_SGBUF
25	select DW_DMAC_CORE
26	select SND_SOC_ACPI_INTEL_MATCH
27	help
28	  Enable support for Intel(R) Haswell and Broadwell platforms
29	  with I2S codec present. This is a recommended option.
30	  Say Y or m if you have such device.
31	  If unsure, say N.
32
33config SND_SOC_INTEL_HASWELL
34	tristate
35	select SND_SOC_INTEL_CATPT
36
37config SND_SST_ATOM_HIFI2_PLATFORM
38	tristate
39	select SND_SOC_COMPRESS
40
41config SND_SST_ATOM_HIFI2_PLATFORM_PCI
42	tristate "PCI HiFi2 (Merrifield) Platforms"
43	depends on X86 && PCI
44	select SND_SST_ATOM_HIFI2_PLATFORM
45	help
46	  If you have a Intel Merrifield/Edison platform, then
47	  enable this option by saying Y or m. Distros will typically not
48	  enable this option: while Merrifield/Edison can run a mainline
49	  kernel with limited functionality it will require a firmware file
50	  which is not in the standard firmware tree
51
52config SND_SST_ATOM_HIFI2_PLATFORM_ACPI
53	tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms"
54	default ACPI
55	depends on X86 && ACPI && PCI
56	select SND_SST_ATOM_HIFI2_PLATFORM
57	select SND_SOC_ACPI_INTEL_MATCH
58	select SND_INTEL_DSP_CONFIG
59	select IOSF_MBI
60	help
61	  If you have a Intel Baytrail or Cherrytrail platform with an I2S
62	  codec, then enable this option by saying Y or m. This is a
63	  recommended option
64	  This option is mutually exclusive with the SOF support on
65	  Baytrail/Cherrytrail. If you want to enable SOF on
66	  Baytrail/Cherrytrail, you need to deselect this option first.
67
68config SND_SOC_INTEL_SKYLAKE
69	tristate "All Skylake/SST Platforms"
70	depends on PCI && ACPI
71	depends on COMMON_CLK
72	select SND_SOC_INTEL_SKL
73	select SND_SOC_INTEL_APL
74	select SND_SOC_INTEL_KBL
75	select SND_SOC_INTEL_GLK
76	select SND_SOC_INTEL_CNL
77	select SND_SOC_INTEL_CFL
78	help
79	  This is a backwards-compatible option to select all devices
80	  supported by the Intel SST/Skylake driver. This option is no
81	  longer recommended and will be deprecated when the SOF
82	  driver is introduced.  Distributions should explicitly
83	  select which platform uses this driver.
84
85config SND_SOC_INTEL_SKL
86	tristate "Skylake Platforms"
87	depends on PCI && ACPI
88	depends on COMMON_CLK
89	select SND_SOC_INTEL_SKYLAKE_FAMILY
90	help
91	  If you have a Intel Skylake platform with the DSP enabled
92	  in the BIOS then enable this option by saying Y or m.
93
94config SND_SOC_INTEL_APL
95	tristate "Broxton/ApolloLake Platforms"
96	depends on PCI && ACPI
97	depends on COMMON_CLK
98	select SND_SOC_INTEL_SKYLAKE_FAMILY
99	help
100	  If you have a Intel Broxton/ApolloLake platform with the DSP
101	  enabled in the BIOS then enable this option by saying Y or m.
102
103config SND_SOC_INTEL_KBL
104	tristate "Kabylake Platforms"
105	depends on PCI && ACPI
106	depends on COMMON_CLK
107	select SND_SOC_INTEL_SKYLAKE_FAMILY
108	help
109	  If you have a Intel Kabylake platform with the DSP
110	  enabled in the BIOS then enable this option by saying Y or m.
111
112config SND_SOC_INTEL_GLK
113	tristate "GeminiLake Platforms"
114	depends on PCI && ACPI
115	depends on COMMON_CLK
116	select SND_SOC_INTEL_SKYLAKE_FAMILY
117	help
118	  If you have a Intel GeminiLake platform with the DSP
119	  enabled in the BIOS then enable this option by saying Y or m.
120
121config SND_SOC_INTEL_CNL
122	tristate "CannonLake/WhiskyLake Platforms"
123	depends on PCI && ACPI
124	depends on COMMON_CLK
125	select SND_SOC_INTEL_SKYLAKE_FAMILY
126	help
127	  If you have a Intel CNL/WHL platform with the DSP
128	  enabled in the BIOS then enable this option by saying Y or m.
129
130config SND_SOC_INTEL_CFL
131	tristate "CoffeeLake Platforms"
132	depends on PCI && ACPI
133	depends on COMMON_CLK
134	select SND_SOC_INTEL_SKYLAKE_FAMILY
135	help
136	  If you have a Intel CoffeeLake platform with the DSP
137	  enabled in the BIOS then enable this option by saying Y or m.
138
139config SND_SOC_INTEL_CML_H
140	tristate "CometLake-H Platforms"
141	depends on PCI && ACPI
142	depends on COMMON_CLK
143	select SND_SOC_INTEL_SKYLAKE_FAMILY
144	help
145	  If you have a Intel CometLake-H platform with the DSP
146	  enabled in the BIOS then enable this option by saying Y or m.
147
148config SND_SOC_INTEL_CML_LP
149	tristate "CometLake-LP Platforms"
150	depends on PCI && ACPI
151	depends on COMMON_CLK
152	select SND_SOC_INTEL_SKYLAKE_FAMILY
153	help
154	  If you have a Intel CometLake-LP platform with the DSP
155	  enabled in the BIOS then enable this option by saying Y or m.
156
157config SND_SOC_INTEL_SKYLAKE_FAMILY
158	tristate
159	select SND_SOC_INTEL_SKYLAKE_COMMON
160
161if SND_SOC_INTEL_SKYLAKE_FAMILY
162
163config SND_SOC_INTEL_SKYLAKE_SSP_CLK
164	tristate
165
166config SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC
167	bool "HDAudio codec support"
168	help
169	  If you have Intel Skylake or Kabylake with HDAudio codec
170	  and DMIC present then enable this option by saying Y.
171
172config SND_SOC_INTEL_SKYLAKE_COMMON
173	tristate
174	select SND_HDA_EXT_CORE
175	select SND_HDA_DSP_LOADER
176	select SND_SOC_TOPOLOGY
177	select SND_SOC_INTEL_SST
178	select SND_SOC_HDAC_HDA if SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC
179	select SND_SOC_ACPI_INTEL_MATCH
180	select SND_INTEL_DSP_CONFIG
181	help
182	  If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/
183	  GeminiLake or CannonLake platform with the DSP enabled in the BIOS
184	  then enable this option by saying Y or m.
185
186endif ## SND_SOC_INTEL_SKYLAKE_FAMILY
187
188endif ## SND_SOC_INTEL_SST_TOPLEVEL
189
190if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
191
192config SND_SOC_ACPI_INTEL_MATCH
193	tristate
194	select SND_SOC_ACPI if ACPI
195	# this option controls the compilation of ACPI matching tables and
196	# helpers and is not meant to be selected by the user.
197
198endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
199
200config SND_SOC_INTEL_KEEMBAY
201	tristate "Keembay Platforms"
202	depends on ARCH_KEEMBAY || COMPILE_TEST
203	depends on COMMON_CLK
204	help
205	  If you have a Intel Keembay platform then enable this option
206	  by saying Y or m.
207
208# ASoC codec drivers
209source "sound/soc/intel/boards/Kconfig"
210