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>
This commit is contained in:
Daniel Baluta 2020-10-07 11:57:15 +03:00
parent 2cc8fc5c0d
commit abd6613785

View File

@ -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 {