aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/sof/imx/Kconfig
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2020-04-09 10:18:30 +0300
committerMark Brown <broonie@kernel.org>2020-04-15 23:28:06 +0100
commitafb93d716533ddef20fc70e626f7b43f204cb411 (patch)
tree415cf81cc70493d1c80c2781b89b67c0c122759b /sound/soc/sof/imx/Kconfig
parentASoC: SOF: imx: fix undefined reference issue (diff)
downloadwireguard-linux-afb93d716533ddef20fc70e626f7b43f204cb411.tar.xz
wireguard-linux-afb93d716533ddef20fc70e626f7b43f204cb411.zip
ASoC: SOF: imx: Add i.MX8M HW support
This adds skeleton support for the audio DSP hardware found on NXP i.MX8M platform. There is one notable difference between i.MX8M and i.MX8, which doesn't allow us to reuse HW support from imx8.c file designed for i.MX8: On i.MX8M resources (clocks, power, pinctrl, etc) are managed by the Linux kernel while on i.MX8 resources are managed by a separate System Controller Firmware. This makes the interface to those resources completely different. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://lore.kernel.org/r/20200409071832.2039-4-daniel.baluta@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/imx/Kconfig')
-rw-r--r--sound/soc/sof/imx/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/sound/soc/sof/imx/Kconfig b/sound/soc/sof/imx/Kconfig
index 9586635cf8ab..0e7964bf4448 100644
--- a/sound/soc/sof/imx/Kconfig
+++ b/sound/soc/sof/imx/Kconfig
@@ -14,6 +14,7 @@ if SND_SOC_SOF_IMX_TOPLEVEL
config SND_SOC_SOF_IMX_OF
def_tristate SND_SOC_SOF_OF
select SND_SOC_SOF_IMX8 if SND_SOC_SOF_IMX8_SUPPORT
+ select SND_SOC_SOF_IMX8M if SND_SOC_SOF_IMX8M_SUPPORT
help
This option is not user-selectable but automagically handled by
'select' statements at a higher level
@@ -33,4 +34,18 @@ config SND_SOC_SOF_IMX8
This option is not user-selectable but automagically handled by
'select' statements at a higher level
+config SND_SOC_SOF_IMX8M_SUPPORT
+ bool "SOF support for i.MX8M"
+ help
+ This adds support for Sound Open Firmware for NXP i.MX8M platforms
+ Say Y if you have such a device.
+ If unsure select "N".
+
+config SND_SOC_SOF_IMX8M
+ tristate
+ depends on IMX_DSP
+ help
+ This option is not user-selectable but automagically handled by
+ 'select' statements at a higher level
+
endif ## SND_SOC_SOF_IMX_IMX_TOPLEVEL