[alsa-devel] [PATCH 2/2] ASoC: rsnd: add missing clocks/clock-names on Document

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Thu Apr 27 03:01:26 CEST 2017


Hi Geert

> > ---
> >  Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
> > index 3332910..13cb21d5 100644
> > --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
> > +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
> > @@ -368,6 +368,10 @@ Required properties:
> >                                   see below for detail.
> >  - #sound-dai-cells             : it must be 0 if your system is using single DAI
> >                                   it must be 1 if your system is using multi  DAI
> > +- clocks                       : References to SSI/SRC/MIX/CTU/DVC/AUDIO_CLK clocks.
> > +- clock-names                  : List of necessary clock names.
> > +                                 "ssi-all", "ssi.X", "src.X", "mix.X", "ctu.X",
> > +                                 "dvc.X", "clk_a", "clk_b", "clk_c", "clk_i"
> 
> Are all clock mandatory?
> r8a7778.dtsi doesn't have "ssi-all" and the mix, ctu, and dvc clocks.
> r8a7793.dtsi doesn't have the mix and ctu clocks.

It is case by case.
If DT has rcar_sound,ctu, it needs "ctu.X" clocks.
And driver doesn't care 1st clocs clock-name (= "ssi-all" here).

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list