xref: /openbmc/linux/sound/soc/sof/imx/Kconfig (revision 150b2e86)
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	select SND_SOC_SOF_XTENSA
34	help
35	  This option is not user-selectable but automagically handled by
36	  'select' statements at a higher level
37
38config SND_SOC_SOF_IMX8M_SUPPORT
39	bool "SOF support for i.MX8M"
40	depends on IMX_DSP=y || IMX_DSP=SND_SOC_SOF_OF
41	help
42	  This adds support for Sound Open Firmware for NXP i.MX8M platforms
43	  Say Y if you have such a device.
44	  If unsure select "N".
45
46config SND_SOC_SOF_IMX8M
47	tristate
48	select SND_SOC_SOF_XTENSA
49	help
50	  This option is not user-selectable but automagically handled by
51	  'select' statements at a higher level
52
53endif ## SND_SOC_SOF_IMX_IMX_TOPLEVEL
54