xref: /linux/sound/soc/sof/imx/Kconfig (revision c79c3c34f75d72a066e292b10aa50fc758c97c89)
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_IMX_COMMON
23	tristate
24	help
25	  This option is not user-selectable but automagically handled by
26	  'select' statements at a higher level.
27
28config SND_SOC_SOF_IMX8_SUPPORT
29	bool "SOF support for i.MX8"
30	depends on IMX_SCU=y || IMX_SCU=SND_SOC_SOF_IMX_OF
31	depends on IMX_DSP=y || IMX_DSP=SND_SOC_SOF_IMX_OF
32	help
33	  This adds support for Sound Open Firmware for NXP i.MX8 platforms.
34	  Say Y if you have such a device.
35	  If unsure select "N".
36
37config SND_SOC_SOF_IMX8
38	tristate
39	select SND_SOC_SOF_IMX_COMMON
40	select SND_SOC_SOF_XTENSA
41	help
42	  This option is not user-selectable but automagically handled by
43	  'select' statements at a higher level.
44
45config SND_SOC_SOF_IMX8M_SUPPORT
46	bool "SOF support for i.MX8M"
47	depends on IMX_DSP=y || IMX_DSP=SND_SOC_SOF_OF
48	help
49	  This adds support for Sound Open Firmware for NXP i.MX8M platforms.
50	  Say Y if you have such a device.
51	  If unsure select "N".
52
53config SND_SOC_SOF_IMX8M
54	tristate
55	select SND_SOC_SOF_IMX_COMMON
56	select SND_SOC_SOF_XTENSA
57	help
58	  This option is not user-selectable but automagically handled by
59	  'select' statements at a higher level.
60
61endif ## SND_SOC_SOF_IMX_IMX_TOPLEVEL
62