[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210903145340.225511-1-daniel.baluta@oss.nxp.com>
Date: Fri, 3 Sep 2021 17:53:38 +0300
From: Daniel Baluta <daniel.baluta@....nxp.com>
To: broonie@...nel.org, pierre-louis.bossart@...ux.intel.com,
lgirdwood@...il.com, robh+dt@...nel.org,
ranjani.sridharan@...ux.intel.com, kai.vehmanen@...ux.intel.com
Cc: devicetree@...r.kernel.org, shawnguo@...nel.org,
kernel@...gutronix.de, festevam@...il.com, linux-imx@....com,
peter.ujfalusi@...ux.intel.com, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, s-anna@...com,
Daniel Baluta <daniel.baluta@....com>
Subject: [PATCH v2 0/2] Add code to manage DSP related clocks
From: Daniel Baluta <daniel.baluta@....com>
This code is based on top of SOF topic/sof-dev branch and we want
to have a review with ALSA and Device Tree communities then it will be merged
to SOF tree and then merged into ALSA tree.
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.
Changes since v1:
- used clk bulk API as suggested by mark
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 | 44 +++++++++++++++++++
sound/soc/sof/imx/imx-common.h | 13 ++++++
sound/soc/sof/imx/imx8.c | 37 ++++++++++++++++
sound/soc/sof/imx/imx8m.c | 34 ++++++++++++++
5 files changed, 161 insertions(+)
--
2.27.0
Powered by blists - more mailing lists