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