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_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_IMX8
26	tristate "SOF support for i.MX8"
27	depends on IMX_SCU
28	depends on IMX_DSP
29	select SND_SOC_SOF_IMX_COMMON
30	help
31	  This adds support for Sound Open Firmware for NXP i.MX8 platforms.
32	  Say Y if you have such a device.
33	  If unsure select "N".
34
35config SND_SOC_SOF_IMX8M
36	tristate "SOF support for i.MX8M"
37	depends on IMX_DSP
38	select SND_SOC_SOF_IMX_COMMON
39	help
40	  This adds support for Sound Open Firmware for NXP i.MX8M platforms.
41	  Say Y if you have such a device.
42	  If unsure select "N".
43
44config SND_SOC_SOF_IMX8ULP
45	tristate "SOF support for i.MX8ULP"
46	depends on IMX_DSP
47	select SND_SOC_SOF_IMX_COMMON
48	help
49	  This adds support for Sound Open Firmware for NXP i.MX8ULP platforms.
50	  Say Y if you have such a device.
51	  If unsure select "N".
52
53endif ## SND_SOC_SOF_IMX_TOPLEVEL
54