summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>2019-03-19 13:49:30 -0400
committerMark Brown <broonie@kernel.org>2019-03-21 10:50:08 -0400
commit41d176d3ec147f499614adc773080f244d47e3cd (patch)
tree641370c517be1543e92fd7cf3bfba9891498d9dd
parentd151cf89a47666622425ff093ee97e15587acd9a (diff)
ASoC: da7219: Update DAI clock binding info to cover WCLK/BCLK
With the need to expose WCLK and BCLK as separate clocks, the 'clock-cells' and 'clock-output-names' descriptions need to be updated as now the codec is providing 2 clocks. The example is also updated accordingly. Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/sound/da7219.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/sound/da7219.txt b/Documentation/devicetree/bindings/sound/da7219.txt
index e9d0baeb94e2..add1caf26ac2 100644
--- a/Documentation/devicetree/bindings/sound/da7219.txt
+++ b/Documentation/devicetree/bindings/sound/da7219.txt
@@ -23,8 +23,8 @@ Optional properties:
23 interrupt is to be used to wake system, otherwise "irq" should be used. 23 interrupt is to be used to wake system, otherwise "irq" should be used.
24- wakeup-source: Flag to indicate this device can wake system (suspend/resume). 24- wakeup-source: Flag to indicate this device can wake system (suspend/resume).
25 25
26- #clock-cells : Should be set to '<0>', only one clock source provided; 26- #clock-cells : Should be set to '<1>', two clock sources provided;
27- clock-output-names : Name given for DAI clocks output; 27- clock-output-names : Names given for DAI clock outputs (WCLK & BCLK);
28 28
29- clocks : phandle and clock specifier for codec MCLK. 29- clocks : phandle and clock specifier for codec MCLK.
30- clock-names : Clock name string for 'clocks' attribute, should be "mclk". 30- clock-names : Clock name string for 'clocks' attribute, should be "mclk".
@@ -84,8 +84,8 @@ Example:
84 VDDMIC-supply = <&reg_audio>; 84 VDDMIC-supply = <&reg_audio>;
85 VDDIO-supply = <&reg_audio>; 85 VDDIO-supply = <&reg_audio>;
86 86
87 #clock-cells = <0>; 87 #clock-cells = <1>;
88 clock-output-names = "dai-clks"; 88 clock-output-names = "dai-wclk", "dai-bclk";
89 89
90 clocks = <&clks 201>; 90 clocks = <&clks 201>;
91 clock-names = "mclk"; 91 clock-names = "mclk";