From: Daniel Baluta daniel.baluta@nxp.com
DSP node on the Linux kernel side must also take care of enabling DAI/DMA related clocks.
By design we choose to manage DAI/DMA clocks from the kernel side because of the architecture of some i.MX8 boards.
Clocks are handled by a special M4 core which runs a special firmware called SCFW (System Controler firmware).
This communicates with A cores running Linux via a special Messaging Unit and implements a custom API which is already implemented by the Linux kernel i.MX clocks implementation.
Note that these clocks are optional. We can use the DSP without them.
First patch was already sent to review on SOF Github: https://github.com/thesofproject/linux/pull/3131
Daniel Baluta (2): ASoC: SOF: imx: Add code to manage DSP related clocks dt-bindings: dsp: fsl: Add DSP optional clocks documentation
.../devicetree/bindings/dsp/fsl,dsp.yaml | 33 ++++++++ sound/soc/sof/imx/imx-common.c | 77 +++++++++++++++++++ sound/soc/sof/imx/imx-common.h | 16 ++++ sound/soc/sof/imx/imx8.c | 32 ++++++++ sound/soc/sof/imx/imx8m.c | 33 ++++++++ 5 files changed, 191 insertions(+)