xref: /openbmc/linux/sound/soc/sof/mediatek/Kconfig (revision 25c2e591)
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_IPC3
19	select SND_SOC_SOF_XTENSA
20	select SND_SOC_SOF_COMPRESS
21	help
22	  This option is not user-selectable but automagically handled by
23	  'select' statements at a higher level
24
25config SND_SOC_SOF_MT8186
26	tristate "SOF support for MT8186 audio DSP"
27	select SND_SOC_SOF_MTK_COMMON
28	depends on MTK_ADSP_IPC
29	help
30	  This adds support for Sound Open Firmware for Mediatek platforms
31	  using the mt8186 processors.
32	  Say Y if you have such a device.
33	  If unsure select "N".
34
35config SND_SOC_SOF_MT8195
36	tristate "SOF support for MT8195 audio DSP"
37	select SND_SOC_SOF_MTK_COMMON
38	depends on MTK_ADSP_IPC
39	help
40	  This adds support for Sound Open Firmware for Mediatek platforms
41	  using the mt8195 processors.
42	  Say Y if you have such a device.
43	  If unsure select "N".
44
45endif ## SND_SOC_SOF_MTK_TOPLEVEL
46