xref: /openbmc/linux/sound/soc/intel/Kconfig (revision ddc141e5)
1config SND_SOC_INTEL_SST_TOPLEVEL
2	bool "Intel ASoC SST drivers"
3	default y
4	depends on X86 || COMPILE_TEST
5	select SND_SOC_INTEL_MACH
6	help
7	  Intel ASoC SST Platform Drivers. If you have a Intel machine that
8	  has an audio controller with a DSP and I2S or DMIC port, then
9	  enable this option by saying Y
10
11	  Note that the answer to this question doesn't directly affect the
12	  kernel: saying N will just cause the configurator to skip all
13	  the questions about Intel SST drivers.
14
15if SND_SOC_INTEL_SST_TOPLEVEL
16
17config SND_SST_IPC
18	tristate
19	# This option controls the IPC core for HiFi2 platforms
20
21config SND_SST_IPC_PCI
22	tristate
23	select SND_SST_IPC
24	# This option controls the PCI-based IPC for HiFi2 platforms
25	#  (Medfield, Merrifield).
26
27config SND_SST_IPC_ACPI
28	tristate
29	select SND_SST_IPC
30	# This option controls the ACPI-based IPC for HiFi2 platforms
31	# (Baytrail, Cherrytrail)
32
33config SND_SOC_INTEL_SST_ACPI
34	tristate
35	# This option controls ACPI-based probing on
36	# Haswell/Broadwell/Baytrail legacy and will be set
37	# when these platforms are enabled
38
39config SND_SOC_INTEL_SST
40	tristate
41
42config SND_SOC_INTEL_SST_FIRMWARE
43	tristate
44	select DW_DMAC_CORE
45	# This option controls firmware download on
46	# Haswell/Broadwell/Baytrail legacy and will be set
47	# when these platforms are enabled
48
49config SND_SOC_INTEL_HASWELL
50	tristate "Haswell/Broadwell Platforms"
51	depends on SND_DMA_SGBUF
52	depends on DMADEVICES && ACPI
53	select SND_SOC_INTEL_SST
54	select SND_SOC_INTEL_SST_ACPI
55	select SND_SOC_INTEL_SST_FIRMWARE
56	select SND_SOC_ACPI_INTEL_MATCH
57	help
58	  If you have a Intel Haswell or Broadwell platform connected to
59	  an I2S codec, then enable this option by saying Y or m. This is
60	  typically used for Chromebooks. This is a recommended option.
61
62config SND_SOC_INTEL_BAYTRAIL
63	tristate "Baytrail (legacy) Platforms"
64	depends on DMADEVICES && ACPI
65	select SND_SOC_INTEL_SST
66	select SND_SOC_INTEL_SST_ACPI
67	select SND_SOC_INTEL_SST_FIRMWARE
68	select SND_SOC_ACPI_INTEL_MATCH
69	help
70	  If you have a Intel Baytrail platform connected to an I2S codec,
71	  then enable this option by saying Y or m. This was typically used
72	  for Baytrail Chromebooks but this option is now deprecated and is
73	  not recommended, use SND_SST_ATOM_HIFI2_PLATFORM instead.
74
75config SND_SST_ATOM_HIFI2_PLATFORM_PCI
76	tristate "PCI HiFi2 (Medfield, Merrifield) Platforms"
77	depends on X86 && PCI
78	select SND_SST_IPC_PCI
79	select SND_SOC_COMPRESS
80	help
81	  If you have a Intel Medfield or Merrifield/Edison platform, then
82	  enable this option by saying Y or m. Distros will typically not
83	  enable this option: Medfield devices are not available to
84	  developers and while Merrifield/Edison can run a mainline kernel with
85	  limited functionality it will require a firmware file which
86	  is not in the standard firmware tree
87
88config SND_SST_ATOM_HIFI2_PLATFORM
89	tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms"
90	depends on X86 && ACPI
91	select SND_SST_IPC_ACPI
92	select SND_SOC_COMPRESS
93	select SND_SOC_ACPI_INTEL_MATCH
94	select IOSF_MBI
95	help
96	  If you have a Intel Baytrail or Cherrytrail platform with an I2S
97	  codec, then enable this option by saying Y or m. This is a
98	  recommended option
99
100config SND_SOC_INTEL_SKYLAKE_SSP_CLK
101	tristate
102
103config SND_SOC_INTEL_SKYLAKE
104	tristate "SKL/BXT/KBL/GLK/CNL... Platforms"
105	depends on PCI && ACPI
106	select SND_HDA_EXT_CORE
107	select SND_HDA_DSP_LOADER
108	select SND_SOC_TOPOLOGY
109	select SND_SOC_INTEL_SST
110	select SND_SOC_ACPI_INTEL_MATCH
111	help
112	  If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/
113	  GeminiLake or CannonLake platform with the DSP enabled in the BIOS
114	  then enable this option by saying Y or m.
115
116config SND_SOC_ACPI_INTEL_MATCH
117	tristate
118	select SND_SOC_ACPI if ACPI
119	# this option controls the compilation of ACPI matching tables and
120	# helpers and is not meant to be selected by the user.
121
122endif ## SND_SOC_INTEL_SST_TOPLEVEL
123
124# ASoC codec drivers
125source "sound/soc/intel/boards/Kconfig"
126