xref: /openbmc/linux/sound/soc/sof/imx/Kconfig (revision 11c416e3)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
2
3config SND_SOC_SOF_IMX_TOPLEVEL
4	bool "SOF support for NXP i.MX 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 NXP i.MX platforms.
9	  Say Y if you have such a device.
10	  If unsure select "N".
11
12if SND_SOC_SOF_IMX_TOPLEVEL
13
14config SND_SOC_SOF_IMX_OF
15	def_tristate SND_SOC_SOF_OF
16	select SND_SOC_SOF_IMX8 if SND_SOC_SOF_IMX8_SUPPORT
17	select SND_SOC_SOF_IMX8M if SND_SOC_SOF_IMX8M_SUPPORT
18	help
19	  This option is not user-selectable but automagically handled by
20	  'select' statements at a higher level
21
22config SND_SOC_SOF_IMX8_SUPPORT
23	bool "SOF support for i.MX8"
24	depends on IMX_SCU=y || IMX_SCU=SND_SOC_SOF_IMX_OF
25	depends on IMX_DSP=y || IMX_DSP=SND_SOC_SOF_IMX_OF
26	help
27	  This adds support for Sound Open Firmware for NXP i.MX8 platforms
28	  Say Y if you have such a device.
29	  If unsure select "N".
30
31config SND_SOC_SOF_IMX8
32	tristate
33	help
34	  This option is not user-selectable but automagically handled by
35	  'select' statements at a higher level
36
37config SND_SOC_SOF_IMX8M_SUPPORT
38	bool "SOF support for i.MX8M"
39	depends on IMX_DSP=y || IMX_DSP=SND_SOC_SOF_OF
40	help
41	  This adds support for Sound Open Firmware for NXP i.MX8M platforms
42	  Say Y if you have such a device.
43	  If unsure select "N".
44
45config SND_SOC_SOF_IMX8M
46	tristate
47	help
48	  This option is not user-selectable but automagically handled by
49	  'select' statements at a higher level
50
51endif ## SND_SOC_SOF_IMX_IMX_TOPLEVEL
52