Skip to content

Add code to manage DSP related clocks

Daniel Baluta alsa-devel linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: SOF: imx: Add code to manage DSP related clockssound/soc/sof/imx/imx-common.c sound/soc/sof/imx/imx-common.h sound/soc/sof/imx/imx8.c +1 more+128 -01 reply
2/2dt-bindings: dsp: fsl: Add DSP optional clocks documentationDocumentation/devicetree/bindings/dsp/fsl,dsp.yaml+33 -05 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPierre-Louis Bossart
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add code to manage DSP related clocks

From: Daniel Baluta <[email protected]>

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(+)
Signature · 1 line
2.27.0