xref: /openbmc/linux/sound/soc/sof/mediatek/Kconfig (revision 2dd6532e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2
3config SND_SOC_SOF_MTK_TOPLEVEL
4	bool "SOF support for MTK audio DSPs"
5	depends on ARM64 || COMPILE_TEST
6	depends on SND_SOC_SOF_OF
7	help
8	  This adds support for Sound Open Firmware for Mediatek platforms.
9	  It is top level for all mediatek platforms.
10	  Say Y if you have such a device.
11	  If unsure select "N".
12
13if SND_SOC_SOF_MTK_TOPLEVEL
14config SND_SOC_SOF_MTK_COMMON
15	tristate
16	select SND_SOC_SOF_OF_DEV
17	select SND_SOC_SOF
18	select SND_SOC_SOF_XTENSA
19	select SND_SOC_SOF_COMPRESS
20	help
21	  This option is not user-selectable but automagically handled by
22	  'select' statements at a higher level
23
24config SND_SOC_SOF_MT8186
25	tristate "SOF support for MT8186 audio DSP"
26	select SND_SOC_SOF_MTK_COMMON
27	depends on MTK_ADSP_IPC
28	help
29	  This adds support for Sound Open Firmware for Mediatek platforms
30	  using the mt8186 processors.
31	  Say Y if you have such a device.
32	  If unsure select "N".
33
34config SND_SOC_SOF_MT8195
35	tristate "SOF support for MT8195 audio DSP"
36	select SND_SOC_SOF_MTK_COMMON
37	depends on MTK_ADSP_IPC
38	help
39	  This adds support for Sound Open Firmware for Mediatek platforms
40	  using the mt8195 processors.
41	  Say Y if you have such a device.
42	  If unsure select "N".
43
44endif ## SND_SOC_SOF_MTK_TOPLEVEL
45