summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2020-10-07 11:57:15 +0300
committerDaniel Baluta <daniel.baluta@nxp.com>2020-10-07 11:57:15 +0300
commitabd6613785ec7ce35201cbf37464822ee4d9dcaf (patch)
treeb11a110e65910a2fa0d29de2f1ef6467227d754d /sound/soc
parent2cc8fc5c0de670bc26c2dd5ea4442336e29d517d (diff)
MLK-24615-1 ASoC: SOF: imx8m: Add DAI clocks handling
We move clocks handling from FSL DAI generic driver to IMX specific driver as per discussion with upstream community. With this patch, FSL DAI generic driver is no longer used and will be removed. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/sof/imx/imx8m.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sound/soc/sof/imx/imx8m.c b/sound/soc/sof/imx/imx8m.c
index a081633ac376..15cd6db78d5d 100644
--- a/sound/soc/sof/imx/imx8m.c
+++ b/sound/soc/sof/imx/imx8m.c
@@ -44,13 +44,17 @@
#define IMX8M_DAP_PWRCTL (0x4000 + 0x3020)
#define IMX8M_PWRCTL_CORERESET BIT(16)
-#define IMX8M_DSP_CLK_NUM 5
+#define IMX8M_DSP_CLK_NUM 9
static const char *imx8m_dsp_clks[IMX8M_DSP_CLK_NUM] = {
"ocram",
"core",
"debug",
"sdma3",
- "sai3_ipg",
+ "sai3_bus",
+ "sai3_mclk0",
+ "sai3_mclk1",
+ "sai3_mclk2",
+ "sai3_mclk3",
};
struct imx8m_priv {