Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Adam Thomson and committed by
Mark Brown
41d176d3 d151cf89

+4 -4
+4 -4
Documentation/devicetree/bindings/sound/da7219.txt
··· 23 23 interrupt is to be used to wake system, otherwise "irq" should be used. 24 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; 27 - - clock-output-names : Name given for DAI clocks output; 26 + - #clock-cells : Should be set to '<1>', two clock sources provided; 27 + - clock-output-names : Names given for DAI clock outputs (WCLK & BCLK); 28 28 29 29 - clocks : phandle and clock specifier for codec MCLK. 30 30 - clock-names : Clock name string for 'clocks' attribute, should be "mclk". ··· 84 84 VDDMIC-supply = <&reg_audio>; 85 85 VDDIO-supply = <&reg_audio>; 86 86 87 - #clock-cells = <0>; 88 - clock-output-names = "dai-clks"; 87 + #clock-cells = <1>; 88 + clock-output-names = "dai-wclk", "dai-bclk"; 89 89 90 90 clocks = <&clks 201>; 91 91 clock-names = "mclk";