Skip to content

Commit 202acc5

Browse files
dbalutabroonie
authored andcommitted
ASoC: SOF: imx: Add i.MX8 HW support
Add support for the audio DSP hardware found on NXP i.MX8 platform. Signed-off-by: Daniel Baluta <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b9132b8 commit 202acc5

File tree

5 files changed

+422
-0
lines changed

5 files changed

+422
-0
lines changed

sound/soc/sof/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ config SND_SOC_SOF_PROBE_WORK_QUEUE
173173
When selected, the probe is handled in two steps, for example to
174174
avoid lockdeps if request_module is used in the probe.
175175

176+
source "sound/soc/sof/imx/Kconfig"
176177
source "sound/soc/sof/intel/Kconfig"
177178
source "sound/soc/sof/xtensa/Kconfig"
178179

sound/soc/sof/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ obj-$(CONFIG_SND_SOC_SOF_OF) += snd-sof-of.o
1818
obj-$(CONFIG_SND_SOC_SOF_PCI) += snd-sof-pci.o
1919

2020
obj-$(CONFIG_SND_SOC_SOF_INTEL_TOPLEVEL) += intel/
21+
obj-$(CONFIG_SND_SOC_SOF_IMX_TOPLEVEL) += imx/
2122
obj-$(CONFIG_SND_SOC_SOF_XTENSA) += xtensa/

sound/soc/sof/imx/Kconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2+
3+
config SND_SOC_SOF_IMX_TOPLEVEL
4+
bool "SOF support for NXP i.MX audio DSPs"
5+
depends on ARM64 && SND_SOC_SOF_OF || COMPILE_TEST
6+
help
7+
This adds support for Sound Open Firmware for NXP i.MX platforms.
8+
Say Y if you have such a device.
9+
If unsure select "N".
10+
11+
if SND_SOC_SOF_IMX_TOPLEVEL
12+
13+
config SND_SOC_SOF_IMX8
14+
tristate "SOF support for i.MX8"
15+
depends on IMX_SCU
16+
depends on IMX_DSP
17+
help
18+
This adds support for Sound Open Firmware for NXP i.MX8 platforms
19+
Say Y if you have such a device.
20+
If unsure select "N".
21+
22+
endif ## SND_SOC_SOF_IMX_IMX_TOPLEVEL

sound/soc/sof/imx/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
2+
snd-sof-imx8-objs := imx8.o
3+
4+
obj-$(CONFIG_SND_SOC_SOF_IMX8) += snd-sof-imx8.o

0 commit comments

Comments
 (0)