xref: /linux/sound/soc/intel/Kconfig (revision f3f2bb7a0ebf9d83229810f69a53fee2c0441b2c)
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 "Intel ASoC SST driver for Haswell/Broadwell"
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 "Intel ASoC SST driver for Baytrail (legacy)"
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 "Intel ASoC SST driver for PCI HiFi2 platforms (Medfield, Merrifield)"
77	depends on X86 && PCI
78	select SND_SST_IPC_PCI
79	select SND_SOC_COMPRESS
80	select SND_SOC_INTEL_COMMON
81	help
82	  If you have a Intel Medfield or Merrifield/Edison platform, then
83	  enable this option by saying Y or m. Distros will typically not
84	  enable this option: Medfield devices are not available to
85	  developers and while Merrifield/Edison can run a mainline kernel with
86	  limited functionality it will require a firmware file which
87	  is not in the standard firmware tree
88
89config SND_SST_ATOM_HIFI2_PLATFORM
90	tristate "Intel ASoC SST driver for ACPI HiFi2 platforms (Baytrail, Cherrytrail)"
91	depends on X86 && ACPI
92	select SND_SST_IPC_ACPI
93	select SND_SOC_COMPRESS
94	select SND_SOC_ACPI_INTEL_MATCH
95	select IOSF_MBI
96	help
97	  If you have a Intel Baytrail or Cherrytrail platform with an I2S
98	  codec, then enable this option by saying Y or m. This is a
99	  recommended option
100
101config SND_SOC_INTEL_SKYLAKE
102	tristate "Intel ASoC SST driver for SKL/BXT/KBL/GLK/CNL"
103	depends on PCI && ACPI
104	select SND_HDA_EXT_CORE
105	select SND_HDA_DSP_LOADER
106	select SND_SOC_TOPOLOGY
107	select SND_SOC_INTEL_SST
108	select SND_SOC_ACPI_INTEL_MATCH
109	help
110	  If you have a Intel Skylake/Broxton/ApolloLake/KabyLake/
111	  GeminiLake or CannonLake platform with the DSP enabled in the BIOS
112	  then enable this option by saying Y or m.
113
114config SND_SOC_ACPI_INTEL_MATCH
115	tristate
116	select SND_SOC_ACPI if ACPI
117	# this option controls the compilation of ACPI matching tables and
118	# helpers and is not meant to be selected by the user.
119
120endif ## SND_SOC_INTEL_SST_TOPLEVEL
121
122# ASoC codec drivers
123source "sound/soc/intel/boards/Kconfig"
124