Skip to content

Add mclk0 clock source for SAI

Daniel Baluta alsa-devel linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: dts: imx: Add mclk0 clock for SAIarch/arm/boot/dts/imx6sx.dtsi arch/arm/boot/dts/imx6ul.dtsi arch/arm/boot/dts/imx7s.dtsi+16 -81 reply
2/3dt-bindings: sound: Clarify the usage of clocks in SAIDocumentation/devicetree/bindings/sound/fsl-sai.txt+3 -21 reply
3/3ASoC: fsl_sai: Read SAI clock source 0 from DTsound/soc/fsl/fsl_sai.c+1 -20 replies

Reviews trailers per patch

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

PatchRob Herring
1/3
2/3R-b
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] Add mclk0 clock source for SAI

This patch series brings together patches [1] and [2] which introduce mclk0 clock source via DT.

mclk0..3 are the four clock sources options
of SAI's clock MUX.

mclk0 option selects:
- Bus Clock on i.MX8
- MCLK1 on i.MX6/7

Finally we also update the DT binding information for SAI clocks.

In [1] and [2] Nicolin had a very good point on the fact that mclk0 might not be needed in the DT. Anyhow, there are two reasons for which I think mlck0 should be added to DT:

1) SAI clock source select MUX is really part of the hardware
2) flexibility! We let DT tell us which is the option for MUX option 0.

[1] lkml.org/lkml/2019/4/20/141
[2] lkml.org/lkml/2019/4/20/56

Daniel Baluta (2):
dt-bindings: sound: Clarify the usage of clocks in SAI
ASoC: fsl_sai: Read SAI clock source 0 from DT

Shengjiu Wang (1):
ARM: dts: imx: Add mclk0 clock for SAI

 Documentation/devicetree/bindings/sound/fsl-sai.txt | 5 +++--
 arch/arm/boot/dts/imx6sx.dtsi                       | 6 ++++--
 arch/arm/boot/dts/imx6ul.dtsi                       | 9 ++++++---
 arch/arm/boot/dts/imx7s.dtsi                        | 9 ++++++---
 sound/soc/fsl/fsl_sai.c                             | 3 +--
 5 files changed, 20 insertions(+), 12 deletions(-)
Signature · 1 line
2.17.1