Merge branch 'address-masking'
[linux-2.6-microblaze.git] / sound / soc / intel / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config 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
16 if SND_SOC_INTEL_SST_TOPLEVEL
17
18 config SND_SOC_INTEL_SST
19         tristate
20
21 config 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 if ACPI
27         select WANT_DEV_COREDUMP
28         select SND_INTEL_DSP_CONFIG
29         help
30           Enable support for Intel(R) Haswell and Broadwell platforms
31           with I2S codec present. This is a recommended option.
32           Say Y or m if you have such device.
33           If unsure, say N.
34
35 config SND_SOC_INTEL_HASWELL
36         tristate
37         select SND_SOC_INTEL_CATPT
38
39 config SND_SST_ATOM_HIFI2_PLATFORM
40         tristate
41         select SND_SOC_COMPRESS
42
43 config SND_SST_ATOM_HIFI2_PLATFORM_PCI
44         tristate "PCI HiFi2 (Merrifield) Platforms"
45         depends on X86 && PCI
46         select SND_SST_ATOM_HIFI2_PLATFORM
47         help
48           If you have a Intel Merrifield/Edison platform, then
49           enable this option by saying Y or m. Distros will typically not
50           enable this option: while Merrifield/Edison can run a mainline
51           kernel with limited functionality it will require a firmware file
52           which is not in the standard firmware tree
53
54 config SND_SST_ATOM_HIFI2_PLATFORM_ACPI
55         tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms"
56         default ACPI
57         depends on X86 && ACPI && PCI
58         select SND_SST_ATOM_HIFI2_PLATFORM
59         select SND_SOC_ACPI_INTEL_MATCH
60         select SND_INTEL_DSP_CONFIG
61         select IOSF_MBI
62         help
63           If you have a Intel Baytrail or Cherrytrail platform with an I2S
64           codec, then enable this option by saying Y or m. This is a
65           recommended option
66           This option is mutually exclusive with the SOF support on
67           Baytrail/Cherrytrail. If you want to enable SOF on
68           Baytrail/Cherrytrail, you need to deselect this option first.
69
70 endif ## SND_SOC_INTEL_SST_TOPLEVEL
71
72 if SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
73
74 config SND_SOC_ACPI_INTEL_MATCH
75         tristate
76         select SND_SOC_ACPI if ACPI
77         # this option controls the compilation of ACPI matching tables and
78         # helpers and is not meant to be selected by the user.
79
80 endif ## SND_SOC_INTEL_SST_TOPLEVEL || SND_SOC_SOF_INTEL_TOPLEVEL
81
82 config SND_SOC_INTEL_KEEMBAY
83         tristate "Keembay Platforms"
84         depends on ARCH_KEEMBAY || COMPILE_TEST
85         depends on COMMON_CLK
86         select SND_DMAENGINE_PCM
87         select SND_SOC_GENERIC_DMAENGINE_PCM
88         help
89           If you have a Intel Keembay platform then enable this option
90           by saying Y or m.
91
92 config SND_SOC_INTEL_AVS
93         tristate "Intel AVS driver"
94         depends on X86 || COMPILE_TEST
95         depends on PCI
96         depends on COMMON_CLK
97         select ACPI_NHLT if ACPI
98         select SND_SOC_ACPI if ACPI
99         select SND_SOC_TOPOLOGY
100         select SND_SOC_HDA
101         select SND_SOC_COMPRESS if DEBUG_FS
102         select SND_HDA_EXT_CORE
103         select SND_HDA_DSP_LOADER
104         select SND_INTEL_DSP_CONFIG
105         select WANT_DEV_COREDUMP
106         help
107           Enable support for Intel(R) cAVS 1.5 platforms with DSP
108           capabilities. This includes Skylake, Kabylake, Amberlake and
109           Apollolake.
110
111 # Machine board drivers
112 source "sound/soc/intel/avs/boards/Kconfig"
113
114 # ASoC codec drivers
115 source "sound/soc/intel/boards/Kconfig"