1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 config 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
8 This adds support for Sound Open Firmware for NXP i.MX platforms.
9 Say Y if you have such a device.
12 if SND_SOC_SOF_IMX_TOPLEVEL
14 config 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
19 This option is not user-selectable but automagically handled by
20 'select' statements at a higher level.
22 config SND_SOC_SOF_IMX_COMMON
25 This option is not user-selectable but automagically handled by
26 'select' statements at a higher level.
28 config 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
33 This adds support for Sound Open Firmware for NXP i.MX8 platforms.
34 Say Y if you have such a device.
37 config SND_SOC_SOF_IMX8
39 select SND_SOC_SOF_IMX_COMMON
40 select SND_SOC_SOF_XTENSA
42 This option is not user-selectable but automagically handled by
43 'select' statements at a higher level.
45 config SND_SOC_SOF_IMX8M_SUPPORT
46 bool "SOF support for i.MX8M"
47 depends on IMX_DSP=y || IMX_DSP=SND_SOC_SOF_OF
49 This adds support for Sound Open Firmware for NXP i.MX8M platforms.
50 Say Y if you have such a device.
53 config SND_SOC_SOF_IMX8M
55 select SND_SOC_SOF_IMX_COMMON
56 select SND_SOC_SOF_XTENSA
58 This option is not user-selectable but automagically handled by
59 'select' statements at a higher level.
61 endif ## SND_SOC_SOF_IMX_IMX_TOPLEVEL